Skip to content

Program crashes on CCU connection under Linux openJDK24 #1

@somikro

Description

@somikro

I tested the program on linux with openJDK24 and openjFX installed. First the program starts but when a connection to CCU is configured and Refresh is hit the program crashes with the message below !

devel@yofer-ub:~/Install/CCU-Device-Viewer$ ./ccudeviceviewer_starter.sh
CCU Device Viewer v1.03 (Build 20210226)
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::allocateMemory has been called by com.sun.marlin.OffHeapArray (file:/home/devel/Install/Java-FX/openjfx-24.0.1_linux-x64_bin-sdk/javafx-sdk-24.0.1/lib/javafx.graphics.jar)
WARNING: Please consider reporting this to the maintainers of class com.sun.marlin.OffHeapArray
WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release
ccuclass._parse_devicelist (java line: 366)
java.lang.RuntimeException: Object should first be initialized (List).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:32)
at anywheresoftware.b4a.objects.collections.List.getSize(List.java:117)
at com.rwbl.ccudeviceviewer.ccuclass._parse_devicelist(ccuclass.java:366)
at com.rwbl.ccudeviceviewer.main$ResumableSub_FileRefresh_Action.resume(main.java:683)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:136)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:85)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:487)
at anywheresoftware.b4a.keywords.Common.access$0(Common.java:467)
at anywheresoftware.b4a.keywords.Common$CallSubDelayedHelper.run(Common.java:541)
at [email protected]/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419)
at [email protected]/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$1(GtkApplication.java:240)
at java.base/java.lang.Thread.run(Thread.java:1447)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions