Modify

Opened 15 years ago

Closed 14 years ago

#4306 closed defect (fixed)

NullPointerException on remoteplugin failure

Reported by: david@… Owned by: framm
Priority: normal Milestone:
Component: Core remotecontrol Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. go to http://localhost:8111/load_and_zoom?left=14.96298027&right=16.30438805&top=48.76900101&bottom=47.75600815&select=node334709563,node345161814
  2. josm announces that the server replied with "Fehlerhafte Anfrage", suggesting that the area is too big or contains too many elements
  3. press "ok"
  4. dialog "Plugin abschalten" for remotecontrol pops up
  5. press "abort"
  6. dialog "unerwarteter fehler" pops up

What is the expected result?

The area requested in the remotecontrol url is loaded and shown. Josm already has the ability to split requests, so that should be no technical problem. Even if the area really way too big, it should not create "unexpected error" dialogs.

What happens instead?

the remotecontrol plugin dies and causes the described errors:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-02 02:32:19
Last Changed Author: jttt
Revision: 2561
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-01 21:37:23 +0100 (Tue, 01 Dec 2009)
Last Changed Rev: 2561

Memory Usage: 27 MB / 508 MB (6 MB allocated, but free)
Java version: 1.6.0_17


Plugins: AgPifoJ,openstreetbugs,remotecontrol,validator,wmsplugin
Plugin AgPifoJ Version: 18593
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18678
Plugin wmsplugin Version: 19240

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.remotecontrol.RequestProcessor$1.run(RequestProcessor.java:200)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by stoecker, 14 years ago

Resolution: fixed
Status: newclosed

Fixed inbetween.

Modify Ticket

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