kuvalda4g commented on issue #4479:
URL: https://github.com/apache/netbeans/issues/4479#issuecomment-1552973368
Same error in Apache NetBeans 17 and OpenJDK 17.0.7+7-LTS. NetBeans won't
open any file.
java.lang.NullPointerException: Cannot invoke
"javax.swing.text.AttributeSet.getAttribute(Object)" because "as" is null
at org.netbeans.editor.Coloring.toFont(Coloring.java:795)
at org.netbeans.editor.Coloring.fromAttributeSet(Coloring.java:758)
at
com.junichi11.netbeans.modules.color.codes.preview.ui.DrawingPanel.updateColors(DrawingPanel.java:307)
at
com.junichi11.netbeans.modules.color.codes.preview.ui.DrawingPanel.<init>(DrawingPanel.java:108)
at
com.junichi11.netbeans.modules.color.codes.preview.ui.DrawingPanel.create(DrawingPanel.java:97)
at
com.junichi11.netbeans.modules.color.codes.preview.ui.ColorsSideBarPanel.<init>(ColorsSideBarPanel.java:32)
at
com.junichi11.netbeans.modules.color.codes.preview.ui.ColorsSideBarFactory.createSideBar(ColorsSideBarFactory.java:37)
at
org.netbeans.modules.editor.impl.CustomizableSideBar.createSideBarsMap(CustomizableSideBar.java:404)
at
org.netbeans.modules.editor.impl.CustomizableSideBar.getSideBarsInternal(CustomizableSideBar.java:180)
at
org.netbeans.modules.editor.impl.CustomizableSideBar.getSideBars(CustomizableSideBar.java:143)
at
org.netbeans.modules.editor.NbEditorUI.createExtComponent(NbEditorUI.java:263)
at org.netbeans.editor.EditorUI.getExtComponent(EditorUI.java:934)
at
org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:176)
at
org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:511)
at
org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
[catch] at
org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
at
org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
at
org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
at
org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1611)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.lambda$doEventRequest$1(NbMutexEventProvider.java:112)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists