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.
Product Version: NetBeans IDE Dev (Build 200707171200) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Problem: View gets hung using cmd + ctrl + pg up Steps: -Open an XML schema -Use cmd + ctrl + pg down to cycle through source, schema, and design view (no problem) -Now use cmd + ctrl + pg down: the editor stops on schema view -Use the mouse to select another view and all keyboard actions cycle through very quickly. Work around: Only use cmd + ctrl + pg down to cycle
Can you please attach the thread-dump when it hangs. Also remove the keyword 'INCOMPLETE' when you attach the dump.
Hang was the wrong term so I changed the summary. Here is the terminal output when the problem occurs: java.lang.reflect.InvocationTargetException at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1060) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1034) at apple.awt.CAccessibility.getChildrenAndRoles(CAccessibility.java:707) Caused by: java.lang.NullPointerException at apple.awt.CAccessibility._addChildren(CAccessibility.java:742) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility.access$000(CAccessibility.java:17) at apple.awt.CAccessibility$42.run(CAccessibility.java:709) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1116) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) java.lang.reflect.InvocationTargetException at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1060) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1034) at apple.awt.CAccessibility.getChildrenAndRoles(CAccessibility.java:707) Caused by: java.lang.NullPointerException at apple.awt.CAccessibility._addChildren(CAccessibility.java:742) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility.access$000(CAccessibility.java:17) at apple.awt.CAccessibility$42.run(CAccessibility.java:709) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1116) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) java.lang.reflect.InvocationTargetException at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1060) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1034) at apple.awt.CAccessibility.getChildrenAndRoles(CAccessibility.java:707) Caused by: java.lang.NullPointerException at apple.awt.CAccessibility._addChildren(CAccessibility.java:742) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility._addChildren(CAccessibility.java:745) at apple.awt.CAccessibility.access$000(CAccessibility.java:17) at apple.awt.CAccessibility$42.run(CAccessibility.java:709) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1116) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Yeah, sounds like yet another Apple JDK issue. Becasue switching in Solaris or Windows just works fine.
I see that too, it works fine on Ubuntu Linux with JDK 6.
Also, confirmed as not an issue with Ubuntu and Java 1.5.0_11 so I think it is definitely Mac specific.
An issue has been filed against Apple JDK. The problem ID is: 5371768.
I'm not sure when this will get addressed by Mac JDK team. I'm updating the target milestone as 6.0, purely to make this issue evaluated.
Apple released an update to their JDK with the release of leopard (Mac OS 10.5) This update seams to have fixed this problem. System Info: Product Version: NetBeans IDE Dev (Build 200801160000) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)
Verified in 6.1 with latest JDK from Apple: Product Version: NetBeans IDE Dev (Build 200801160000) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)