Modify

Opened 14 years ago

Closed 14 years ago

#6177 closed defect (fixed)

NPE with yahoo and soft sharpen

Reported by: skyper Owned by: Upliner
Priority: normal Milestone:
Component: Core imagery Version: latest
Keywords: template_report yahoo sharp Cc:

Description

What steps will reproduce the problem?

  1. open yahoo imagery layer

What is the expected result?

the layer opens.

What happens instead?

exception

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

I have set soft-sharpening

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-04 01:31:49
Last Changed Author: bastiK
Revision: 4013
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-03 19:05:53 +0200 (Sun, 03 Apr 2011)
Last Changed Rev: 4013

Identification: JOSM/1.5 (4013 en)
Memory Usage: 249 MB / 1820 MB (64 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: ColumbusCSV (25192)
Plugin: cadastre-fr (25192)
Plugin: colorscheme (25192)
Plugin: openstreetbugs (25540)
Plugin: public_transport (25192)
Plugin: tageditor (25191)
Plugin: toms (23605)
Plugin: undelete (25199)
Plugin: wms-turbo-challenge2 (25191)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.layer.ImageryLayer.sharpenImage(ImageryLayer.java:222)
	at org.openstreetmap.josm.data.imagery.GeorefImage.changeImage(GeorefImage.java:97)
	at org.openstreetmap.josm.gui.layer.WMSLayer.gatherFinishedRequests(WMSLayer.java:515)
	at org.openstreetmap.josm.gui.layer.WMSLayer.downloadAndPaintVisible(WMSLayer.java:358)
	at org.openstreetmap.josm.gui.layer.WMSLayer.paint(WMSLayer.java:222)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:450)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:529)
	at javax.swing.JComponent.paintChildren(JComponent.java:866)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1042)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5086)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4896)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)
	at javax.swing.RepaintManager.access$700(RepaintManager.java:57)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (2)

comment:1 by skyper, 14 years ago

Summary: NPE with yahoo and softNPE with yahoo and soft sharpen

comment:2 by Upliner, 14 years ago

Resolution: fixed
Status: newclosed

In [4014/josm]:

fix #6177 NPE when using sharpen with Yahoo imagery

Modify Ticket

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