Modify ↓
Opened 15 years ago
Closed 13 years ago
#6077 closed defect (fixed)
plugin openstreetbugs crashes
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin openstreetbugs | Version: | latest |
| Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- create a new bug
- enter description
- click OK
What is the expected result?
the bug should be interted in the OSB database
What happens instead?
crash, but OSB bug is created
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-03-07 02:31:27 Last Changed Author: mjulius Revision: 3961 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-03-06 22:06:57 +0100 (Sun, 06 Mar 2011) Last Changed Rev: 3961 Identification: JOSM/1.5 (3961 de) Memory Usage: 252 MB / 1450 MB (98 MB allocated, but free) Java version: 1.6.0_24, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows XP Dataset consistency test: No problems found Plugin: DirectUpload (25199) Plugin: buildings_tools (25469) Plugin: editgpx (25407) Plugin: openstreetbugs (25520) Plugin: terracer (25199) Plugin: turnrestrictions (25465) Plugin: walkingpapers (25191) java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.openstreetmap.josm.plugins.osb.OsbPlugin.updateData(OsbPlugin.java:165) at org.openstreetmap.josm.plugins.osb.gui.action.NewIssueAction.execute(NewIssueAction.java:94) at org.openstreetmap.josm.plugins.osb.gui.action.OsbAction.actionPerformed(OsbAction.java:69) at org.openstreetmap.josm.plugins.osb.gui.action.PointToNewIssueAction.addNewIssue(PointToNewIssueAction.java:79) at org.openstreetmap.josm.plugins.osb.gui.action.PointToNewIssueAction.mousePressed(PointToNewIssueAction.java:74) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 13 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



I have changed the call from invokeAndWait to invokeLater, so that updateData can be called from the awt event thread, too. Please check out the new Version and close this bug, if it works for you.