Modify

Opened 16 years ago

Closed 16 years ago

#3191 closed defect (fixed)

[PATCH] NPE in RemoteControl if no data layer loaded

Reported by: stephankn Owned by: dmuecke
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: NPE, RemoteControl Cc:

Description

Request data via RemoteControl without having an open data layer in josm

RemoteControl received: GET /load_and_zoom?left=100.4928729&bottom=13.6505062&right=100.4930729&top=13.6507062 HTTP/1.1
RemoteControl: Error parsing load_and_zoom remote control request:
java.lang.NullPointerException

at org.openstreetmap.josm.plugins.remotecontrol.RequestProcessor.run(Req

uestProcessor.java:150)

This is the source with npe:

Area present = Main.main.getCurrentDataSet().getDataSourceArea();

Attachments (1)

remote.txt (1004 bytes ) - added by dmuecke 16 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by dmuecke, 16 years ago

Owner: changed from team to dmuecke
Status: newassigned

by dmuecke, 16 years ago

Attachment: remote.txt added

comment:2 by dmuecke, 16 years ago

Summary: NPE in RemoteControl if no data layer loaded[PATCH] NPE in RemoteControl if no data layer loaded

Issue fixed.

comment:3 by Gubaer, 16 years ago

Status: assignednew

Send dmuecke an email with instructions on how to apply the patches to the plugins, build the new plugins, and deploy them.

comment:4 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

In [o16961].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dmuecke.
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.