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)
Change History (5)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 16 years ago
Attachment: | remote.txt added |
---|
comment:2 by , 16 years ago
Summary: | NPE in RemoteControl if no data layer loaded → [PATCH] NPE in RemoteControl if no data layer loaded |
---|
comment:3 by , 16 years ago
Status: | assigned → new |
---|
Send dmuecke an email with instructions on how to apply the patches to the plugins, build the new plugins, and deploy them.
Issue fixed.