Modify

Opened 3 years ago

Closed 3 years ago

#22197 closed defect (needinfo)

I'm unable to update the MapWithAI data set. It asks for an update but will just give a bug report page.

Reported by: dylan.forster@… Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Updating the Plug in

What is the expected result? The app updating and showing AI buildings.

What happens instead? Instead of updating it has a bug report window.

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: 2022-07-05 19:14:22 +0200 (Tue, 05 Jul 2022)
Build-Date:2022-07-06 01:30:57
Revision:18511
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18511 en) Mac OS X 10.16
OS Build number: macOS 12.4 (21F79)
Memory Usage: 1419 MB / 7282 MB (842 MB allocated, but free)
Java version: 1.8.0_311-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 188945231 1920×1080 (scaling 1.00×1.00) Display 69734662 1792×1120 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1120
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (35893)
+ Mapillary (2.0.0-beta.13-SNAPSHOT)
+ apache-commons (35924)
+ apache-http (35924)
+ buildings_tools (35997)
+ changessum (v0.1.1)
+ easypresets (1623509627)
+ ejml (35924)
+ flatlaf (35862)
+ geotools (35959)
+ graphview (35976)
+ jackson (35958)
+ jaxb (35952)
+ jna (35924)
+ jts (35976)
+ log4j (35924)
+ mapwithai (1.9.16)
+ measurement (35978)
+ opendata (35984)
+ osm-obj-info (66)
+ reverter (35999)
+ utilsplugin2 (36001)

Tagging presets:
+ ${HOME}/Downloads/FB_presets.xml
+ <josm.userdata>/EasyPresets.xml

Map paint styles:
+ ${HOME}/Downloads/FB_style.mapcss
+ ${HOME}/Downloads/elemstyles_v2.mapcss
- ${HOME}/Downloads/SneffelsGEM1_Dylan.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Validator rules:
+ ${HOME}/Downloads/FB_rules5.14.validator.mapcss

Last errors/warnings:
- 00010.855 E: java.nio.file.FileSystemException: ${HOME}/Downloads: Operation not permitted
- 00010.993 E: Failed to locate image ''
- 00010.993 W: Mappaint style "standard" (GEM) icon "" not found.
- 00011.796 E: Skipping to the next rule, because of an error:
- 00011.797 E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 18, column 130.
- 00011.800 W: Failed to add ${HOME}/Downloads/FB_rules5.14.validator.mapcss to tag checker
- 00011.800 W: java.nio.file.FileSystemException: ${HOME}/Downloads: Operation not permitted
- 00014.010 E: Failed to locate image 'MapWithAI'
- 00025.794 E: Exception raised in EDT: java.lang.reflect.InvocationTargetException. Cause: java.lang.IllegalMonitorStateException
- 00040.918 E: Handled by bug report queue: java.lang.NullPointerException. Cause: java.lang.NullPointerException



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (27) of main
java.lang.NullPointerException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598)
	at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
	at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerAction.actionPerformed(AddMapWithAILayerAction.java:116)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
	at java.awt.MenuItem.processEvent(MenuItem.java:628)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:763)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
	at java.lang.String.replace(String.java:2240)
	at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAIInfo.getConflationUrl(MapWithAIInfo.java:456)
	at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAIInfo.getUrlExpanded(MapWithAIInfo.java:444)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.<init>(BoundingBoxMapWithAIDownloader.java:68)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:168)
	at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)

Attachments (0)

Change History (4)

comment:1 by taylor.smock, 3 years ago

OK. This is confusing. You say "Updating the Plug in" will reproduce the problem, but the stack trace indicates that you are attempting to download something.

Can you tell me what datasets are enabled?

comment:2 by taylor.smock, 3 years ago

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

comment:3 by taylor.smock, 3 years ago

I really need more information for this.

The line throwing the exception will only do so in two cases:

  1. The conflation url is null (which I check for above), so should not be the case
  2. There is no id for the dataset, which I find unlikely

comment:4 by taylor.smock, 3 years ago

Resolution: needinfo
Status: newclosed

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.