- This topic has 6 replies, 3 voices, and was last updated 2 years, 9 months ago by support-swapna.
-
AuthorPosts
-
depinskiParticipantWhat happens:
On eclipse startup the following exceptions are thrown up in the error log.
Unable to register language [*] exceptions are thrown for all languages followed by the next two as pasted below in order. Problem now is I can’t seem to open using any of the CodeMix editors. The built in Editors work fine. Please let me know if you need anything else and I can provide.eclipse.buildId=4.13.0.202112031748
java.version=16.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.springframework.boot.ide.branding.sts4This is a continuation of log file /home/mdepinski/workspace/.metadata/.bak_0.log
Created Time: 2022-01-11 17:13:50.757com.genuitec.eclipse.code.ui
Error
Tue Jan 11 17:15:56 PST 2022
Unable to register language [yaml]java.lang.NullPointerException: Cannot invoke “java.lang.reflect.Constructor.newInstance(Object[])” because “this._editorDescriptorConstructor” is null
at com.genuitec.eclipse.code.ui.languages.LanguagesService.createEditorDescriptor(LanguagesService.java:1198)
at com.genuitec.eclipse.code.ui.languages.LanguagesService.register(LanguagesService.java:728)
at com.genuitec.eclipse.code.ui.languages.LanguagesService.registerLanguages(LanguagesService.java:304)
at com.genuitec.eclipse.code.ui.CodeService.supportedLanguagesAdded(CodeService.java:909)
at com.genuitec.eclipse.code.core.engine.EclipseAPI.supportedLanguagesAdded(EclipseAPI.java:439)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.genuitec.eclipse.code.core.engine.SessionHandler$RPCObjectType$1.process(SessionHandler.java:1024)
at com.genuitec.eclipse.code.core.engine.SessionHandler.handleRequest(SessionHandler.java:824)
at com.genuitec.eclipse.code.core.engine.EngineService.handleMessage(EngineService.java:976)
at com.genuitec.eclipse.code.core.engine.EngineServerEndpoint.onMessage(EngineServerEndpoint.java:46)
at jdk.internal.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.glassfish.tyrus.core.AnnotatedEndpoint.callMethod(AnnotatedEndpoint.java:534)
at org.glassfish.tyrus.core.AnnotatedEndpoint.access$100(AnnotatedEndpoint.java:87)
at org.glassfish.tyrus.core.AnnotatedEndpoint$WholeHandler$1.onMessage(AnnotatedEndpoint.java:633)
at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
at org.glassfish.tyrus.core.TyrusEndpointWrapper.onPartialMessage(TyrusEndpointWrapper.java:977)
at org.glassfish.tyrus.core.TyrusWebSocket.onFragment(TyrusWebSocket.java:190)
at org.glassfish.tyrus.core.frame.TextFrame.respond(TextFrame.java:136)
at org.glassfish.tyrus.core.ProtocolHandler.process(ProtocolHandler.java:807)
at org.glassfish.tyrus.core.TyrusWebSocketEngine$TyrusReadHandler.handle(TyrusWebSocketEngine.java:562)
at org.glassfish.tyrus.container.grizzly.server.GrizzlyServerFilter$ProcessTask.execute(GrizzlyServerFilter.java:379)
at org.glassfish.tyrus.container.grizzly.client.TaskProcessor.processTask(TaskProcessor.java:114)
at org.glassfish.tyrus.container.grizzly.client.TaskProcessor.processTask(TaskProcessor.java:91)
at org.glassfish.tyrus.container.grizzly.server.GrizzlyServerFilter.handleRead(GrizzlyServerFilter.java:215)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
at java.base/java.lang.Thread.run(Thread.java:831)eclipse.buildId=4.13.0.202112031748
java.version=16.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.springframework.boot.ide.branding.sts4This is a continuation of log file /home/mdepinski/workspace/.metadata/.bak_0.log
Created Time: 2022-01-11 17:13:50.757com.genuitec.eclipse.code.ui
Error
Tue Jan 11 17:15:56 PST 2022
Unable to register supported languages as EditorDescriptor service utilities are not availableeclipse.buildId=4.13.0.202112031748
java.version=16.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.springframework.boot.ide.branding.sts4This is a continuation of log file /home/mdepinski/workspace/.metadata/.bak_0.log
Created Time: 2022-01-11 17:13:50.757org.eclipse.core.jobs
Error
Tue Jan 11 17:16:01 PST 2022
An internal error occurred during: “Store supported languages”.java.lang.NullPointerException: Cannot enter synchronized block because “this.supportedLanguages” is null
at com.genuitec.eclipse.code.ui.languages.LanguagesService.storeSupportedLanguages(LanguagesService.java:325)
at com.genuitec.eclipse.code.ui.languages.LanguagesService$2.run(LanguagesService.java:315)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
support-swapnaModeratorHi,
CodeMix will not work with Eclipse 2021-12. Even though the extensions are installed, they will not be recognized. Unfortunately we have no workaround to suggest, other than using a prior Eclipse version (Eclipse 2021-09 or earlier with Java 11).
Please note that CodeMix has reached its end of life and MyEclipse 2021 is the alternative. See here for more details : https://www.genuitec.com/products/codemix/end-of-life-notice/
Apologies for inconvenience caused. Please let us know if you have any further questions.
–Swapna
Genuitec Support
depinskiParticipantThat’s unfortunate. I enjoyed the product. Best of luck.
emanuele-fabianiParticipantThis is my problem :
java.lang.NullPointerException: Cannot invoke “java.lang.reflect.Constructor.newInstance(Object[])” because “this._editorDescriptorConstructor” is null
at com.genuitec.eclipse.code.ui.languages.LanguagesService.createEditorDescriptor(LanguagesService.java:1198)
at com.genuitec.eclipse.code.ui.languages.LanguagesService.register(LanguagesService.java:728)
at com.genuitec.eclipse.code.ui.languages.LanguagesService.registerLanguages(LanguagesService.java:304)
at com.genuitec.eclipse.code.ui.CodeService.supportedLanguagesAdded(CodeService.java:909)
at com.genuitec.eclipse.code.core.engine.EclipseAPI.supportedLanguagesAdded(EclipseAPI.java:439)Can resolve please?
For this problem GIT plugin not work, why? There is a workaround?I have eclipse 12-2021, i can not migrate to myeclipse
I have payed for this plugin!!!
support-swapnaModeratorEmanuele,
Sorry that you are seeing this issue. I am assuming you are referring to CodeMix (and not GIT) plugin.
As mentioned in my previous response on this thread, we have no workaround to suggest, other than using a prior Eclipse version (Eclipse 2021-09 or earlier with Java 11).Any constraints in migrating to MyEclipse? Please let us know so we can see what we can do for you.
–Swapna
Genuitec Support
emanuele-fabianiParticipantok, but the problem is that GIT plugin call codemix plugin (com.genuitec.eclipse.code.ui.languages.LanguagesService.createEditorDescriptor) and don’t work because codemix go in exception; codemix plugin is called by GIT plugin … why?
support-swapnaModeratorEmanuele,
The exception will be logged once the workspace loads and also if the CodeMix editor is in focus.
I could import a project from Git irrespective of the exception from CodeMix. You can uninstall CodeMix if you find the exceptions hindering your work or other plugins.Apologies for inconvenience caused.
–Swapna
Genuitec Support -
AuthorPosts