Modify

Opened 4 years ago

Closed 4 years ago

#3191 closed defect (fixed)

[PATCH] NPE in RemoteControl if no data layer loaded

Reported by: stephankn Owned by: dmuecke
Priority: minor 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 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by dmuecke

  • Owner changed from team to dmuecke
  • Status changed from new to assigned

Changed 4 years ago by dmuecke

comment:2 Changed 4 years ago by dmuecke

  • Summary changed from NPE in RemoteControl if no data layer loaded to [PATCH] NPE in RemoteControl if no data layer loaded

Issue fixed.

comment:3 Changed 4 years ago by Gubaer

  • Status changed from assigned to new

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

comment:4 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.