Modify

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#5654 closed defect (fixed)

npe at cadastre georeferencing

Reported by: richard.hitier@… Owned by: pieren
Priority: normal Milestone:
Component: Plugin cadastre-fr Version:
Keywords: Cc:

Description (last modified by Don-vip)

I'm using the cadastre-fr plugin with bitmap images to be georeferenced. This error occurs after having cropped the image, about to clic on the second lambert point

theres the trace:

http://josm.openstreetmap.de/svn
Build-Date: 2010-10-06 01:31:17
Last Changed Author: bastiK
Revision: 3592
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-10-05 20:34:31 +0200 (Tue, 05 Oct 2010)
Last Changed Rev: 3592

Identification: JOSM/1.5 (3592 fr)
Memory Usage: 235 MB / 494 MB (42 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: cadastre-fr (22850)

java.lang.NullPointerException
	at cadastre_fr.MenuActionGrabPlanImage.affineTransform(MenuActionGrabPlanImage.java:375)
	at cadastre_fr.MenuActionGrabPlanImage.endGeoreferencing(MenuActionGrabPlanImage.java:260)
	at cadastre_fr.MenuActionGrabPlanImage.handleNewCoordinates(MenuActionGrabPlanImage.java:362)
	at cadastre_fr.MenuActionGrabPlanImage.mouseClicked(MenuActionGrabPlanImage.java:147)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
	at java.awt.Component.processMouseEvent(Component.java:6270)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6032)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 12 years ago

Description: modified (diff)

comment:2 by pieren, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in MenuActionGrabPlanImage,java, rev. [o29668]. Handle an NPE (reason not identified, not able to reproduce)

Last edited 12 years ago by Don-vip (previous) (diff)

Modify Ticket

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