eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

SWTException below LoadCompleteOCLResourceHandler$ResourceDialog$DeferredLoadDocumentJob.processResources (185) #1625

Closed eclipse-ocl-bot closed 2 hours ago

eclipse-ocl-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 479905 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Oct 16, 2015 01:07 EDT | | Modified | Sep 11, 2017 06:54 EDT | | Reporter | EPP Error Reports |

Description

The following incident was reported via the automated error reporting:

code:                   2\
plugin:                 org.eclipse.core.jobs_3.7.0.v20150330-2103\
message:                An internal error occurred during: "Deferred Load OCL Document".\
fingerprint:            6e05e96e\
exception class:        org.eclipse.swt.SWTException\
exception message:      Invalid thread access\
number of children:     0\
\
org.eclipse.swt.SWTException: Invalid thread access\
at org.eclipse.swt.SWT.error(SWT.java:4491)\
at org.eclipse.swt.SWT.error(SWT.java:4406)\
at org.eclipse.swt.SWT.error(SWT.java:4377)\
at org.eclipse.swt.widgets.Widget.error(Widget.java:482)\
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:266)\
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:362)\
at org.eclipse.jface.window.Window.createShell(Window.java:486)\
at org.eclipse.jface.window.Window.create(Window.java:429)\
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)\
at org.eclipse.jface.window.Window.open(Window.java:792)\
at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:347)\
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:411)\
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:376)\
at org.eclipse.ocl.xtext.completeocl.ui.commands.LoadCompleteOCLResourceHandler$ResourceDialog$DeferredLoadDocumentJob.processResources(LoadCompleteOCLResourceHandler.java:185)\
at org.eclipse.ocl.xtext.completeocl.ui.commands.LoadCompleteOCLResourceHandler$ResourceDialog$DeferredLoadDocumentJob.run(LoadCompleteOCLResourceHandler.java:150)\
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\

\

General Information:

reported-by:      Naum Spaseski\
anonymous-id:     4bb1485c-9729-4f98-9a4e-6bfe4d2a0fb5\
eclipse-build-id: 4.5.1.M20150904-0015\
eclipse-product:  org.eclipse.epp.package.modeling.product\
operating system: Linux 4.1.10.fc22 (x86_64) - gtk\
jre-version:      1.8.0_60-b27

The following plug-ins were present on the execution stack (*):

  1. org.eclipse.core.jobs_3.7.0.v20150330-2103
  2. org.eclipse.jface_3.11.0.v20150602-1400
  3. org.eclipse.ocl.xtext.completeocl.ui_1.0.0.v20150707-1546
  4. org.eclipse.ocl.xtext.completeocl_1.0.1.v20150907-1419
  5. org.eclipse.ocl_3.5.0.v20150521-1211
  6. org.eclipse.swt_3.104.1.v20150825-0743

Please note that:

Other Resources:

Thank you for your assistance.\ Your friendly error-reports-inbox.

This bug was created on behalf of ed@xxxxxxxxxxxx.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Sep 11, 2017 06:54

The DeferredLoadDocumentJob was introduced to avoid UI hangs. It causes far more problesm than it cures, so it was removed.