question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FileChooser crashes with 1.9.9-SNAPSHOT

See original GitHub issue

I get a crash when attempting to open a FileChooser (although I suspect the error is fundamentally tied to the Tooltip’s), this appears to be a compatibility problem with 1.9.9-SNAPSHOT. Rolling back to a snapshot from several months ago it is bale to choose files correctly. I haven’t done a full bisection search to find when the problem was induced, looking at the current code it’s not jumping out to me as to why there is an issue.

15:44:30.015 ERROR [GDX] #object[java.lang.Thread 0x11e20997 Thread[GDX,5,main]] #error {
 :cause com.badlogic.gdx.scenes.scene2d.Actor.getListeners()Lcom/badlogic/gdx/utils/Array;
 :via
 [{:type com.badlogic.gdx.utils.GdxRuntimeException
   :message java.lang.NoSuchMethodError: com.badlogic.gdx.scenes.scene2d.Actor.getListeners()Lcom/badlogic/gdx/utils/Array;
   :at [com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application <init> Lwjgl3Application.java 117]}
  {:type java.lang.NoSuchMethodError
   :message com.badlogic.gdx.scenes.scene2d.Actor.getListeners()Lcom/badlogic/gdx/utils/Array;
   :at [com.kotcrab.vis.ui.widget.Tooltip attach Tooltip.java 145]}]
 :trace
 [[com.kotcrab.vis.ui.widget.Tooltip attach Tooltip.java 145]
  [com.kotcrab.vis.ui.widget.Tooltip init Tooltip.java 113]
  [com.kotcrab.vis.ui.widget.Tooltip <init> Tooltip.java 70]
  [com.kotcrab.vis.ui.widget.Tooltip <init> Tooltip.java 43]
  [com.kotcrab.vis.ui.widget.Tooltip$Builder build Tooltip.java 363]
  [com.kotcrab.vis.ui.widget.VisImageButton <init> VisImageButton.java 60]
  [com.kotcrab.vis.ui.widget.file.internal.FileHistoryManager <init> FileHistoryManager.java 53]
  [com.kotcrab.vis.ui.widget.file.FileChooser createToolbar FileChooser.java 292]
  [com.kotcrab.vis.ui.widget.file.FileChooser init FileChooser.java 232]
  [com.kotcrab.vis.ui.widget.file.FileChooser <init> FileChooser.java 180]
  [com.kotcrab.vis.ui.widget.file.FileChooser <init> FileChooser.java 163]
  [swiftgcs.gui_helpers$fn__13312 invokeStatic gui_helpers.clj 1131]
  [swiftgcs.gui_helpers$fn__13312 invoke gui_helpers.clj 1131]
  [clojure.lang.Delay deref Delay.java 42]
  [clojure.core$deref invokeStatic core.clj 2312]
  [swiftgcs.gui_helpers$choose_file$fn__13314 invoke gui_helpers.clj 1140]
  [clojure.lang.AFn run AFn.java 22]
  [com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application loop Lwjgl3Application.java 153]
  [com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application <init> Lwjgl3Application.java 111]
  [swiftgcs.gui$fn__26828 invokeStatic gui.clj 572]
  [swiftgcs.gui$fn__26828 invoke gui.clj 572]
  [clojure.lang.Delay deref Delay.java 42]
  [clojure.core$deref invokeStatic core.clj 2312]
  [swiftgcs.core$_main$fn__27164 invoke core.clj 97]
  [clojure.lang.AFn run AFn.java 22]
  [java.lang.Thread run Thread.java 748]]}

I was using the following artifacts:

                 [com.badlogicgames.gdx/gdx "1.9.9-SNAPSHOT"]
                 [com.badlogicgames.gdx/gdx-backend-lwjgl3 "1.9.9-SNAPSHOT"]
                 [com.badlogicgames.gdx/gdx-controllers "1.9.9-SNAPSHOT"]
                 [com.badlogicgames.gdx/gdx-controllers-lwjgl3 "1.9.9-SNAPSHOT"]
                 [com.badlogicgames.gdx/gdx-controllers-platform "1.9.9-SNAPSHOT" :classifier "natives-desktop"]
                 [com.badlogicgames.gdx/gdx-platform "1.9.9-SNAPSHOT" :classifier "natives-desktop"]
                 [com.kotcrab.vis/vis-ui "1.4.0"]
                 [com.kotcrab.vis/vis-ui-contrib "1.3.0"]   

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
kotcrabcommented, Jul 28, 2018

To avoid breaking existing builds I’ve released 1.4.1 as-is, next version is 1.4.2-SNAPSHOT which is build with 1.9.9-SNAPSHOT. Not a huge fan of building it against a snapshot but I guess it would be fine given lack of libgdx releases.

3reactions
kotcrabcommented, Jul 27, 2018

Yeah, I’ll try to do it this weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JFileChooser crashes JVM - bug basically ignored. What can I ...
Use any JFileChooser, click on the "Details" view. Then start clicking on column headings... after a few clicks the JVM crashes.
Read more >
Viewing online file analysis results for 'zyczu-mc.jar'
zyczu-mc.jar. This report is generated from a file or URL submitted to this webservice on November 9th 2018 20:29:09 (UTC) and action script...
Read more >
Stuff Michael Meeks is doing
Dug into & fixed a crash-on-keypress bug in the m55 builds, it seems my zip file setup isn't up to the standard of...
Read more >
Untitled
Fix crash upon escaping from generic dialogs (#889897). ... update to 0.9.9 snapshot - spec updates for cmake switch - split up GTK3...
Read more >
Experts for groupby lodash - Linknovate
... cordova-plugin-file-chooser-android * cordova-plugin-file-transfer ... ramda.js, hapijs, reload, marklogic-9, snapshot, hierarchy, server-side, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found