Modify ↓
Opened 6 years ago
Closed 6 years ago
#16212 closed defect (fixed)
NPE at StyledMapRenderer.drawArea
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 18.04 |
Component: | Core mappaint | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- möglicher Absturz?
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: 2018-03-26 22:16:39 +0200 (Mon, 26 Mar 2018) Build-Date:2018-03-26 20:45:23 Revision:13576 Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk': Relative:URL: ^/trunk Identification: JOSM/1.5 (13576 de) Mac OS X 10.13.4 OS Build number: Mac OS X 10.13.4 (17E199) Memory Usage: 822 MB / 910 MB (431 MB allocated, but free) Java version: 1.8.0_161-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: Display 685389251 1920x1200 Maximum Screen Size: 1920x1200 VM arguments: [-Djava.library.path=/private/var/folders/fc/bv6j_0k50dq0vwz0_0nn3dq00000gn/T/AppTranslocation/1440C13B-88C9-43C3-9D5D-10283F752250/d/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true] Plugins: + austriaaddresshelper (1511306130) + buildings_tools (34109) + continuosDownload (68) + contourmerge (1032) + utilsplugin2 (34109) Map paint styles: + https://pasharm.github.io/New_basic_style_for_JOSM/New_basic_style.mapcss Validator rules: + resource://data/validator/power.mapcss Last errors/warnings: - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === StyledMapRenderer#paintRecord: - record: StyleRecord [style=AreaElemStyle{z_idx=[1.0/-2.0/0.0] color=#e0e0e0 fillImage=[https://pasharm.github.io/New_basic_style_for_JOSM/icon/farmland1.png] extent=[30.0] extentThreshold=[0.9]}, osm={Way id=582343236 version=1 MVT nodes=[{Node id=5569660600 version=1 MV lat=46.85451465596609,lon=15.738297466403756}, {Node id=5569660599 version=1 MV lat=46.85440311371292,lon=15.738232981725533}, {Node id=5569660598 version=1 MV lat=46.8542656310821,lon=15.738191256345507}, {Node id=5569660597 version=1 MV lat=46.85423320588203,lon=15.738498506871155}, {Node id=5569660596 version=1 MV lat=46.85419040458795,lon=15.738822826870443}, {Node id=5569660595 version=1 MV lat=46.854169652433086,lon=15.739080765583333}, {Node id=5569660594 version=1 MV lat=46.85415279130136,lon=15.73929697891619}, {Node id=5569660593 version=1 MV lat=46.854173543462736,lon=15.739511295640868}, {Node id=5569660592 version=1 MV lat=46.854191701597365,lon=15.739678197160972}, {Node id=5569660591 version=1 MV lat=46.85424876998051,lon=15.740106830610328}, {Node id=5569660590 version=1 MV lat=46.8543979256955,lon=15.740154245814901}, {Node id=5569660589 version=1 MV lat=46.854483527918745,lon=15.740173211896733}, {Node id=5569660588 version=1 MV lat=46.85456394200417,lon=15.740163728855817}, {Node id=2467463022 version=1 V lat=46.8544878,lon=15.7395514}, {Node id=5569660587 version=1 MV lat=46.85451465596609,lon=15.73946577704448}, {Node id=5569660586 version=1 MV lat=46.85449260693442,lon=15.73904852324422}, {Node id=2364586059 version=1 V lat=46.854487,lon=15.7385963}, {Node id=5569660600 version=1 MV lat=46.85451465596609,lon=15.738297466403756}]}, flags=0] BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main java.lang.NullPointerException at java.awt.TexturePaint.<init>(TexturePaint.java:71) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.drawArea(StyledMapRenderer.java:438) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.drawArea(StyledMapRenderer.java:523) at org.openstreetmap.josm.gui.mappaint.styleelement.AreaElement.paintPrimitive(AreaElement.java:133) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$StyleRecord.paintPrimitive(StyledMapRenderer.java:195) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.paintRecord(StyledMapRenderer.java:1638) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.paintWithLock(StyledMapRenderer.java:1620) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.render(StyledMapRenderer.java:1574) at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:494) at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27) at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:470) at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:585) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:492) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:831) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.awt.Dialog.show(Dialog.java:1084) at java.awt.Component.show(Component.java:1671) at java.awt.Component.setVisible(Component.java:1623) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:256) at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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)
Attachments (0)
Change History (3)
comment:1 by , 6 years ago
Component: | Core → Core mappaint |
---|---|
Description: | modified (diff) |
Summary: | möglicher Absturz? → NPE at StyledMapRenderer.drawArea |
comment:2 by , 6 years ago
Milestone: | → 18.04 |
---|
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 13657/josm: