eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[ocl] FileDocumentProvider.createElementInfo #1407

Open eclipse-ocl-bot opened 2 months ago

eclipse-ocl-bot commented 2 months ago

| --- | --- | | Bugzilla Link | 451599 | | Status | NEW | | Importance | P3 normal | | Reported | Nov 14, 2014 12:18 EDT | | Modified | Nov 16, 2014 11:42 EDT | | Reporter | EPP Error Reports |

Description

Hello committers,

we received a new error report for Eclipse 4.5.0.I20141029-2000.

General Information:\ anonymous-id: 42120eeb-40ea-42fa-9b30-1d69255a024d\ eclipse-build-id: 4.5.0.I20141029-2000\ eclipse-product: org.eclipse.epp.package.modeling.product\ operating system: Windows7 6.1.0 (x86_64) - win32\ java-runtime-version: 1.7.0_51-b13

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

  1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107
  2. org.eclipse.core.databinding_1.4.100.v20141002-1314
  3. org.eclipse.core.runtime_3.10.0.v20140724-1132
  4. org.eclipse.e4.core.contexts_1.3.100.v20140407-1019
  5. org.eclipse.e4.core.di_1.4.0.v20140813-2240
  6. org.eclipse.e4.ui.services_1.1.0.v20140815-1559
  7. org.eclipse.e4.ui.workbench_1.3.0.v20141024-2249
  8. org.eclipse.e4.ui.workbench.renderers.swt_0.12.100.v20141021-0910
  9. org.eclipse.e4.ui.workbench.swt_0.12.100.v20141020-2115
  10. org.eclipse.emf.common_2.11.0.v20141027-0406
  11. org.eclipse.emf_2.6.0.v20141110-0530
  12. org.eclipse.equinox.app_1.3.200.v20130910-1609
  13. org.eclipse.equinox.event_1.3.100.v20140115-1647
  14. org.eclipse.equinox.launcher_1.3.0.v20140415-2008
  15. org.eclipse.jface_3.11.0.v20141013-0842
  16. org.eclipse.ocl.examples.xtext.oclinecore.ui_3.5.0.v20141108-1747
  17. org.eclipse.ocl.examples.xtext.oclinecore_3.5.0.v20141108-1747
  18. org.eclipse.ocl.examples_3.4.100.v20140713-1723
  19. org.eclipse.ocl_3.5.0.v20140725-2247
  20. org.eclipse.osgi_3.10.100.v20141020-1414
  21. org.eclipse.swt_3.104.0.v20141029-1116
  22. org.eclipse.ui_3.107.0.v20141010-0853
  23. org.eclipse.ui.editors_3.8.200.v20140401-1310
  24. org.eclipse.ui.ide.application_1.0.600.v20141003-0522
  25. org.eclipse.ui.ide_3.10.100.v20141024-1629
  26. org.eclipse.xtext.ui_2.8.0.v201411111037
  27. org.eclipse.xtext_2.8.0.v201411111037

Error Status:

code:                   0\
plugin:                 org.eclipse.ui_3.107.0.v20141010-0853\
message:                FileDocumentProvider.createElementInfo\
fingerprint:            734d6dcb\
exception class:        org.eclipse.core.runtime.CoreException\
exception message:      Failed to load\
number of children:     1\
\
org.eclipse.core.runtime.CoreException: Failed to load\
at org.eclipse.ocl.examples.xtext.oclinecore.ui.model.OCLinEcoreDocumentProvider.setDocumentContent(OCLinEcoreDocumentProvider.java:381)\
at org.eclipse.ui.editors.text.FileDocumentProvider.setDocumentContent(FileDocumentProvider.java:426)\
at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:195)\
at org.eclipse.ocl.examples.xtext.oclinecore.ui.model.OCLinEcoreDocumentProvider.setDocumentContent(OCLinEcoreDocumentProvider.java:301)\
at org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)\
at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:140)\
at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:737)\
at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:253)\
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)\
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4233)\
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)\
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)\
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)\
at org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:245)\
at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3220)\
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)\
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)\
at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:2137)\
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2133)\
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3238)\
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3265)\
at org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:285)\
at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:366)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:313)\
at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)\
at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)\
at java.lang.reflect.Method.invoke(null:-1)\
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)\
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)\
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)\
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)\
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)\
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:128)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)\
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1233)\
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:69)\
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)\
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)\
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)\
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4748)\
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:210)\
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)\
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)\
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)\
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)\
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)\
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)\
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)\
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)\
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)\
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)\
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)\
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)\
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)\
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:691)\
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:392)\
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1127)\
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3228)\
at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3143)\
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3125)\
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3120)\
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3084)\
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:344)\
at org.eclipse.ui.actions.OpenWithMenu$3.handleEvent(OpenWithMenu.java:220)\
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)\
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)\
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)\
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)\
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:638)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:582)\
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)\
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\
at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)\
at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)\
at java.lang.reflect.Method.invoke(null:-1)\
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)\
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)\
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)\
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)\

  code:                   0\
  plugin:                 org.eclipse.ocl.examples.common_3.4.0.v20141108-1747\
  message:                Failed to load\
  fingerprint:            00000000\
  number of children:     0\
\
\

Messages, stacktraces, and nested status objects may be shortened. Please visit \ http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/-\ for the complete error log.

Some general information and guidelines about how to use this bug report:

  1. Feel free to move this bug to your own product and components. Please note\ that this bug is only accessible to Eclipse committers. If you move this bug\ please make sure that it's still in the "Security Advisor" group.

  2. The bug contents of the fields status, resolution, keywords, and whitelist\ are presented to reporters. If you needs more information, please set the\ keyword "needinfo". This will trigger a specialized dialog asking the user\ to provide further details.

  3. Use the following resolutions for the following situations:

    • CLOSED / FIXED: This bug has been fixed. Please provide additional\ information in the whiteboard field.
    • CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue\ and request further information. Please use the whiteboard text to specify\ more details what a user should provide and how.
    • CLOSED / INVALID: Use this resolution if the reported problem is a\ 'user-configuration' problem. Please consider giving hints how to fix\ these issues in the whiteboard field.
    • CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin\ not developed at Eclipse.org
    • CLOSED / MOVED: If this bug has been moved else where. Please provide more \ information (e.g. a link) in the whiteboard field.
  4. Please remember that only committers can view and comment on this bug. You\ may, however, manually add the reporting user to the bug's cc list. But keep\ in mind that the report may contains sensitive information.

  5. If you are missing a feature, please file a enhancement request here:\ https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces\ \

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

--

eclipse-ocl-bot commented 2 months ago

By EPP Error Reports on Nov 14, 2014 12:18

I've looked up the (to date) top-3 most similar bug groups and listed the \ closest bug of each group below. This report may or may not be duplicate of\ those (low or similar scores for all entries may indicate that this hasn't\ been reported yet):

1. [Bug 447476](https://bugs.eclipse.org/bugs/show_bug.cgi?id=447476): [ocl] FileDocumentProvider.createElementInfo – 1    
2. [Bug 451025](https://bugs.eclipse.org/bugs/show_bug.cgi?id=451025): [xtext,ocl] Editor could not be initialized. – 0,9    
3. [Bug 450533](https://bugs.eclipse.org/bugs/show_bug.cgi?id=450533): [xtext,ocl] FileDocumentProvider.createElementInfo – 0,9    

If this report actually is a duplicate of those, please mark it as such. This\ information helps me to improve the recommendations further for the next issue.

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

eclipse-ocl-bot commented 2 months ago

By Ed Willink on Nov 16, 2014 11:42

There's not much detail, bit I vaguely recall that it may be me.

Opening an empty, or space-prefix 'xml' file confuses the EMF loader.

Moving to OCL since the diagnostic at least should be clearer.