Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

not working well with recent java versions #6

Open
alekibango opened this issue Jun 21, 2022 · 0 comments
Open

not working well with recent java versions #6

alekibango opened this issue Jun 21, 2022 · 0 comments

Comments

@alekibango
Copy link

openjdk 11.0.15 runs the app, but with many warnings and errors and is not working right.

no cards are visible, app not useable.

$ storymaps
Jun 21, 2022 11:15:07 PM storymaps.Application updateStoryOpenedDate
INFO: Reset story opened date to: Tue Jun 21 23:15:07 CEST 2022
Exception in thread "main" Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Exception when reading functions file.
        at storymaps.Function.initialiseFunctionsIfNecessary(Function.java:116)
        at storymaps.Function.getFunctions(Function.java:122)
        at storymaps.StoryCards.<init>(StoryCards.java:78)
        at storymaps.Application.initializePCanvas(Application.java:398)
        at storymaps.Application.makeFrame(Application.java:313)
        at storymaps.Application.<init>(Application.java:237)
        at storymaps.Application.<clinit>(Application.java:112)
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 154 path $[0].instructions
        at com.google.gson.internal.Streams.parse(Streams.java:60)
        at com.google.gson.JsonParser.parseReader(JsonParser.java:85)
        at com.google.gson.JsonParser.parseReader(JsonParser.java:60)
        at com.google.gson.JsonParser.parseString(JsonParser.java:47)
        at com.google.gson.JsonParser.parse(JsonParser.java:98)
        at storymaps.Function.initialiseFunctionsIfNecessary(Function.java:92)
        ... 6 more
Caused by: com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 154 path $[0].instructions
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1597)
        at com.google.gson.stream.JsonReader.readEscapeCharacter(JsonReader.java:1588)
        at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1014)
        at com.google.gson.stream.JsonReader.nextString(JsonReader.java:815)
        at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:705)
        at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:726)
        at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:718)
        at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:697)
        at com.google.gson.internal.Streams.parse(Streams.java:48)
        ... 11 more
java.lang.NoClassDefFoundError: Could not initialize class storymaps.Application
        at storymaps.Application$4.componentResized(Application.java:295)
        at java.desktop/java.awt.Component.processComponentEvent(Component.java:6461)
        at java.desktop/java.awt.Component.processEvent(Component.java:6415)
        at java.desktop/java.awt.Container.processEvent(Container.java:2263)
        at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
        at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
        at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant