After Migtation from xtext 2.10 to xtext 2.11. Cannot open text editor for my DSL [message #1753991] |
Mon, 13 February 2017 17:19 |
|
Dear Colleagues,
I've observed one more issue after migrating from xtext 2.10 to xtext 2.11
The scenario is
- The application with IDE for my DSL started via configuration that based on product file
- Open project with file in my DSL
- Try to open editor for a file in DSL
Then observed the exeception : ClassNotFoundException
!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-02-13 20:15:31.157
!MESSAGE Unable to create class 'org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor' from bundle '13'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: org/eclipse/xtext/service/AbstractGenericModule
The required class : AbstractGenericModule is located in plugin org.eclipse.xtext. This plugin was installed. The version of plugin is correct 2.11
The plugin is included in product configuration and in dependecies of other plugins.
Run Configuration contains correct version of org.eclipse.xtext plugin.
But in runtime required class not found.
Could you please help me resolve this issue?
Thank you in advance
Alex
|
|
|
|
|
|
|
Re: After Migtation from xtext 2.10 to xtext 2.11. Cannot open text editor for my DSL [message #1753999 is a reply to message #1753997] |
Mon, 13 February 2017 17:52 |
|
I've created again run configuration. Editor is opened. but I've received minor errors in log
!ENTRY org.eclipse.jface 2 0 2017-02-13 20:44:57.631
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2017-02-13 20:44:57.631
!MESSAGE A conflict occurred for ALT+CTRL+A:
Binding(ALT+CTRL+A,
ParameterizedCommand(Command(oracle.eclipse.tools.common.services.ui.dependency,Show Dependencies,
Show dependencies for the selected item.,
Category(oracle.eclipse.tools.common.services.ui.dependency.category,Dependencies,Dependency Related Commands,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@998021,
[Parameter(oracle.eclipse.tools.common.services.ui.dependency.editor,Editor ID,null,true)],,true),[org.eclipse.core.commands.Parameterization@2f81f769]),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+CTRL+A,
ParameterizedCommand(Command(org.eclipse.team.svn.ui.command.ShowAnnotationCommand,Show Annotation...,
,
Category(org.eclipse.team.svn.ui.command.category,SVN,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1a0bbd,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Configuration of log4j framework
!ENTRY com.psl.atom.services 1 0 2017-02-13 20:45:00.424
!MESSAGE Start LOG4J service
!ENTRY com.psl.atom.services 1 0 2017-02-13 20:45:00.444
!MESSAGE Start LOG4J service configured
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://857.fwk26391574:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://857.fwk26391574:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
!ENTRY org.eclipse.core.net 4 0 2017-02-13 20:45:03.111
!MESSAGE WinHttp.GetProxyForUrl for pac failed with error 'The URL does not use a recognized protocol
' #12006.
!ENTRY org.eclipse.oomph.setup.ui 2 0 2017-02-13 20:45:22.456
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:352)
at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$3(SetupUIPlugin.java:346)
at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:243)
at org.eclipse.core.internal.jobs.Worker.run(Worker.javlra:55)
Seems to me I've include something redundant in configuration.
I use log4j in my application. It is run when one of low level plugin is started. But I'll double check log4j configuration
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04862 seconds