[ https://issues.apache.org/jira/browse/NETBEANS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi updated NETBEANS-2160: -------------------------------------- Fix Version/s: (was: Next) 11.0 > Platform project runs with JDK 11.0.1 but not with JDK 11.0.2 > ------------------------------------------------------------- > > Key: NETBEANS-2160 > URL: https://issues.apache.org/jira/browse/NETBEANS-2160 > Project: NetBeans > Issue Type: Bug > Components: platform - Other > Affects Versions: 10.0, 11.0 > Reporter: Artur Sonnenhohl > Assignee: Jaroslav Tulach > Priority: Critical > Labels: pull-request-available > Fix For: 11.0 > > Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, > messages.log > > Time Spent: 0.5h > Remaining Estimate: 0h > > The attached app3.zip is reproducing the problem: > The problem is related to loading modules from the IDE cluster into Netbeans. > Error: > 1) Import app3.zip > 2) Compile and run the project hangs > Success: > 1) Import app3.zip > 2) Disable module External Execution Process into IDE cluster. > 3) Compile and run the project runs successfully. > > I think Netbeans is not detecting modules conflicts/dependencies, i don't > know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1. > > > > ==== > Our application based on the Netbeans Platform RCP isn't unable to boot > hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, > i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 > and JDK8 it runs perfectlly. > The error that happens is: > java.lang.ExceptionInInitializerError > at > org.netbeans.core.windows.view.ui.toolbars.DnDSupport.<clinit>(DnDSupport.java:95) > at > org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107) > at > org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287) > at > org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375) > at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220) > at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304) > at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276) > at > org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542) > at > org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517) > at > org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162) > at > org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250) > at > org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239) > at > org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176) > at > org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96) > at org.netbeans.core.windows.Central.setVisible(Central.java:115) > at > org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907) > at > org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80) > at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > 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) > Caused by: java.lang.RuntimeException: failed to load system cursor: > DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32 > at java.desktop/java.awt.dnd.DragSource.load(DragSource.java:137) > at java.desktop/java.awt.dnd.DragSource.<clinit>(DragSource.java:150) > ... 32 more > > ===== > One strange behavior that i identified is when i compile everything it hangs, > but after hanging if i just compile one module again it launches. > After launching it request me if i wish to install nb-javac into my platform > application. > > ===== > Im trying to understand if the problem is related to JDK 11.0.2 or the > Netbeans incompatibility with JDK 11 for platform applications. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists