- This topic has 3 replies, 2 voices, and was last updated 7 years, 5 months ago by Brian Fernandes.
-
AuthorPosts
-
jeffatworkParticipantIm using the Angular IDE plugin 2017 C16 (1.8.2.201706151516) in Eclipse Neon 4.6.3.I’ve pointed to a global installation of NodeJS and NPM, versions 8.1.2 and 5.0.3, respectively, under Win 7 Enterprise 64-bit. The global installation is required because the laptops are locked down in terms of where executables can be launched from, i.e., not from within the plugin’s metadata.
I’m tryig to edit a project that I’d been working on during the 8-day trial period. Since installing the license yesterday I haven’t been able to open any project files. It reports “Failed to create the part’s controls” and the Details contains the text below (too large for attachment).
I can open these files using “Open with … Text Editor”, and I can edit them in Atom. Further, I can launch and access the server both from the command line and from the eclipse Servers tab. I just can’t edit the files using the Angular editor in eclipse. Has anyone else had and solved this problem?
If it matters, in the workspace log, the two lines before th exception are:
org.eclipse.jface.text
Duplicate template id: ‘org.eclipse.wst.xslt.templates.xpath.round’org.eclipse.jface.text
Duplicate template id: ‘org.eclipse.wst.xslt.templates.xpath.number’And now the exception (edited to save space):
java.lang.RuntimeException: java.lang.IllegalStateException: The node process has crashed.
Last 4 lines of error console output:
Bridge type: classifier
Running with TS version:2.2.2
Initializing endpoint classifier in version 2.2.2
C:\HES\software\Node.js\node-v8.1.2-win-x64\node.exe: src\node_file.cc:554: Assertion `args[0]->IsString()’ failed.
at c.g.e.t.services.internal.Bridge.call(Bridge.java:162)
at c.g.e.t.services.classifier.Classifier.getClassificationsForLines(Classifier.java:62)
at c.g.e.t.text.reconciler.PresentationReconciler.classifyLines(PresentationReconciler.java:264)
at c.g.e.t.text.reconciler.PresentationReconciler.createPresentation(PresentationReconciler.java:232)
at c.g.e.t.text.reconciler.PresentationReconciler.processEvent(PresentationReconciler.java:130)
at c.g.e.t.text.reconciler.PresentationReconciler.access$0(PresentationReconciler.java:127)
at c.g.e.t.text.reconciler.PresentationReconciler$MyTextListener.textChanged(PresentationReconciler.java:364)
at o.e.j.t.TextViewer.updateTextListeners(TextViewer.java:2699)
at o.e.j.t.TextViewer.invalidateTextPresentation(TextViewer.java:3320)
at o.e.j.t.TextViewer.initializeWidgetContents(TextViewer.java:3368)
at o.e.j.t.TextViewer.setVisibleDocument(TextViewer.java:3407)
at o.e.j.t.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:691)
at o.e.j.t.TextViewer.setDocument(TextViewer.java:2795)
at o.e.j.t.source.SourceViewer.setDocument(SourceViewer.java:634)
at o.e.j.t.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:365)
at o.e.j.t.source.SourceViewer.setDocument(SourceViewer.java:584)
at o.e.u.t.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3995)
at o.e.u.t.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3465)
at o.e.u.t.StatusTextEditor.createPartControl(StatusTextEditor.java:55)
at o.e.u.t.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:445)
at c.g.e.t.text.TypeScriptEditor.createPartControl(TypeScriptEditor.java:474)
at o.e.u.i.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:150)
at o.e.u.i.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
at o.e.u.i.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at o.e.e.c.i.di.MethodRequestor.execute(MethodRequestor.java:55)
at o.e.e.c.i.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
at o.e.e.c.i.di.InjectorImpl.processAnnotated(InjectorImpl.java:931)
at o.e.e.c.i.di.InjectorImpl.inject(InjectorImpl.java:151)
at o.e.e.c.i.di.InjectorImpl.internalMake(InjectorImpl.java:375)
at o.e.e.c.i.di.InjectorImpl.make(InjectorImpl.java:294)
at o.e.e.c.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at o.e.e.u.i.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
at o.e.e.u.i.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
at o.e.e.u.i.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56)
at o.e.e.u.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728)
at o.e.e.u.i.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722)
at o.e.c.r.SafeRunner.run(SafeRunner.java:42)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706)
at o.e.e.u.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1324)
at o.e.e.u.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
at o.e.e.u.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
at o.e.s.w.Synchronizer.syncExec(Synchronizer.java:233)
at o.e.u.i.UISynchronizer.syncExec(UISynchronizer.java:145)
at o.e.s.w.Display.syncExec(Display.java:4821)
at o.e.e.u.i.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
at o.e.e.u.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
at o.e.e.i.e.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201)
at o.e.e.i.e.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
at o.e.e.i.e.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at o.e.o.f.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at o.e.o.f.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at o.e.e.i.e.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
at o.e.e.i.e.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
at o.e.e.i.e.EventComponent.sendEvent(EventComponent.java:39)
at o.e.e.u.services.internal.events.EventBroker.send(EventBroker.java:94)
at o.e.e.u.i.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60)
at o.e.e.c.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at o.e.e.u.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:173)
at o.e.e.u.i.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:617)
at o.e.e.u.i.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:581)
at o.e.e.u.i.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:770)
at o.e.e.u.i.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401)
at o.e.e.u.i.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1214)
at o.e.u.i.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3261)
at o.e.u.i.WorkbenchPage.access$25(WorkbenchPage.java:3176)
at o.e.u.i.WorkbenchPage$10.run(WorkbenchPage.java:3158)
at o.e.s.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at o.e.u.i.WorkbenchPage.openEditor(WorkbenchPage.java:3153)
at o.e.u.i.WorkbenchPage.openEditor(WorkbenchPage.java:3117)
at o.e.u.i.WorkbenchPage.openEditor(WorkbenchPage.java:3107)
at o.e.u.i.IDE.openEditor(IDE.java:563)
at o.e.u.i.IDE.openEditor(IDE.java:518)
at o.e.j.i.u.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
at o.e.j.i.u.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
at o.e.j.i.actions.OpenAction.run(OpenAction.java:256)
at o.e.j.i.actions.OpenAction.run(OpenAction.java:221)
at o.e.j.i.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:271)
at o.e.j.i.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:249)
at o.e.j.i.u.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
at o.e.u.actions.RetargetAction.run(RetargetAction.java:225)
at o.e.u.navigator.CommonNavigatorManager$2.open(CommonNavigatorManager.java:191)
at o.e.u.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:46)
at o.e.j.viewers.StructuredViewer$2.run(StructuredViewer.java:855)
at o.e.c.r.SafeRunner.run(SafeRunner.java:42)
at o.e.u.i.JFaceUtil$1.run(JFaceUtil.java:50)
at o.e.j.util.SafeRunnable.run(SafeRunnable.java:173)
at o.e.j.viewers.StructuredViewer.fireOpen(StructuredViewer.java:852)
at o.e.j.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1169)
at o.e.u.navigator.CommonViewer.handleOpen(CommonViewer.java:451)
at o.e.j.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)
at o.e.j.util.OpenStrategy.access$2(OpenStrategy.java:272)
at o.e.j.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)
at o.e.s.w.EventTable.sendEvent(EventTable.java:84)
at o.e.s.w.Display.sendEvent(Display.java:4418)
at o.e.s.w.Widget.sendEvent(Widget.java:1079)
at o.e.s.w.Display.runDeferredEvents(Display.java:4236)
at o.e.s.w.Display.readAndDispatch(Display.java:3824)
at o.e.e.u.i.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at o.e.c.d.observable.Realm.runWithDefault(Realm.java:336)
at o.e.e.u.i.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at o.e.e.u.i.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at o.e.u.i.Workbench$5.run(Workbench.java:693)
at o.e.c.d.observable.Realm.runWithDefault(Realm.java:336)
at o.e.u.i.Workbench.createAndRunWorkbench(Workbench.java:610)
at o.e.u.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at o.e.u.i.ide.application.IDEApplication.start(IDEApplication.java:138)
at o.e.e.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at o.e.c.r.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at o.e.c.r.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at o.e.c.r.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at o.e.c.r.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at o.e.e.launcher.Main.invokeFramework(Main.java:673)
at o.e.e.launcher.Main.basicRun(Main.java:610)
at o.e.e.launcher.Main.run(Main.java:1519)Caused by: java.lang.IllegalStateException: The node process has crashed.
Last 4 lines of error console output:
Bridge type: classifier
Running with TS version:2.2.2
Initializing endpoint classifier in version 2.2.2
C:\HES\software\Node.js\node-v8.1.2-win-x64\node.exe: src\node_file.cc:554: Assertion `args[0]->IsString()’ failed.
at c.g.e.t.services.internal.Bridge.processRequest(Bridge.java:222)
at c.g.e.t.services.internal.Bridge.call(Bridge.java:158)
… 125 more
Brian FernandesModeratorjeff,
Sorry we didn’t catch your post over the weekend. The problem is the fact that your system Node version is 8.x – a version that our internal tooling (that runs the editor functions like validation, content assist, etc.) won’t work with. Note that this constraint only exists for the version of Node used by our tooling – version 8.x can be used to create Angular projects, for instance.
We’re working on adding support for this version in future releases, and in the meanwhile, adding a warning about using this version to the preference page on which you made that change, so users are aware of the constraint up-front.
If you can change your system version of Node to anything < 8.x, the tooling should work as before. Apologies for the inconvenience caused and we hope to sort this out soon.
jeffatworkParticipantThanks, Brian! That did the trick – I just pointed it to a 6.10.3 installation.
Brian FernandesModeratorJeff,
Not sure why I was suggesting changing the system version; pointing to another version was exactly the right thing to do (and what I intended to suggest) 🙂 Glad it worked, and thank you for the update!
-
AuthorPosts