Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

For general Protocase Designer questions. Anything and everything about Protocase Designer except support questions.

Moderators: Colin, dronne, mpyne, akirk, mrodden

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

When launching the application it just hangs.
I'm running a Ryzen 3800x paired with an AMD RX570 GPU

Tried the included JRE, openjdk8 and openjdk11 but I get the same error.

Here are the error logs:

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/local/lib/Protocase%20Designer/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
32 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 26 ms to scan 1 urls, producing 28 keys and 65 values 
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/local/lib/Protocase%20Designer/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/local/lib/Protocase%20Designer/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Any help would be welcome please

mpyne
Site Admin
Posts: 101
Joined: Mon Nov 14, 2016 11:15 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by mpyne »

Hello kevinkga,

This looks a like a graphic driver issue. From a quick google search it says if you upgrade Mesa it may fix it.

Matt

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

Thanks Matt. I did indeed upgrade the mesa libs and now when I launch it I get:

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/local/lib/Protocase%20Designer/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
But it doesn't get past the splash screen. It just sits there. Any advice?

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

Here is the debug log file

Code: Select all

<debug>@com.protocase.files.LoggerFiles.setupLogger  []
<debug>@com.protocase.files.LoggerFiles.setupLogger  [===============================]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [==== JDesigner version 5.1.0 - Jun23,20 ====]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [==   git branch 34fc5ba3cc3c7184b6d71d843f8489a9c878adcd   ==]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [==    Start at 20-07-08 16:34   ==]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [Os: Linux arch: amd64 version: 5.4.0-40-generic]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [Default Encoding: UTF-8]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [Total Memory: 252MB Free Memory: 226MB Max Memory: 4006MB]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [available processors: 16]
<debug>@com.protocase.files.LoggerFiles.setupLogger  []
<silly>@com.protocase.files.LoggerFiles.setupLogger  [Converting Inches to Points using dpi: 96]
<debug>@com.protocase.files.LoggerFiles.setupLogger  []
<debug>@com.protocase.files.LoggerFiles.setupLogger  [executable dir: /usr/local/lib/Protocase Designer]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [program data dir: /usr/local/share/Protocase Designer]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [library dir: /usr/local/share/Protocase Designer/library]
<debug>@com.protocase.files.LoggerFiles.setupLogger  [personal library: /home/kaubeelack/ProtocaseDesigner/UserLibrary]
<debug>@com.protocase.config.Config.readConfig  [failed to load config, going with default]
<debug>@com.protocase.config.Config.readConfig  [failed to load config, going with default]
<minor>@com.protocase.library.PartsManager.loadLibraries  []
<minor>@com.protocase.library.PartsManager.loadLibraries  [====>>>> loading library - ignore unless you have a problem with library <<<<====]
<minor>@com.protocase.library.PartsManager.loadLibraries  [====>>>> in which case you should unsuppress warnings<<<<====]
<minor>@com.protocase.library.PartsManager.loadLibraries  []
<error>@com.protocase.io.NativesLoader.initOcc  [Loading Occ natives from: /usr/local/lib/Protocase Designer/natives]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKTObjDRAW.so.7.3.0
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTObjDRAW.so.7.3.0: libTKDCAF.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKDCAF.so.7
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7: libTKViewerTest.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKDCAF.so
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so: libTKViewerTest.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKDCAF.so.7.3.0
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7.3.0: libTKViewerTest.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKTObjDRAW.so.7
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTObjDRAW.so.7: libTKDCAF.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.NativesLoader.soutFailedLibraries  [Failed loading libTKTObjDRAW.so
		/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKTObjDRAW.so: libTKDCAF.so.7: cannot open shared object file: No such file or directory]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<error>@com.protocase.io.svg.SVGReader.setBounds  [Error when getting the bounds of the  SVG document]
<error>@com.protocase.io.svg.SVGReader.setBounds  [null]
<minor>@com.protocase.library.PartsManager.loadLibraries  []
<minor>@com.protocase.library.PartsManager.loadLibraries  [====>>>> Done Loading Library <<<<====]
<minor>@com.protocase.library.PartsManager.loadLibraries  []
<silly>@com.protocase.library.PartsManager.loadLibraries  [root: /usr/local/share/Protocase Designer/library ver: 6]
<silly>@com.protocase.viewer.rendering.gl.decorations.GLDecorations.getDecorator  [Couldn't find a GLDecorator of type SELECTION]
<silly>@com.protocase.viewer.rendering.gl.decorations.GLDecorations.getDecorator  [Couldn't find a GLDecorator of type HOVER]
==== exception ====com.google.inject.ProvisionExceptionUnable to provision, see the following errors:

1) Error injecting constructor, java.lang.ClassCastException: class com.jogamp.nativewindow.DefaultGraphicsConfiguration cannot be cast to class com.jogamp.nativewindow.awt.AWTGraphicsConfiguration (com.jogamp.nativewindow.DefaultGraphicsConfiguration and com.jogamp.nativewindow.awt.AWTGraphicsConfiguration are in unnamed module of loader 'app')
  at com.protocase.designer.JDesigner.<init>(JDesigner.java:101)
  at com.protocase.designer.JDesigner.class(JDesigner.java:54)
  while locating com.protocase.designer.JDesigner

1 error--- stack trace ----java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.protocase.designer.JDesigner$$Lambda$11/0x000000080010f840@672d2b2b,notifier=null,catchExceptions=false,when=1594222480386] on sun.awt.X11.XToolkit@2b047350com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.ClassCastException: class com.jogamp.nativewindow.DefaultGraphicsConfiguration cannot be cast to class com.jogamp.nativewindow.awt.AWTGraphicsConfiguration (com.jogamp.nativewindow.DefaultGraphicsConfiguration and com.jogamp.nativewindow.awt.AWTGraphicsConfiguration are in unnamed module of loader 'app')
  at com.protocase.designer.JDesigner.<init>(JDesigner.java:101)
  at com.protocase.designer.JDesigner.class(JDesigner.java:54)
  while locating com.protocase.designer.JDesigner

1 error
	at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:226)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1053)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1086)
	at com.protocase.guice.Guicer.make(Guicer.java:18)
	at com.protocase.designer.JDesigner.lambda$main$1(JDesigner.java:404)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at com.protocase.viewer.EventQueueProxy.dispatchEvent(EventQueueProxy.java:40)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassCastException: class com.jogamp.nativewindow.DefaultGraphicsConfiguration cannot be cast to class com.jogamp.nativewindow.awt.AWTGraphicsConfiguration (com.jogamp.nativewindow.DefaultGraphicsConfiguration and com.jogamp.nativewindow.awt.AWTGraphicsConfiguration are in unnamed module of loader 'app')
	at com.jogamp.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1513)
	at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:609)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
	at java.desktop/javax.swing.JRootPane.addNotify(Unknown Source)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/java.awt.Window.addNotify(Unknown Source)
	at java.desktop/java.awt.Frame.addNotify(Unknown Source)
	at java.desktop/java.awt.Window.show(Unknown Source)
	at java.desktop/java.awt.Component.show(Unknown Source)
	at java.desktop/java.awt.Component.setVisible(Unknown Source)
	at java.desktop/java.awt.Window.setVisible(Unknown Source)
	at com.protocase.designer.JDesigner.showApplication(JDesigner.java:469)
	at com.protocase.designer.JDesigner.<init>(JDesigner.java:147)
	at com.protocase.designer.JDesigner$$FastClassByGuice$$75a8b3f5.newInstance(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1050)
	... 17 more

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

Could it be an issue with how the paths are being addressed for the files?

Code: Select all

$ ll /usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7
ls: cannot access '/usr/local/lib/Protocase': No such file or directory
ls: cannot access 'Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7': No such file or directory
$ ll "/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7"
-rw-r--r-- 1 root root 1044392 Jul  8 16:28 '/usr/local/lib/Protocase Designer/natives/occjava/linux-x86_64/libTKDCAF.so.7'

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

The following re-appeared in the logs, despite upgrading mesa.

Code: Select all

amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.

kevinkga
Posts: 6
Joined: Mon Jul 06, 2020 11:33 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by kevinkga »

I can confirm that I don't see these issues when running https://www.protocasedesigner.com/RELEA ... .8.5.3.deb

mpyne
Site Admin
Posts: 101
Joined: Mon Nov 14, 2016 11:15 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by mpyne »

Interesting. Maybe something happened in JOGL. We recently updated to support MAC.

I'll keep looking into it in the meantime.

Thanks for the heads up by the way.

Matt

mpyne
Site Admin
Posts: 101
Joined: Mon Nov 14, 2016 11:15 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by mpyne »

Our Linux build for 5.1.0 is back! Give it try and let me know how you fair.

Basic problem, if you are interested, we updated our opengl libraries to support latest version of MacOS and this caused the Linux build to break :(

For the fix the Linux build is using an older version for now.

Thanks for the patience!

Matt

Ti-Paul
Posts: 3
Joined: Fri May 07, 2021 8:31 am

Re: Protocase Designer 5.1.0 hangs on Fresh Ubuntu 20.04

Post by Ti-Paul »

Seems that the 5.4.8 version is still hanging with same debug/error log on Linux Mint 20.1...
I have the splash freezing and the logs report the exact same problem...

Post Reply