This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249758 - Exception updating netbeans
Summary: Exception updating netbeans
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 15:39 UTC by scanti
Modified: 2015-07-13 12:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2015-01-12 15:39:12 UTC
A client of our had this exception.

Product Version         = studioSL 201310111528
  Operating System        = Windows 7 version 6.1 running on amd64
  Java; VM; Vendor        = 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_51-b13
  Java Home               = C:\Users\emmanuel1\Streamsim\studioSL-2014-win-x64\jre7
  System Locale; Encoding = en_GB (studiosl); Cp1252

Sorry no more information

java.lang.ArrayIndexOutOfBoundsException: 87 >= 0
	at java.util.Vector.elementAt(Unknown Source)
	at javax.swing.tree.DefaultMutableTreeNode.getChildAt(Unknown Source)
	at javax.swing.tree.DefaultTreeModel.getChild(Unknown Source)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
	at javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source)
	at javax.swing.tree.VariableHeightLayoutCache.setModel(Unknown Source)
	at javax.swing.plaf.basic.BasicTreeUI.configureLayoutCache(Unknown Source)
	at javax.swing.plaf.basic.BasicTreeUI.completeUIInstall(Unknown Source)
	at javax.swing.plaf.basic.BasicTreeUI.installUI(Unknown Source)
	at javax.swing.JComponent.setUI(Unknown Source)
	at javax.swing.JTree.setUI(Unknown Source)
	at javax.swing.JTree.updateUI(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
	at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source)
	at com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(Unknown Source)
	at com.sun.java.swing.plaf.windows.DesktopProperty.updateAllUIs(Unknown Source)
	at com.sun.java.swing.plaf.windows.DesktopProperty.access$000(Unknown Source)
	at com.sun.java.swing.plaf.windows.DesktopProperty$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1078)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1128)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1100)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:128)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1368)
	at org.openide.util.Mutex.readAccess(Mutex.java:278)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1085)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizard.implInvokeWizard(InstallUnitWizard.java:104)
	at org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizard.invokeWizard(InstallUnitWizard.java:83)
	at org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizard.invokeWizard(InstallUnitWizard.java:77)
	at org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizard.invokeWizard(InstallUnitWizard.java:73)
	at org.netbeans.modules.autoupdate.ui.UnitTab$UpdateAction.performerImpl(UnitTab.java:1304)
	at org.netbeans.modules.autoupdate.ui.UnitTab$TabAction.actionPerformed(UnitTab.java:1120)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Comment 1 Libor Fischmeistr 2015-03-30 08:21:20 UTC
Doesn't look like AU issue.
Comment 2 Antonin Nebuzelsky 2015-07-13 12:42:12 UTC
Probably caused in AU code by updating Swing model outside EQ thread. See similar reports, like issue 162997.

This bug is however filed against 7.4 and may be irrelevant if the code has been changed since then.