Modify

Opened 14 years ago

Closed 14 years ago

#6771 closed defect (fixed)

[Patch] I18n: NPE

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Build-Date: 2011-09-02 23:44:36
Revision: 4398
Is-Local-Build: true

GET http://api.openstreetmap.org/api/capabilities... OK
Communications with http://api.openstreetmap.org/api established using protocol version 0.6
RemoteControl::Accepting connections on port 8111
RemoteControl received: GET /load_and_zoom?left=11.3656279&right=11.367627899999999&top=47.1731595&bottom=47.1711595&select=way125097354 HTTP/1.1
GET http://api.openstreetmap.org/api/0.6/map?bbox=11.3656279,47.171159499999995,11.367627899999999,47.1731595
Keystroke pressed 3 is already assigned to org.openstreetmap.josm.actions.AutoScaleAction@70b91162, will be overridden by org.openstreetmap.josm.actions.AutoScaleAction@48af77fc
Registered toolbar action dialogs/autoscale/selection overwritten: org.openstreetmap.josm.actions.AutoScaleAction gets org.openstreetmap.josm.actions.AutoScaleAction
failed loading 17/69672/46008 null
failed loading 17/69672/46009 null
failed loading 17/69672/46010 null
failed loading 17/69673/46008 null
failed loading 17/69673/46009 null
failed loading 17/69673/46010 null
failed loading 17/69674/46008 null
failed loading 17/69674/46009 null
failed loading 17/69674/46010 null
failed loading 17/69675/46008 null
failed loading 17/69675/46009 null
failed loading 17/69675/46010 null
failed loading 17/69676/46008 null
failed loading 17/69676/46009 null
failed loading 17/69676/46010 null
java.lang.NullPointerException
	at java.text.MessageFormat.applyPattern(MessageFormat.java:436)
	at java.text.MessageFormat.<init>(MessageFormat.java:363)
	at java.text.MessageFormat.format(MessageFormat.java:835)
	at org.openstreetmap.josm.tools.I18n.tr(I18n.java:149)
	at org.openstreetmap.josm.gui.layer.TMSLayer.paintTileText(TMSLayer.java:898)
	at org.openstreetmap.josm.gui.layer.TMSLayer.paint(TMSLayer.java:1260)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:451)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:513)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1206)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5169)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4980)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
	at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
	at java.awt.EventQueue.access$000(EventQueue.java:101)
	at java.awt.EventQueue$3.run(EventQueue.java:666)
	at java.awt.EventQueue$3.run(EventQueue.java:664)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Successfully loaded Bing attribution data.

Attachments (1)

6771.patch (1.8 KB ) - added by simon04 14 years ago.
patch to avoid NPE when calling tr() with null parameter

Download all attachments as: .zip

Change History (4)

by simon04, 14 years ago

Attachment: 6771.patch added

patch to avoid NPE when calling tr() with null parameter

comment:1 by bastiK, 14 years ago

[4394] removed null pointer checks for tr() call. It needs to be added back before release.

comment:2 by stoecker, 14 years ago

Ticket #6782 has been marked as a duplicate of this ticket.

comment:3 by bastiK, 14 years ago

Resolution: fixed
Status: newclosed

In [4399/josm]:

fixed #6771 - [Patch] I18n: NPE

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.