Modify ↓
Opened 16 years ago
Closed 16 years ago
#3428 closed defect (worksforme)
Uploading from new layer gives "Expected states are IN_TASK but current state is INIT" exception
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
- Open JOSM
- Create new layer
- Create new data & upload:
org.openstreetmap.josm.gui.progress.ProgressException: Expected states are [IN_TASK] but current state is INIT
at org.openstreetmap.josm.gui.progress.AbstractProgressMonitor.checkState(AbstractProgressMonitor.java:66)
at org.openstreetmap.josm.gui.progress.AbstractProgressMonitor.finishTask(AbstractProgressMonitor.java:92)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:201)
at org.openstreetmap.josm.actions.UploadAction$UploadDiffTask.realRun(UploadAction.java:539)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
By contrast downloading from the server first and then uploading works.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
| Summary: | Uploading from new layer gives "Expected states are [IN_TASK] but current state is INIT" exception → Uploading from new layer gives "Expected states are IN_TASK but current state is INIT" exception |
|---|
comment:2 by , 16 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Not anymore in my environment, probably because I recently fixed the nesting of progress monitor in the upload code.