Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5693 closed defect (duplicate)

crash after changing column width

Reported by: fabermichiel@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

I can't. It happend once.
What i did was just fiddling around with the column width of the relations fields (eg. member, role and postion).

  1. Make the member collumn extremly wide.
  2. Reduce the collumn, but keep the role and position small.
  3. Step 2 fails, but after trying different options JOSM crashed

What is the expected result?
No crash (and preferably also column width as original).

What happens instead?
Crash

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-12-02 02:31:24
Last Changed Author: bastiK
Revision: 3690
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-12-01 14:02:38 +0100 (Wed, 01 Dec 2010)
Last Changed Rev: 3690

Identification: JOSM/1.5 (3690 nl)
Memory Usage: 171 MB / 481 MB (27 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., OpenJDK Client VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: slippymap (24495)
Plugin: terracer (22169)
Plugin: turnrestrictions (24125)
Plugin: wmsplugin (24221)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog$14.getTableCellRendererComponent(PropertiesDialog.java:660)
	at javax.swing.JTable.prepareRenderer(JTable.java:5735)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2108)
	at javax.swing.plaf.basic.BasicTableUI.paintDraggedArea(BasicTableUI.java:2083)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2038)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1806)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:765)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1411)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1342)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:318)
	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.dispatchEvent(EventQueue.java:602)
	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 (1)

Crash JOSM.png (482.2 KB ) - added by fabermichiel@… 15 years ago.
Where the cursor is, you can see the columns i was adapting the width of

Download all attachments as: .zip

Change History (3)

by fabermichiel@…, 15 years ago

Attachment: Crash JOSM.png added

Where the cursor is, you can see the columns i was adapting the width of

comment:1 by stoecker, 15 years ago

Resolution: duplicate
Status: newclosed

comment:2 by stoecker, 15 years ago

Closed as duplicate of #6431.

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.