Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4410

Kindlet Can't concat strings: NoClassDefFoundError

$
0
0
hi,

my program crashed with the following exception:
Code:

java.lang.NoClassDefFoundError: java.lang.StringBuilder
at sgfEditor.Main.start(Main.java:92)
at com.amazon.kindle.kindlet.internal.lifecycle.K.call(dlc:998)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1029)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:547)
at java.lang.Thread.run(Unknown Source)
at java.lang.Thread.startup(Unknown Source)

It seems I cannot concat strings. These lines produce the exception:
Code:

String a = "a";
String b = "b";
a += b;

the firmware version of my kindle paperwhite is 5.3.5

:thanks:

Viewing all articles
Browse latest Browse all 4410

Trending Articles