at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:317)

I confirmed that the file on our servers is fine, so it looks like something got corrupted, either during your download, or after the download. Due to a local cache that’s sometimes maintained in Eclipse installations, this corrupted file could have stuck even through un-installations and re-installations.

My recommendation would be:
1) Uninstall Webclipse.
2) Shutdown / Restart.
3) Add the -clean argument to your eclipse.ini file and restart Eclipse. It may take a bit longer to start this once as the caches should be cleaned by this.
4) Go to your [eclipse_installation]/plugins/ folder and confirm that there aren’t any com.genuitec.eclipse.typescript_* folders. If you find any, shut down Eclipse and delete them.
5) Install Webclipse.

If this doesn’t fix the problem, it might help if you can try a fresh installation of Eclipse – if that’s too much trouble, I will try to provide alt steps.

Sorry you ran into this, it appears to have been some sort of update/unzip glitch. Will be here if you need additional help – do keep us posted.

Yes I was on 2017 CI 10. The update happened automatically when I shut down Eclipse. The next time I fired it up, the problem was there. I have tried removing every Webclipse plugin listed in the Installation Details screen, restarted Eclipse, reinstalled 2017 CI 11, but the problem is still there. Error log attached.

Because that isnotthe versionIam using changed that to9.5.0by pointing at:

/usr/bin/node

The Node.js version in the TypeScript preferences page is for use internally with our tooling and it does not affect the projects you created with Node >= 8.x versions. You do not have to change it to point to Node >= 8.x when you are working with projects created with Node >= 8.x version.

By default, the TypeScript preferences page points to Node 4.x version. Can you please click ‘Restore Defaults’ in the TypeScript preferences page, apply the changes, restart the IDE and check if you can open the .ts files in the TypeScript editor?

To rule out workspace specific problems, please switch to a new workspace, create an Angular project with the desired versions, do not make any changes to the TypeScript preferences page and check if you can open the .ts files.

————————
Ah it has to be a version less that 7 (sorry at first reading I thought it was only 8.x which has an issue). Since this is a bit of an annoyance, this is a priority to be addressed?
————————

I justed tested a new angular-cli project (node v 9), the editor isn’t able to open files in that version either not knowing this issue I thought it might be sporadic, but this seems to indicate it is completely broken?

Sorry that you are seeing this problem. There is a known issue with viewing .ts files in TypeScript editor with Node 8.x version but from the stacktrace it looks like you are working with Node 7.x.

Can you please give us some more details to help us investigate further?

1. How exactly did you upgrade the Angular CLI and Node versions? Did you make any changes to the project to support the upgraded Angular CLI and Node versions? If yes, then let us know where exactly you made those changes.

2. Can you please clarify if you have changed the Node.js version in the Typescript Preferences page ( Window > Preferences > TypeScript) ? Attached is the screenshot for your reference.

3. If you have changed the Node.js version in the TypeScript preferences page, then please try pointing to the Node version to anything < 8.x in the user home/.webclipse/nodejs folder, restart the IDE and check if the issue persists.If the problem persists with Node 7.x from the .webclipse folder, then try with Node 6.x.
Apologies for inconvenience caused. Please let us know how it works for you.
--Swapna
MyEclipse Support

Attachments:

]]>
https://www.genuitec.com/forums/topic/error-after-upgrading-node-angular-cli-failed-to-create-the-parts-controls/#post-554335https://www.genuitec.com/forums/topic/error-after-upgrading-node-angular-cli-failed-to-create-the-parts-controls/#post-554335
Mon, 12 Feb 2018 23:29:12 +0000quaternion2
When I click on a file such as app.module.ts I get the error: “Failed to create the part’s controls” where I would of course expect to see the contents of said file.

The program still runs fine when issuing “ng serve” but I have had to resort to the editor I was using prior to “Angular IDE”… which is working okay, but it gets some syntax highlighting wrong, and is missing the linting support, etc.

at com.genuitec.eclipse.typescript.services.internal.Bridge.call(Bridge.java:165)
at com.genuitec.eclipse.typescript.services.classifier.Classifier.getClassificationsForLines(Classifier.java:62)
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler.classifyLines(PresentationReconciler.java:277)
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler.createPresentation(PresentationReconciler.java:246)
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler.processEvent(PresentationReconciler.java:132)
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler.access$0(PresentationReconciler.java:123)
at com.genuitec.eclipse.typescript.text.reconciler.PresentationReconciler$MyTextListener.textChanged(PresentationReconciler.java:389)
at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2699)
at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3320)
at org.eclipse.jface.text.TextViewer.initializeWidgetContents(TextViewer.java:3368)
at org.eclipse.jface.text.TextViewer.setVisibleDocument(TextViewer.java:3407)
at org.eclipse.jface.text.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:691)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2795)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:634)
at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:365)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:584)
at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3995)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3465)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:55)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:445)
at com.genuitec.eclipse.typescript.text.TypeScriptEditor.createPartControl(TypeScriptEditor.java:474)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:150)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
at org.eclipse.ui.internal.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:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:931)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:104)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5414)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
at
… REST OMITTED

Unfortunately this issue is rooted in NPM, sporadically occurring on Windows systems for a variety of permission related issues.

Could you please try the following suggestions to see if any of them resolve your problem:

1) Clean the npm cache by usingnpm cache clean
2) Disable AV software like Windows Defender or any other external Antivirus software you have
3) Try using an different version of NPM, like NPM 5.6. You can also try others in the 5.x series. If none of these work, you could also try NPM 3.x or 4.x – we’ve noticed that this problem typically occurs only with NPM 5.

Do let us know what works for you, or if you still experience issues.

Note: The deletion prompt does have a No / Cancel button that you can click to prevent the project from being deleted.

]]>
https://www.genuitec.com/forums/topic/web-eclipse-delete-project-automatically/#post-550187https://www.genuitec.com/forums/topic/web-eclipse-delete-project-automatically/#post-550187
Thu, 01 Feb 2018 14:19:09 +0000vinhson119
This is the first time I use web eclipse. Before I use the plugin for eclipse (spring tool suite) but I got a problem with that: my STS cannot make import automatically!
]]>
https://www.genuitec.com/forums/topic/web-eclipse-delete-project-automatically/#post-550184https://www.genuitec.com/forums/topic/web-eclipse-delete-project-automatically/#post-550184
Thu, 01 Feb 2018 14:16:19 +0000vinhson119
When I import an angular project into web eclipse. I got error message and see my project was deleted automatically. What happens with web eclipse? How can I import project normally?

]]>
https://www.genuitec.com/forums/topic/unable-to-create-an-angular-project/#post-549434https://www.genuitec.com/forums/topic/unable-to-create-an-angular-project/#post-549434
Sat, 27 Jan 2018 09:53:05 +0000ugog
Well, your solution didn’t work. So I uninstalled webclipse from eclipse (oxygen), uninstalled git, reinstalleg a newer version of git (2.16.1), then I reinstalled webclipse into eclipse. I was able to create a new Angular project with just a few (14) warning, that I assume I can ignore. Are they someway important?
Now I have a 300MB project made of 35243 files in 4678 folders.
I’m a bit confused as I don’t know were to start: I should study, I think. Is there a tutorial that teaches how such a project is organized?
]]>