Modify

Opened 4 years ago

Closed 4 years ago

#20958 closed defect (fixed)

NPE in AbstractDownloadStrategy.getExisting

Reported by: gaben Owned by: team
Priority: normal Milestone:
Component: Plugin continuosDownload Version: tested
Keywords: template_report Cc:

Description (last modified by gaben)

What steps will reproduce the problem?

  1. Fresh start JOSM
  2. Enable continuous data download
  3. Load a satellite imagery
  4. Move the image around a bit
  5. Wait for the exception

What is the expected result?

No crash, the plugin can't download anything just yet.

What happens instead?

Exception.

Please provide any additional information below. Attach a screenshot if possible.

It is a new bug, appeared in the last few months.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Build-Date:2021-06-02 20:11:30
Revision:17919
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17919 hu) Windows 10 64-Bit
OS Build number: Windows 10 Pro for Workstations 2009 (19043)
Memory Usage: 1279 MB / 7266 MB (1070 MB allocated, but free)
Java version: 1.8.0_291-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1250
System property sun.jnu.encoding: Cp1250
Locale info: hu_HU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-40eb3c02, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50209, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ FastDraw (35640)
+ OpeningHoursEditor (35640)
+ PicLayer (1.0.1)
+ apache-commons (35524)
+ buildings_tools (35756)
+ continuosDownload (91)
+ ejml (35458)
+ geotools (35458)
+ gridify (1606242219)
+ jaxb (35543)
+ jts (35458)
+ log4j (35458)
+ opendata (35640)
+ pbf (35720)
+ pt_assistant (1ff2e15)
+ reverter (35732)
+ tageditor (35640)
+ turnlanes-tagging (288)
+ utilsplugin2 (35691)
+ wikipedia (1.1.4)

Last errors/warnings:
- 00084.049 E: Handled by bug report queue: java.lang.NullPointerException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: Timer-1 (97)
java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.continuosDownload.AbstractDownloadStrategy.getExisting(AbstractDownloadStrategy.java:94)
	at org.openstreetmap.josm.plugins.continuosDownload.AbstractDownloadStrategy.fetch(AbstractDownloadStrategy.java:32)
	at org.openstreetmap.josm.plugins.continuosDownload.AbstractDownloadStrategy.fetch(AbstractDownloadStrategy.java:27)
	at org.openstreetmap.josm.plugins.continuosDownload.DownloadPlugin$Task.run(DownloadPlugin.java:140)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by simon04, 4 years ago

Summary: Unexpected NPENPE in AbstractDownloadStrategy.getExisting

comment:2 by gaben, 4 years ago

Description: modified (diff)

comment:3 by Don-vip, 4 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

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