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 257572

Summary: Editor AccessibilityHelp broken
Product: editor Reporter: SirIntellegence
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: message.log
Example video

Description SirIntellegence 2016-01-14 18:40:42 UTC
(Note: bug severity rated from the view of a blind user.)
The property accessibilityHelp (view from Accessibility Inspector)for all Editor windows is:
   Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for Editor for 
(ad infinitum) and the accessibilityTile is "Editor for null". It is annoying to hear VoiceOver read what the window is for ("Editor for Editor for...") and would make it nigh impossible for a blind user to use Netbeans.
Comment 1 Milutin Kristofic 2016-07-28 13:19:36 UTC
Hi, can you please attach messages.log http://wiki.netbeans.org/FaqLogMessagesFile ? Is this happening always, or it happened just once? I checked in linux and also mac os for this. There is for each editor window Editor for filepath, maybe it happend on corrupted file or something like that.
Comment 2 SirIntellegence 2016-09-06 21:14:58 UTC
Created attachment 161932 [details]
message.log
Comment 3 SirIntellegence 2016-09-06 21:16:41 UTC
Created attachment 161933 [details]
Example video
Comment 4 Milutin Kristofic 2016-09-14 12:25:39 UTC
Ok, I will check this again in Mac OS X. There are NPE in messages.log 

java.lang.NullPointerException
	at sun.lwawt.macosx.CAccessibility._addChildren(CAccessibility.java:626)
	at sun.lwawt.macosx.CAccessibility.access$000(CAccessibility.java:38)
	at sun.lwawt.macosx.CAccessibility$33.call(CAccessibility.java:571)
	at sun.lwawt.macosx.CAccessibility$33.call(CAccessibility.java:568)
	at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


This is also reported in java https://bugs.openjdk.java.net/browse/JDK-8085799