dvdkruk / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Unhandled event loop exception #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.NoClassDefFoundError: com/google/inject/internal/Maps
    at com.google.eclipse.protobuf.ui.outline.OutlineViewModel.<init>(OutlineViewModel.java:29)
    at com.google.eclipse.protobuf.ui.outline.ProtobufOutlineTreeProvider._createChildren(ProtobufOutlineTreeProvider.java:49)
    at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createChildren(DefaultOutlineTreeProvider.java:79)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:80)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:1)
    at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
    at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:47)
    at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:1)
    at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
    at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)
    at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode.readOnly(DocumentRootNode.java:44)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.getChildren(AbstractOutlineNode.java:77)
    at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:136)
    at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.selectInTreeView(OutlineWithEditorLinker.java:125)
    at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker$TextListener.selectionChanged(OutlineWithEditorLinker.java:69)
    at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749)
    at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697)
    at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676)
    at org.eclipse.swt.widgets.Display.runTimers(Display.java:4106)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.rcp.product -keyring 
/Users/XXXXX/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product 
org.eclipse.epp.package.rcp.product -keyring /Users/XXXXXX/.eclipse_keyring 
-showlocation

Original issue reported on code.google.com by g...@arakelian.com on 14 Dec 2011 at 5:40

GoogleCodeExporter commented 9 years ago
I receive the error above while editing a .proto file inside Eclipse.  I'm 
using Protocol Buffer Editor 1.0.11.201110190604.

Original comment by g...@arakelian.com on 14 Dec 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Can you please provide steps to reproduce?

Original comment by alr...@google.com on 16 Dec 2011 at 12:47

GoogleCodeExporter commented 9 years ago
Alex, thanks for the reply.  Yesterday, I was constantly experiencing this 
issue whenever I would type a character in the editor, or if  I switched to a 
.java file and then back to a .proto file.  It was happening in a clean install 
of Eclipse (a fresh download of Eclipse Indigo RCP/RAP for Mac OS X, 64-bit, 
with Xtext 2.1 installed), after I had install the protobuf-dt plugin.

This evening, after receiving your reply, I launched Eclipse again, opened a 
.proto file, and nothing.  It worked fine.  I thought I had restarted Eclipse 
after installing your plug-in, but now I'm not sure.  In any event, it's not 
happening right now, so I can't reproduce it for you.

As an aside, I'd like to say thanks for writing this plug-in.  When I saw how 
advanced your plug-in was (code completion, warnings, etc.), I had to pull the 
source code apart to see what you did, and I've since written my own plug-in 
using Xtext to handle some code generation stuff I do myself.  What a fantastic 
tool Xtext is!  Your plug-in does such a great job and using so many of the 
features, that I was able to mimic what you were doing in my own plug-in.  You 
write really great code. Thanks for sharing.  

If the problem resurfaces, I'll be sure to report more information.

Original comment by g...@arakelian.com on 16 Dec 2011 at 1:49

GoogleCodeExporter commented 9 years ago
I get a similar error after upgrading to 1.1.1, I had no issues with 1.0.11 
though

Original comment by wolfma...@gmail.com on 17 Dec 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Thanks Greg for the kind words. I'm glad that the plug-in is working for you :)

Original comment by alr...@google.com on 24 Dec 2011 at 8:12

GoogleCodeExporter commented 9 years ago
Jim, please provide steps to reproduce.

Original comment by alr...@google.com on 24 Dec 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Seems this is an xtext2.2 issue. just let eclipse update to xtext 2.2 and you 
will see the issue. I reported it in issue 171

Original comment by wolfma...@gmail.com on 24 Dec 2011 at 8:45

GoogleCodeExporter commented 9 years ago
Thanks Jim, I'm closing this issue then.

Original comment by alr...@google.com on 28 Dec 2011 at 2:42