You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jan Lahoda (JIRA)" <ji...@apache.org> on 2019/02/22 13:42:00 UTC

[jira] [Commented] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

    [ https://issues.apache.org/jira/browse/NETBEANS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775149#comment-16775149 ] 

Jan Lahoda commented on NETBEANS-2160:
--------------------------------------

Sorry, but not quite clear how to reproduce that. I.e. what do I need to do to see the problem? (I am running the NetBeans IDE on JDK 13 and used to run it on JDK 12, and also tried to create an empty RCP app, and never saw this, so unsure how to get this.)

 

Additionally, there is probably a different related exception printed before this one, that previous exception might be helpful as well.

 

Thanks!

 

> 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
>            Priority: Blocker
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists