Modify

Opened 4 years ago

Closed 4 years ago

#19388 closed defect (fixed)

App crash on Launch

Reported by: Frazzy Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Launch app
  2. Go to plugins
  3. Check ImportImagePlugin
  4. wait for download to complete
  5. after inhalation accept prompt to restart
  6. restart incomplete with this error every time
  7. getting updated josm app still does not solve this error

What is the expected result?

joms should launch to default screen

What happens instead?

App crashes

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Build-Date:2019-08-26 06:57:10
Revision:15322
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15322 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 659 MB / 3609 MB (182 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ ImportImagePlugin
+ apache-commons (35362)
+ auto_tools (73)
+ buildings_tools
+ changeset-viewer (22)
+ ejml (35313)
+ geotools (35169)
+ graphview (35405)
+ jaxb (35092)
+ jts (35122)
+ log4j (35092)
+ mapwithai
+ opendata (35125)
+ osm-obj-info (56)
+ reverter (35084)
+ utilsplugin2 (35476)

Map paint styles:
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
+ %UserProfile%\Documents\Kaart-Styles.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- W: Cannot lock cache directory. Will not use disk cache
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:73)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:384)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:801)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:890)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:933)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1148)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:909)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:279)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:706)

Attachments (1)

crash.png (56.2 KB ) - added by anonymous 4 years ago.

Download all attachments as: .zip

Change History (4)

by anonymous, 4 years ago

Attachment: crash.png added

comment:1 by Klumbumbus, 4 years ago

Component: CorePlugin mapwithai
Owner: changed from team to taylor.smock

comment:2 by taylor.smock, 4 years ago

You really should update to the latest version of JOSM (r16538 -- you have r15322), and update plugins.
I think I know which MapWithAI version you have, and it is really outdated. It will still work, but if the MapWithAI API every changes, you are SOL. Newer versions also query a json instead of just having the url hardcoded.

I'll still fix it, but it might take a little while.

If you do update JOSM, you should either update plugins when prompted or manually update them.

I'd go into more detail, but I'm on a phone right now.

comment:3 by taylor.smock, 4 years ago

Resolution: fixed
Status: newclosed

OK. It should be fixed as soon as the site finishes deploying (so ~5 minutes, I would guess).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.