Skip to main content

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

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…

vm networking problem fixed

Over the weekend I upgraded to Windows 8.1, then discovered that networking for the virtual machines wouldn't work. Then I tried something incredibly simple and fixed the problem.

Checking the system I noticed that three VMware Windows services weren't running; VMnetDHCP, VMUSBArbService, and VMwareNatService. VMware Player allows you to install, remove, or fix an existing installation. I chose to try fixing the installation, and that fixed the problem. The services were re-installed/restarted, and the virtual machines had networking again.

Once network connectivity was established there was exactly one updated file for Ubuntu 13.10, a data file. This underscores how solid and finished the release was this time. Every other version of every other Linux installation I've ever dealt with has always been succeeded by boatloads of updates after the initial installation. But not this time.

Everything is working properly on my notebook. All's right with the world.

sony's pivotal mirrorless move

I'm a died-in-the-wool technologist, even when it comes to photography. I have always been fascinated with the technology that goes into manufacturing any camera, from the lenses (optics) through the mechanical construction, the electronics involved, and especially the chemistry of the film and the sophistication of the digital sensor. It's amazing that the camera can do all it's asked of it, regardless of manufacturer.

Of all the types of cameras that I've really taken an interest in, contemporary mirrorless (again, regardless of manufacturer) are the most interesting because of the challenging problems the scientists and engineers have had to solve in order to build a compact but highly functional camera. In particular I've followed the sensor advances over the years and watched image quality climb (especially with μ4:3rds) to exceed film and rival one another such that there's very little difference any more as you move from the smaller sensors such as 4:3r…