Modify ↓
Opened 5 years ago
Closed 5 years ago
#19495 closed defect (fixed)
Bug in MapWithAI
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapwithai | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- (unknown)
What is the expected result?
What happens instead?
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: 2020-06-30 19:13:42 +0200 (Tue, 30 Jun 2020) Build-Date:2020-07-01 01:30:51 Revision:16731 Relative:URL: ^/trunk Identification: JOSM/1.5 (16731 de) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 1903 (18362) Memory Usage: 453 MB / 989 MB (162 MB allocated, but free) Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 2560x1080 (scaling 1.0x1.0) Maximum Screen Size: 2560x1080 Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32 Dataset consistency test: No problems found Plugins: + BuildingGeneralization (23) + DirectUpload (35499) + HouseNumberTaggingTool (35248) + PicLayer (35405) + alignways (35474) + buildings_tools (35500) + contourmerge (v0.1.6) + imagery_offset_db (35405) + mapwithai (1.6.1) + measurement (35405) + merge-overlap (35248) + reltoolbox (35405) + terracer (35499) + tofix (490) + turnlanes (35405) + turnrestrictions (35405) + utilsplugin2 (35487) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - E: Region [TMS_BLOCK_v2] : Problem loading keys for file TMS_BLOCK_v2 - E: Region [WMS_BLOCK_v2] : Problem loading keys for file WMS_BLOCK_v2 - E: Handled by bug report queue: java.lang.IllegalArgumentException: The string Linie 401699530 does not match the pattern (n|node|w|way|r|rel|relation)[ /]?(\d+) - W: Achtung - <html>JOSM konnte keine Informationen über die folgenden Erweiterungen finden:<ul><li>BuildingGeneralization</li><li>imagery_offset_db</li><li>reltoolbox</li><li>HouseNumberTaggingTool</li><li>DirectUpload</li><li>tofix</li><li>turnlanes</li><li>alignways</li><li>measurement</li><li>utilsplugin2</li><li>mapwithai</li><li>buildings_tools</li><li>terracer</li><li>turnrestrictions</li><li>PicLayer</li><li>contourmerge</li><li>merge-overlap</li></ul>Diese Erweiterungen werden nicht geladen.</html> === REPORTED CRASH DATA === sequence_information: - sequence_name: Sequenz: Add object from MapWithAI - sequence_command: Create connections from MapWithAI data - sequence_index: 1 - sequence_commands: [org.openstreetmap.josm.plugins.mapwithai.commands.MovePrimitiveDataSetCommand;org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand] - sequence_commands_descriptions: [Move OsmPrimitives between layers;Create connections from MapWithAI data] BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (16) of main java.lang.IllegalArgumentException: The string Linie 401699530 does not match the pattern (n|node|w|way|r|rel|relation)[ /]?(\d+) at org.openstreetmap.josm.data.osm.SimplePrimitiveId.fromString(SimplePrimitiveId.java:88) at org.openstreetmap.josm.plugins.mapwithai.backend.commands.conflation.AbstractConflationCommand.getPrimitives(AbstractConflationCommand.java:85) at org.openstreetmap.josm.plugins.mapwithai.backend.commands.conflation.ConnectedCommand.connectedCommand(ConnectedCommand.java:71) at org.openstreetmap.josm.plugins.mapwithai.backend.commands.conflation.ConnectedCommand.lambda$getRealCommand$1(ConnectedCommand.java:103) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.forEach(Unknown Source) at org.openstreetmap.josm.plugins.mapwithai.backend.commands.conflation.ConnectedCommand.getRealCommand(ConnectedCommand.java:103) at org.openstreetmap.josm.plugins.mapwithai.backend.commands.conflation.AbstractConflationCommand.getCommand(AbstractConflationCommand.java:61) at org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand.createConnections(CreateConnectionsCommand.java:112) at org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand.executeCommand(CreateConnectionsCommand.java:58) at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:218) at org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand.run(MapWithAIAddCommand.java:103) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:218) at org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand.executeCommand(MapWithAIAddCommand.java:77) at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300) at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354) at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIMoveAction.actionPerformed(MapWithAIMoveAction.java:78) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.KeyboardManager.fireBinding(Unknown Source) at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source) at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (3)
comment:1 by , 5 years ago
Component: | Core → Plugin mapwithai |
---|---|
Owner: | changed from | to
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.
I'd really like to know how
Linie 401699530
appeared -- as far as I know, MapWithAI only returnsn<NUMBER>
andw<NUMBER>
. Presumably, it would also returnr<NUMBER>
, but they don't deal with relations yet. Where did this actually occur (i.e., where can I reproduce -- if the service is returningLinie <NUMBER>
, it should be fixed, and I can forward the area to my contacts).I'll fix the crash, to avoid people maliciously creating a service which sends
Linie
, but I would really like to know how it happened so I can truly fix the issue.