Modify

Opened 9 years ago

Closed 9 years ago

#12531 closed defect (fixed)

Import osm-notes fail

Reported by: anonymous Owned by: Don-vip
Priority: normal Milestone: 16.02
Component: Core notes Version:
Keywords: template_report npe regression Cc:

Description

What steps will reproduce the problem?

  1. Load osm note from API
  2. Save note-layer to file
  3. Try open this file

What is the expected result?

What happens instead?

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-02-12 22:17:45 +0100 (Fri, 12 Feb 2016)
Build-Date:2016-02-13 02:33:14
Revision:9792
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9792 ru) Windows 7 64-Bit
Memory Usage: 496 MB / 1067 MB (124 MB allocated, but free)
Java version: 1.8.0_45-b15, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Dfile.encoding=Cp866]

Plugins:
- CommandLine (31927)
- FastDraw (31895)
- HouseNumberTaggingTool (31772)
- ImageWayPoint (31772)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- SeaMapEditor (31772)
- buildings_tools (31895)
- editgpx (31772)
- geochat (31895)
- imagery_offset_db (32046)
- josm-plugin-opengl (1440156917)
- log4j (31895)
- measurement (31895)
- poly (31772)
- reltoolbox (31895)
- reverter (32005)
- scripting (30722)
- tageditor (31772)
- turnrestrictions (31895)
- utilsplugin2 (32018)

Last errors/warnings:
ИНФОРМАЦИЯ: Open file: I:\...\test.osn (3056 bytes)
ОШИБКА: java.lang.NullPointerException
java.lang.NullPointerException
        at org.openstreetmap.josm.io.NoteImporter.importData(NoteImporter.java:40)
        at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:91)
        at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:365)
        at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:318)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 9 years ago

Keywords: npe regression added
Milestone: 16.02

comment:2 by Don-vip, 9 years ago

Owner: changed from team to Don-vip
Status: newassigned

regression from r9746

comment:3 by Don-vip, 9 years ago

Resolution: fixed
Status: assignedclosed

In 9797/josm:

fix #12531 - NPE when importing notes files (regression from r9746)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.