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 110335 - [a11y]: Changing views via keyboard stops on schema view
Summary: [a11y]: Changing views via keyboard stops on schema view
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Model (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords: A11Y, JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2007-07-19 21:31 UTC by tonybeckham
Modified: 2008-01-16 18:07 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 tonybeckham 2007-07-19 21:31:28 UTC
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
Comment 1 Samaresh Panda 2007-07-19 23:19:34 UTC
Can you please attach the thread-dump when it hangs. Also remove the keyword 'INCOMPLETE' when you attach the dump.
Comment 2 tonybeckham 2007-07-20 00:18:42 UTC
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)
Comment 3 Samaresh Panda 2007-07-20 00:35:27 UTC
Yeah, sounds like yet another Apple JDK issue. Becasue switching in Solaris or Windows just works fine.
Comment 4 tonybeckham 2007-07-20 17:00:02 UTC
I see that too, it works fine on Ubuntu Linux with JDK 6.
Comment 5 tonybeckham 2007-07-20 17:12:26 UTC
Also, confirmed as not an issue with Ubuntu and Java 1.5.0_11 so I think it is definitely Mac specific.
Comment 6 Samaresh Panda 2007-07-31 01:08:23 UTC
An issue has been filed against Apple JDK. The problem ID is: 5371768.
Comment 7 Samaresh Panda 2007-08-14 19:47:29 UTC
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.
Comment 8 tonybeckham 2008-01-16 18:06:49 UTC
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)
Comment 9 tonybeckham 2008-01-16 18:07:22 UTC
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)