Modify

Opened 8 years ago

Closed 8 years ago

#3428 closed defect (worksforme)

Uploading from new layer gives "Expected states are IN_TASK but current state is INIT" exception

Reported by: avarab@… Owned by: team
Priority: blocker Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

  1. Open JOSM
  2. Create new layer
  3. 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 Changed 8 years ago by stoecker

Summary: Uploading from new layer gives "Expected states are [IN_TASK] but current state is INIT" exceptionUploading from new layer gives "Expected states are IN_TASK but current state is INIT" exception

comment:2 Changed 8 years ago by Gubaer

Resolution: worksforme
Status: newclosed

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

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.