#6253 closed defect (othersoftware)
Sporadic error when creating dialogs
| Reported by: | stanton | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
Occasionally errors will occur when a dialog box is created: some controls get drawn, others not, and the dialog does not respond. All I can do is close it (using the button in the title bar) and retry the action, this will usually work.
While this is a minor nuisance, things get ugly when the same happens to the upload progress dialog - I can only guess if the upload actually takes place and whether or not it finished. In my case, something apparently did get uploaded because retrying the upload created duplicate objects.
JOSM 3966 (but earlier versions showed the same behavior), Look and Feel set to Metal. OS is Ubuntu 10.10.
PS: just saw there's a new stable version, I'll add a comment on whether the same bug is still present.
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
| Resolution: | → othersoftware |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
You can always log in at openstreetmap.org and check if your changes are uploaded.
comment:3 by , 15 years ago
@bastiK: sure, I can check my changeset - but after an hour of editing, possibly having modified a three-digit number of objects, this gets impractical...
@stoecker: yes, I do use OpenJDK, but I assumed the code base to be mostly the same as Sun Java. If it turns out to be a bug in OpenJDK (which is well possible), we would need to file a bug report there, but we'd need to know for sure that the fault is not in JOSM.
comment:4 by , 15 years ago
I tried setting -Dsun.java2d.opengl=false (as suggested in #4669), the error persists. I also tried starting JOSM with -Dsun.java2d.opengl=true, which gives me a black application window.
I will try to run it with the -cacao setting (using the Cacao VM), to see if that makes a difference and get further hints as to where to search for the culprit.



I assume you use OpenJDK? This sounds more like a Java problem of JDK, than a JOSM issue. Usually switching to Sun Java helps. Another source can be the opengl options of java. See older reports what to do in these cases.