Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FunkerHornsby

Pages: [1]
1
ENGLISH / Ancestris v12 100% CPU with openjdk21 ; openjdk11 is ok
« on: October 19, 2023, 09:58:17 »
Hello,

when I start Ancestris v12 with openjdk v21. I get 100% of CPU usage; with openjdk v11 the CPU usage is  below 10%.
Trying openjdk v17 gives also 100% CPU usage.
Working with Ancestris is possible but the CPU usage remains at 100%.

The cpu usage is measured with the linux tool "top".
 
I found a relevant article in the french forum but without problem solving.
So i added the Debug flags in ancestris.conf and added the output as textfiles.

My System is an actual Archlinux install with KDE desktop, the version numbers are all in the debugfiles.

Please get in touch if further information is required.

Regards

2
ENGLISH / BUG: Ancestris chrashed at startup
« on: June 19, 2021, 16:08:31 »
OS:          Archlinux  daily updated
JAVA :      openjdk 16.0.1 2021-04-20
               OpenJDK Runtime Environment (build 16.0.1+9)
               OpenJDK 64-Bit Server VM (build 16.0.1+9, mixed mode)
Ancestris: Version 11 and 12 from 19.06

After updating from java 15 to java 16 Ancestris chrashed at startup:

./ancestris
 
Identifying path and application name:
   progdir=.
   APPNAME=ancestris
 
Checking configuration file on progdir/../etc:
   Configuration file found. Executing it.
 
Identifying userdir from configuration file:
   userdir(from conf file)=/home/funker/.ancestris/trunk
   userdir(after argument overwrite)=/home/funker/.ancestris/trunk
 
Checking configuration file on userdir/etc:
   Configuration file from userdir not found.
 
Checking if jdkhome is defined: (for MacOS, you might need to add /Contents/Home at the end)
   jdkhome=
   jdkhome not defined.
 
Defining clusters:
   clusters=/opt/ancestris/ancestris:/opt/ancestris/harness:
 
Defining exec command:
   nbexec=./../platform/lib/nbexec
 
Running exec command:
   => Linux system detected...
 
Juni 19, 2021 5:02:29 PM org.netbeans.ProxyURLStreamHandlerFactory register
SCHWERWIEGEND: No way to find original stream handler for jar protocol
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @18be83e4
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
        at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)
        at org.netbeans.JarClassLoader.<clinit>(JarClassLoader.java:117)
        at org.netbeans.MainImpl.execute(MainImpl.java:153)
        at org.netbeans.MainImpl.main(MainImpl.java:60)
        at org.netbeans.Main.main(Main.java:58)

java.lang.Error: factory already defined
        at java.base/java.net.URL.setURLStreamHandlerFactory(URL.java:1259)
        at org.eclipse.osgi.framework.internal.core.Framework.installURLStreamHandlerFactory(Framework.java:1765)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:232)
        at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
        at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
        at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
        at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:63)
        at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:145)
        at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:115)
        at org.netbeans.ModuleManager.enable(ModuleManager.java:1437)
        at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
        at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315)
        at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251)
        at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
        at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156)
        at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125)
        at org.netbeans.core.startup.Main.start(Main.java:282)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
        at java.base/java.lang.Thread.run(Thread.java:831)
$

Hope you can help
Funker

Pages: [1]