Modify ↓
Opened 9 years ago
Closed 7 years ago
#13764 closed defect (duplicate)
NPE in Dimension.<init> via ToolbarPreferences.refreshToolbarControl at startup
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | tested |
| Keywords: | template_report performance | Cc: | Penegal |
Description
What steps will reproduce the problem?
- I have no clue how to reproduce this, I've noticed over the last sessions that JOSM have been slow/sluggish, and last session was so slow I wasn't able to complete any editing. Now it crashes on me on startup.
What is the expected result?
JOSM starts
What happens instead?
JOSM crashes before loaded
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk
Identification: JOSM/1.5 (10966 en) Mac OS X 10.11.6
Memory Usage: 444 MB / 910 MB (254 MB allocated, but free)
Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69731266 1920x1200
Maximum Screen Size: 1920x1200
VM arguments: [-Djava.library.path=/Applications/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:
+ FixAddresses (32796)
+ OpeningHoursEditor (32699)
+ SeaChart (32699)
+ SeaMapEditor (32767)
+ apache-commons (32699)
+ apache-http (32699)
+ continuosDownload (53)
+ ejml (32680)
+ geochat (32796)
+ geotools (32813)
+ jts (32699)
+ merge-overlap (32699)
+ opendata (32898)
+ reverter (32796)
+ rex (1928)
+ turnlanes (32796)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
+ waydownloader (32699)
Tagging presets:
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/Presets_Sport.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenSeaMap_bridge&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Leaftype&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://github.com/simonpoole/beautified-JOSM-preset/raw/master/gen/vespucci_zip.zip
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/Presets_Hafen.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
Map paint styles:
+ ${HOME}/Documents/workspace/mapnik-brasil/base.mapcss
- ${HOME}/Documents/workspace/JOSM-ONC/INT1_MapCSS.mapcss
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/BNIWR_MapCSS.mapcss
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/CEVNI_MapCSS.mapcss
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT1_Seamark.mapcss
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/PPWBC_MapCSS.mapcss
Validator rules:
+ https://raw.githubusercontent.com/OSMBrasil/validador-josm/master/Rules_Brazilian-Specific.validator.mapcss
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/Seamark.validator.mapcss
+ https://raw.githubusercontent.com/stefan-a-bauer/josm-validators/master/mtb.validator.mapcss
Last errors/warnings:
- E: Failed to locate image 'presets/empty.png'
- W: Commercial: Could not get presets icon presets/empty.png
- E: Failed to locate image 'presets/garages.png'
- W: Garages: Could not get presets icon presets/garages.png
- E: Failed to locate image 'presets/interpolation.png'
- W: Address Interpolation: Could not get presets icon presets/interpolation.png
- E: Failed to locate image 'presets/multipolygon.png'
- W: Multipolygon: Could not get presets icon presets/multipolygon.png
- E: Broken tagging preset "service-Service way type" - number of items in 'display_values' must be the same as in 'values'
- E: Detailed information: [Alley, Driveway, Parking, Parking ailse, Drive-through, Emergency access] <> [alley, driveway, parking_aisle, drive-through, emergency_access]
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: main (1)
java.lang.NullPointerException
at java.awt.Dimension.<init>(Dimension.java:111)
at java.awt.Component.getMaximumSize(Component.java:2770)
at java.awt.Container.getMaximumSize(Container.java:1894)
at javax.swing.JComponent.getMaximumSize(JComponent.java:1700)
at javax.swing.JComponent.paramString(JComponent.java:5543)
at javax.swing.AbstractButton.paramString(AbstractButton.java:2300)
at javax.swing.JButton.paramString(JButton.java:267)
at java.awt.Component.toString(Component.java:8141)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at java.awt.event.HierarchyEvent.paramString(HierarchyEvent.java:329)
at java.awt.AWTEvent.toString(AWTEvent.java:406)
at java.lang.String.valueOf(String.java:2994)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.doLog(PlatformLogger.java:626)
at sun.util.logging.PlatformLogger.finest(PlatformLogger.java:402)
at java.awt.Component.dispatchEventImpl(Component.java:4727)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.Component.createHierarchyEvents(Component.java:5549)
at java.awt.Container.createHierarchyEvents(Container.java:1445)
at java.awt.Container.removeAll(Container.java:1313)
at org.openstreetmap.josm.gui.preferences.ToolbarPreferences.refreshToolbarControl(ToolbarPreferences.java:1039)
at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:396)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:328)
Attachments (0)
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Keywords: | performance added |
|---|
comment:3 by , 9 years ago
| Summary: | slow/sluggish JOSM now crashing at startup → NPE in Dimension.<init> via ToolbarPreferences.refreshToolbarControl at startup |
|---|
comment:5 by , 9 years ago
| Cc: | added |
|---|
comment:6 by , 7 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Closed as duplicate of #13100.
Note:
See TracTickets
for help on using tickets.



Slowness can occur when zooming far in. There is a major bug in the current tested version. See #13636