Modify

Opened 11 years ago

Closed 9 years ago

#810 closed defect (wontfix)

Null pointer exception when app resized by remote desktop

Reported by: emilyw Owned by: framm
Priority: major Milestone:
Component: Core Version: latest
Keywords: NullPointerException, crash Cc:

Description

Had josm open (but wasn't using it) on a machine with a v. large monitor. Remote desktopped into this machine from another machine with a much smaller monitor, causing much window resizing. This apparently caused the following excitement (although I didn't find the error dialog until later so I can't be sure):

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 647
Node Kind: directory
Last Changed Author: ramack
Last Changed Rev: 647
Last Changed Date: 2008-06-10 00:16:09 +0200 (Tue, 10 Jun 2008)

java.lang.NullPointerException

at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source)
at org.openstreetmap.josm.gui.dialogs.HistoryDialog$3.getTableCellRendererComponent(HistoryDialog.java:107)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ViewportLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

The error recurs whenever I dismiss the dialog, so I have to kill the app.

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by anonymous

Resolution: worksforme
Status: newclosed

comment:2 Changed 10 years ago by Hasienda

Keywords: NullPointerException crash added
Resolution: worksforme
Status: closedreopened
Version: releaselatest

reason for re-opening this ticket:

  • similar error reported in #1651 (closed, as I consider this a duplicate)
  • exact matching error in #1761 (was closed because of to few background information, I seconded but consider the ticket a duplicate instead

best guess, but maybe new, important conclusion is: it seems to be all about display and or interaction with window systems

comment:3 Changed 10 years ago by stoecker

Status: reopenednew

comment:4 Changed 10 years ago by plaicy

I think this relates to a in java.

comment:5 Changed 9 years ago by stoecker

Resolution: wontfix
Status: newclosed

Ok, Java bugs aren't our task.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.