ExceptionInInitializerError Encoding QR Code #1561
-
I'm receiving an ExceptionInInitializerError when encoding a QR Code. Everything works through the IDE. When I try to run the compiled version, I receive the error. The IDE is NetBeans 12.6. Java platform is Microsoft Build of OpenJDK 17.0.1.12. Zxing version is 3.5.0. I'm creating an installer through NetBeans. Any ideas? Here is the exception error: Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError Here is my code. The size is 260. The text is "http://192.168.1.4:8000/sst"
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
This lacks specific detail about the exception that caused it. I'd guess it's |
Beta Was this translation helpful? Give feedback.
-
More of the stack trace? the 'caused by'? |
Beta Was this translation helpful? Give feedback.
-
Thank you
…On Tue, Sep 20, 2022, 18:53 Sean Owen ***@***.***> wrote:
Hm, OK I can just have it handle this case and refuse to decode QR codes
with the (unofficial) "Hanzi" segments.
—
Reply to this email directly, view it on GitHub
<#1561 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYNI67XZ6A356KIMXD7L3N3V7H2ZJANCNFSM6AAAAAAQQEU5D4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Help me please 😢 my customer
…On Tue, Sep 20, 2022, 22:56 Joe Hess ***@***.***> wrote:
Anything in the extended character set class will not be supported until
we can figure out how to include it in distributed JRE.
—
Reply to this email directly, view it on GitHub
<#1561 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYNI67UWIJLYIAUFMZISU7LV7IXKDANCNFSM6AAAAAAQQEU5D4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
This lacks specific detail about the exception that caused it. I'd guess it's
Charset.forName("SJIS")
. SJIS is not one of the few required supported charsets, but every JDK seems to support it. I wonder if your Java 17 doesn't support it somehow, but, OpenJDK 17 on my linux machine does. I don't know if that's the issue. Need more info.