Opened 12 years ago
Closed 6 years ago
#8449 closed defect (fixed)
NPE at SearchCompiler$InView.getBounds when initially loading data with filter set
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.12 |
Component: | Core | Version: | tested |
Keywords: | filter | Cc: |
Description
I updated some old attributes on nodes when i discovered this error in build 5697.
Here's how i was able to reproduce it:
- Start JOSM and load a random map piece
- Create a filter "building=entrance type:node inview" and invert it that it shows only nodes having this attribute. Select "Replace selection" at the radio buttons on the left.
- Quit JOSM while filter is still active! It gets saved to the default parameters for next start of JOSM
- Restart JOSM and load a random map piece -> Crash window appears after map data download progress window closes
It doesn't matter if the filter fits on nodes in the loaded map piece or not.
After the crash the "Window" drop-down menu is enabled, but the screen still shows the startup news. When selecting a menu item, another crash occurs. The map is not shown.
Fix: go to the settings menu, select the tab for direct configuration modification, search the entries for "filter", search the enabled filter, set "enabled = false" and restart JOSM.
Identification: JOSM/1.5 (5697 de)
Memory Usage: 45 MB / 494 MB (16 MB allocated, but free)
Java version: 1.7.0_15, Oracle Corporation, Java HotSpot(TM) Client VM
Operating system: Windows 7
Plugin: FixAddresses (29210)
Plugin: HouseNumberTaggingTool (29210)
Plugin: OpeningHoursEditor (29210)
Plugin: buildings_tools (29210)
Plugin: namemanager (29210)
Plugin: openstreetbugs (29210)
Plugin: osmarender (29210)
Plugin: public_transport (29222)
Plugin: restart (29210)
Plugin: reverter (29216)
Plugin: tageditor (29210)
Plugin: terracer (29210)
Plugin: turnrestrictions (29210)
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
comment:3 by , 8 years ago
Keywords: | crash on map load with removed |
---|---|
Summary: | Crash when initially loading data with filter set → NPE at SearchCompiler$InView.getBounds when initially loading data with filter set |
comment:4 by , 6 years ago
Milestone: | → 17.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
It works now. It has probably been fixed with #15670
Confirmed with r5739: