Ticket #5259 (closed defect: othersoftware)
When save the file
| Reported by: | kshatriy | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description
The program was launched in compatibility mode with Windows 2000, because in normal mode immediately when you start I get an error something like "Unable to find the main method JOSM". Program started successfully, download the data selection. Then click the File / Save As, and dropped this error. Error text:
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-07-17 01:31:31 Last Changed Author: bastiK Revision: 3376 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-07-16 23:44:00 +0200 (Fri, 16 Jul 2010) Last Changed Rev: 3376
Identification: JOSM/1.5 (3376 ru) Memory Usage: 69 MB / 494 MB (14 MB allocated, but free) Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 2000 Dataset consistency test: No problems found
Plugin: openstreetbugs (21706) Plugin: remotecontrol (21706) Plugin: validator (22204) Plugin: wmsplugin (22286)
java.lang.NullPointerException
at javax.swing.JComponent.repaint(Unknown Source) at sun.swing.FilePane$2.repaintListSelection(Unknown Source) at sun.swing.FilePane$2.repaintSelection(Unknown Source) at sun.swing.FilePane$2.focusLost(Unknown Source) at java.awt.AWTEventMulticaster.focusLost(Unknown Source) at java.awt.Component.processFocusEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(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.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at javax.swing.JFileChooser.showDialog(Unknown Source) at javax.swing.JFileChooser.showSaveDialog(Unknown Source) at org.openstreetmap.josm.actions.SaveActionBase.createAndOpenSaveFileChooser(SaveActionBase.java:181) at org.openstreetmap.josm.actions.SaveActionBase.openFileDialog(SaveActionBase.java:126) at org.openstreetmap.josm.actions.SaveAsAction.getFile(SaveAsAction.java:31) at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:55) at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:44) at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:33) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(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)
Attachments
Change History
comment:1 Changed 19 months ago by stoecker
- Owner changed from team to kshatriy
- Status changed from new to needinfo
comment:2 Changed 19 months ago by kshatriy
- Owner changed from kshatriy to anonymous
- Status changed from needinfo to new
By the way, the file at that time still managed to save, re-run the save procedure. We reinstalled Java, but still an error when running: "Could not find the main class: JOSM. Program will exit" In compatibility mode with Windows 2000 is running successfully, the procedure to save a file as a success.



Looks much like other similar errors. Very likely an problem in your Java installation. Try reinstalling Java and report results.