java.lang.NoClassDefFoundError: Could not initialize class

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
andalissa.corbin
Posts: 1
Joined: 26 Sep 2024, 19:03

java.lang.NoClassDefFoundError: Could not initialize class

Post by andalissa.corbin »

Customer is using OpenWebStart to launch a program which utilizes SSO login. For some reason this customer in specific (I am unable to replicate on my computer and SSO login works fine for me) is having an issue where sometimes the SSO login will launch and work as expected, but majority of the time the SSO login is not launched and there is an error in the background:

Exception in thread "Browser Thread: 61378" java.lang.NoClassDefFoundError: Could not initialize class com.mg.client.sso.SSODialog

at java.lang.Thread.run(Thread.java:750)

at com.teamdev.jxbrowser.internal.BrowserThread$TaskRunner.processTasks(BrowserThread.java:139)

at com.teamdev.jxbrowser.internal.rpc.stream.Stream$StreamObserver.lambda$onNext$0(Stream.java:164)

at com.teamdev.jxbrowser.internal.rpc.stream.CallbackStream.process(CallbackStream.java:178)

at com.mg.client.sso.SSODialog.A(Unknown Source)

at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)

at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)

at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)

at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)

at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)

at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)

at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1361)

Here is another error they see when they try to force SSO login:

[ITW-CORE][2024-09-09 13:44:16.721 CDT]
[ERROR][com.teamdev.jxbrowser.internal.ipc.IPC] Unexpected BrowserException

[ITW-CORE][2024-09-09 13:44:16.721 CDT]
[ERROR][com.teamdev.jxbrowser.internal.ipc.IPC] Unexpected exception in Browser Thread

[ITW-CORE][2024-09-09 13:44:16.737 CDT]
[ERROR][com.teamdev.jxbrowser.internal.ipc.IPC] Failed to configure Edge browser

Andreas Ehret
Posts: 84
Joined: 25 Mar 2020, 12:21

Re: java.lang.NoClassDefFoundError: Could not initialize class

Post by Andreas Ehret »

Which version of OWS are you using? Can you send the OWS log files (openwebstart@karakun.com) from a date when you experienced the problem?
https://openwebstart.com/docs/FAQ.html# ... _reporting

Post Reply