Modify

Opened 6 years ago

Closed 6 years ago

#15799 closed defect (fixed)

plugin PicLayer stürzt mit .png file ab

Reported by: look4book@… Owned by: Larry0ua
Priority: major Milestone:
Component: Plugin piclayer Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. activate PicLayer plugin
  2. one new image layer from file
  3. NullPointerException

What is the expected result?

picture without .cal file should load centered on the current view

What happens instead?

JOSM crashes

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Revision:13265
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 de) Mac OS X 10.9.5
OS Build number: Mac OS X 10.9.5 (13F1911)
Memory Usage: 1140 MB / 3641 MB (648 MB allocated, but free)
Java version: 1.8.0_161-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 1892172866 1920x1200
Maximum Screen Size: 1920x1200
VM arguments: [-Djava.security.policy=file:/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Downloads/josm.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/16/47ee53d0-24528f3e.icns, -Djnlpx.jvm="/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java"]
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (33563)
+ PicLayer (33822)
+ ejml (32680)
+ geotools (33958)
+ jts (32699)
+ log4j (32699)
+ reverter (33865)
+ turnlanes (33858)
+ turnrestrictions (33780)
+ undelete (33980)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Invalid jar file ''<josm.userdata>/plugins/PicLayer.jar.new'' (exists: false, canRead: false)
- E: Handled by bug report queue: java.lang.NullPointerException
- W: Achtung - <html>JOSM konnte keine Informationen über die folgenden Erweiterungen finden:<ul><li>geotools</li><li>ImportImagePlugin</li><li>jts</li><li>undelete</li><li>ejml</li><li>turnrestrictions</li><li>turnlanes</li><li>reverter</li><li>PicLayer</li><li>log4j</li></ul>Diese Erweiterungen werden nicht geladen.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (44) of javawsApplicationThreadGroup
java.lang.NullPointerException
	at org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider.parseDouble(JosmDecimalFormatSymbolsProvider.java:43)
	at org.openstreetmap.josm.plugins.piclayer.layer.PicLayerAbstract.loadWorldfile(PicLayerAbstract.java:460)
	at org.openstreetmap.josm.plugins.piclayer.layer.PicLayerFromFile.lookForCalibration(PicLayerFromFile.java:171)
	at org.openstreetmap.josm.plugins.piclayer.layer.PicLayerAbstract.initialize(PicLayerAbstract.java:163)
	at org.openstreetmap.josm.plugins.piclayer.actions.newlayer.NewLayerFromFileAction.addNewLayerFromFile(NewLayerFromFileAction.java:135)
	at org.openstreetmap.josm.plugins.piclayer.actions.newlayer.NewLayerFromFileAction.actionPerformed(NewLayerFromFileAction.java:126)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
	at java.awt.MenuItem.processEvent(MenuItem.java:628)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (2)

comment:1 by anonymous, 6 years ago

Component: CorePlugin piclayer
Owner: changed from team to Larry0ua
Priority: normalmajor
Version: tested

comment:2 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in [o34021:34022].

Modify Ticket

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