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

Artur Sonnenhohl commented on NETBEANS-2160:
--------------------------------------------

Hi Jan,

I'm attaching my messages.log, if i create an application from scratch with 
just a simple top component the problem doesn't happen.

Our project is very big and unfortunately i'm unable to share the source code, 
i also didn't identify the module responsible for the problem since the stack 
traces are pointing to any of my modules.

Me and all my coworkers are having the same problem, besides having tried with 
other OpenJDK builds, another problem we are having (NETBEANS-2088) is that 
nothing is being printed to the netbeans console when using a Netbeans Platform 
App with JDK 11, but if i create a simple Java Program using JDK 11 everything 
works fine.

Log: [^messages.log]

 

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
>         Attachments: messages.log
>
>
> 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: [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

Reply via email to