NetBeans Dev 4.2 Q Build - New problems crop up

After fixing the problem outlined here I ran Update Center and picked up quite a few interesting bits. I then allowed the system to restart itself, and when it did, I got Unexpected Exception: ArrayIndexOutOfBounds. What follows is the exception trace.

java.lang.ArrayIndexOutOfBoundsException: 0
at org.netbeans.core.windows.model.SplitSubModel.setSplitWeights(SplitSubModel.java:487)
at org.netbeans.core.windows.model.EditorSplitSubModel.setSplitWeights(EditorSplitSubModel.java:72)
at org.netbeans.core.windows.model.ModesSubModel.setSplitWeights(ModesSubModel.java:247)
at org.netbeans.core.windows.model.DefaultModel.setSplitWeights(DefaultModel.java:998)
at org.netbeans.core.windows.Central.userChangedSplit(Central.java:1527)
at org.netbeans.core.windows.view.ViewHelper.setSplitWeights(ViewHelper.java:239)
at org.netbeans.core.windows.view.DefaultView.userMovedSplit(DefaultView.java:711)
at org.netbeans.core.windows.view.SplitView$1.propertyChange(SplitView.java:139)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:341)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
at java.awt.Component.firePropertyChange(Component.java:7159)
at org.netbeans.core.windows.view.ui.MultiSplitPane.access$500(MultiSplitPane.java:49)
at org.netbeans.core.windows.view.ui.MultiSplitPane$MultiSplitLayout.layoutContainer(MultiSplitPane.java:605)
at java.awt.Container.layout(Container.java:1401)
at java.awt.Container.doLayout(Container.java:1390)
at java.awt.Container.validateTree(Container.java:1473)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validate(Container.java:1448)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


I got rid of the problem by, once again, removing the .netbeans/dev cache area. But this time I won't copy anything over. I'll just go back in by hand and set everything up, such as my projects and Runtime resources.

OK. I'm trying to add a project back in and I get the new dialog for locating a file or directory. I don't know about this new way of selecting items. Old habits die hard, and I keep wanting to use the mouse in the middle section to click down to the final target, but it doesn't work consistently. I do succeed via typing and tabbing (ala the bash shell). I remember reading about this new 'feature' hitting NetBeans Real Soon Now. I finally reach the project (swingx) and when I select it, I get another unexpected exception, NoClassDefFoundError. The text for that exception follows.

java.lang.NoClassDefFoundError: org/netbeans/modules/websvc/spi/webservices/WebServicesClientSupportImpl
at org.netbeans.modules.web.project.WebProjectType.createProject(WebProjectType.java:42)
at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject( AntBasedProjectFactorySingleton.java:165)
at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:319)
at org.netbeans.api.project.ProjectManager.access$700(ProjectManager.java:44)
at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:233)
at org.openide.util.Mutex.readAccess(Mutex.java:234)
at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:180)
at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner( SimpleFileOwnerQueryImplementation.java:68)
at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:68)
at org.netbeans.modules.projectapi.ProjectSharabilityQuery.getSharability(ProjectSharabilityQuery.java:36)
at org.netbeans.api.queries.SharabilityQuery.getSharability(SharabilityQuery.java:85)
at org.netbeans.modules.versioning.system.cvss.CvsVersioningSystem.isIgnored(CvsVersioningSystem.java:292)
at org.netbeans.modules.versioning.system.cvss.FileStatusCache.createFileInformation(FileStatusCache.java:423)
at org.netbeans.modules.versioning.system.cvss.FileStatusCache.scanFolder(FileStatusCache.java:369)
at org.netbeans.modules.versioning.system.cvss.FileStatusCache.getScannedFiles(FileStatusCache.java:332)
at org.netbeans.modules.versioning.system.cvss.FileStatusCache.getStatus(FileStatusCache.java:171)
at org.netbeans.modules.versioning.system.cvss.Annotator.annotateNameHtml(Annotator.java:158)
at org.netbeans.modules.versioning.system.cvss.FileStatusProvider.annotateNameHtml(FileStatusProvider.java:55)
at org.netbeans.modules.masterfs.MasterFileSystem$StatusImpl.annotateNameHtml(MasterFileSystem.java:461)
at org.netbeans.modules.java.j2seproject.ui.J2SEPhysicalViewProvider$J2SELogicalViewRootNode.getHtmlDisplayName( J2SEPhysicalViewProvider.java:340)
at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.getHtmlDisplayName(ProjectsRootNode.java:333)
at org.openide.explorer.view.VisualizerNode.getHtmlDisplayName(VisualizerNode.java:512)
at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:100)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2653)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getXOrigin(VariableHeightLayoutCache.java:1125)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getNodeBounds(VariableHeightLayoutCache.java:1108)
at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLayoutCache.java:202)
at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:501)
at javax.swing.plaf.basic.BasicTreeUI$Handler.focusGained(BasicTreeUI.java:3477)
at javax.swing.plaf.basic.BasicTreeUI$Handler.focusLost(BasicTreeUI.java:3487)
at java.awt.Component.processFocusEvent(Component.java:5380)
at org.openide.explorer.view.TreeView$ExplorerTree.processFocusEvent(TreeView.java:1529)
at java.awt.Component.processEvent(Component.java:5244)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:840)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:530)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.SentEvent.dispatch(SentEvent.java:50)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch( DefaultKeyboardFocusManager.java:161)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:188)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:595)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[catch] at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


Well, I've reached the point where I've uninstalled the Q build and I'm starting over again to see where that leads me. More in the next post.

Comments

Popular posts from this blog

A Decade Long Religious Con Job

Ten Reasons to Ignore Ten Reasons to Dump Windows and Use Linux

Former Eclipse user re-evaluates Eclipse 3.3M5