Modify ↓
#21977 closed defect (fixed)
Unexpected exception when clicking on Osmose issues shown by openqa plugin
Reported by: | Marco | Owned by: | taylor.smock |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin openqa | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- run JOSM tested (or latest)
- install plugin openqa
- download an area with some Osmose issues
- click on the Osmose issues until an unexpected exception is thrown
What is the expected result?
A popup is shown containing the Osmose issue information
What happens instead?
An unexpected exception occurs
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-03-06 10:38:55 +0100 (Sun, 06 Mar 2022) Revision:18387 Build-Date:2022-03-07 02:31:09 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18387 en) Linux Debian GNU/Linux 10 (buster) Memory Usage: 220 MB / 1388 MB (78 MB allocated, but free) Java version: 11.0.14+9-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1280×1024 (scaling 1.00×1.00) Maximum Screen Size: 1280×1024 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: GNOME Java package: openjdk-11-jre:amd64-11.0.14+9-1~deb10u1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-22+deb10u1 fonts-noto: fonts-noto:all-20181227-1 Dataset consistency test: No problems found Plugins: + openqa (0.2.4) Last errors/warnings: - 00089.918 E: Handled by bug report queue: javax.json.stream.JsonParsingException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is VALUE_NULL. Cause: java.lang.IllegalStateException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is VALUE_NULL === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main javax.json.stream.JsonParsingException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is VALUE_NULL at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:114) at com.kaart.openqa.profiles.osmose.OsmoseInformation.getTranslatedText(OsmoseInformation.java:647) at com.kaart.openqa.profiles.osmose.OsmoseInformation.getNodeToolTip(OsmoseInformation.java:373) at com.kaart.openqa.ErrorLayer$PaintWindow.paintSelectedNode(ErrorLayer.java:409) at com.kaart.openqa.ErrorLayer$PaintWindow.createNodeWindow(ErrorLayer.java:344) at com.kaart.openqa.ErrorLayer$PaintWindow.realrun(ErrorLayer.java:324) at com.kaart.openqa.ErrorLayer$PaintWindow.run(ErrorLayer.java:307) at com.kaart.openqa.ErrorLayer.paint(ErrorLayer.java:282) at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27) at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:469) at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:584) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:491) at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083) at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5255) at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:246) at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1323) at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5203) at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5013) at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865) at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:848) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:848) at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:823) at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:772) at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1890) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) 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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) 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) Caused by: java.lang.IllegalStateException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is VALUE_NULL at org.glassfish.json.JsonParserImpl.getObject(JsonParserImpl.java:171) at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:112) ... 39 more
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I've got a fix incoming. It should be available in the next hour or so.
Thank you for the bug report.