- This topic has 5 replies, 4 voices, and was last updated 7 years, 7 months ago by support-swapna.
-
AuthorPosts
-
peblParticipantHi,
I have tried to install webclipse as an alternative to using VScode.
I am absolute new to nodejs/typescript some of this may be obvious to others.I am using
Eclipse SDK
Version: Oxygen (4.7)
Build id: I20170126-1030I have following notes:
1) I work in a big company which uses BeyondTrust, and not something I can turn off.
BeyondTrust does not work with cygwin (or git for windows portable).
However the company have added path exception for default installation of cygwin (c:/cygwin).
It would be nice if terminal+ could use the default installation instead of downloading to
%HOMEPATH%/.weblipse/*.
My eclipse/terminal+ ended up in a state where I had to stop/start eclipse.
I cannot cancel the running task under eclipse Progress.
(I can add the .webclipse/* path to registry to have terminal+ working for some time until registry is reset again < 60 min. At least enough to run npm install)2)
The projects tsconfig.json file had comments which meant a lot of errors in all src files.
I was not aware this was not allowed, and the error description gave no hint at all.3)
The project is using stable version of node.js, which is 6.10.0. I cannot chose that version in the drop down menu, only none-stable 7,*.4) When restarting I see a lot of errors from like genuitec:
java.lang.NullPointerException
at com.genuitec.eclipse.patches.internal.InstrumentationManager.<init>(InstrumentationManager.java:112)
at com.genuitec.eclipse.patches.internal.InstrumentationManager.getInstance(InstrumentationManager.java:72)
at com.genuitec.eclipse.patches.internal.InstrumentationWeaver.<init>(InstrumentationWeaver.java:10)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:236)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:108)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:748)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:429)
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:657)
at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:341)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:403)
at org.apache.felix.scr.impl.Activator.access$200(Activator.java:54)
at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:278)
at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
at org.apache.felix.utils.extender.AbstractExtender.addingBundle(AbstractExtender.java:192)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStart(Module.java:578)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1608)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)5) Also few of these
java.lang.ClassNotFoundException: com.genuitec.eclipse.patches.internal.InstrumentationWeaver cannot be found by com.genuitec.eclipse.patches_1.7.0.201702092116
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:975)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1002)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:859)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:823)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:508)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getSafeService(ServiceRegistrationImpl.java:447)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1275)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1263)
at org.eclipse.osgi.internal.weaving.WovenClassImpl.callHooks(WovenClassImpl.java:242)
at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:56)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:616)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:586)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:359)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:437)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:975)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1002)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:859)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:748)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:429)
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:657)
at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:341)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:403)
at org.apache.felix.scr.impl.Activator.access$200(Activator.java:54)
at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:278)
at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
at org.apache.felix.utils.extender.AbstractExtender.addingBundle(AbstractExtender.java:192)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStart(Module.java:578)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1608)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
timwebbKeymasterHello, great feedback! I’ll make sure the development team hears about 1 and 2.
Regarding Oxygen, the latest M5 milestone release of Oxygen has a regression in a low level API that Webclipse depends on. We have reported that issue to Eclipse and have investigated thus far unsuccessfully a workaround. I suggest either downloading the standalone Angular IDE package or working with Neon temporarily.
https://www.genuitec.com/products/angular-ide/
Cheers,
Tim
Brian FernandesModerator1) It would be nice if terminal+ could use the default installation instead of downloading to
%HOMEPATH%/.weblipse/*.On Windows, we use Git bash, which I admit is similar to Cygwin, but it’s not really the same. Are you suggesting that we allow the Terminal+ to run Cygwin instead of Git bash?
2)
The projects tsconfig.json file had comments which meant a lot of errors in all src files.
I was not aware this was not allowed, and the error description gave no hint at all.We could replicate this problem easily. We’ve filed bugs to ensure that correctly formatted comments in the tsconfig.json don’t cause issues, and if there are other problems in the tsconfig.json, you are notified instead of it silently failing.
3)
The project is using stable version of node.js, which is 6.10.0. I cannot chose that version in the drop down menu, only none-stable 7,*.While the drop down doesn’t list it, you should be able to simply type in the version and we will fetch it for you. In my wizard, I do see version 6.9.1 listed along with the 7.x versions – I’ll look into why it’s listing 6.9 when 6.10 is available.
Thank you again for your reports and suggestions, they’ve been very helpful.
peblParticipant1) Problem is that it close enough Cygwin (forking vice + aslr), that the injected dll by BeyondTrust, prevents forking i.e. running at all.
I don’t know your options here, but whatever shell that is started should optional be started from c:/cygwin. If that mean using a shell from there or installing something there for the user, or asking the user to go cygwininstall and manually install – I don’t have an opinion.
The problem I concrete have is;
In the typescript project, there is a package.json. If I press run as npm install, webclise opens terminal+ which will never start. No npm install is show stopper for the typescript project.2) Ahh, everyone I have talked to says that comments are not actually allowed in json. Many parsers allow it though.
3) I did not have option 6.*, but after some time I attempted write it manually, which worked.
4) I would have expected 5) (not 4) in OP) was independent of eclipse version.
I found some errors/bugs while testing. Should I create a new issue for each or does it matter as it is still beta?
Brian FernandesModerator1) Thank you for the explanation – we do understand the fundamental break, if terminal commands cannot run, a lot of the functionality is not useful / usable.
2) We do have to investigate in more detail as well, but this issue indicates that comments are indeed allowed: https://github.com/Microsoft/TypeScript/issues/4987
3) We’re looking into this one.
4) I believe all these errors would be related to the break in Oxygen M5. If you are interested, the bug is here. We’re putting out a hotfix release in the next day or so which should give us even better (though not perfect) behaviour with M5.
We’d be very interested in hearing about errors you find right away – you can group similar issues together when posting on the forum, but having several topics is not a problem either.
Thanks again for your time.
support-swapnaModeratorPebl,
We released an update to 2017 CI, CI 4a. It includes the fix for the comments in tsconfig.json file. Eclipse will still mark the comments with an error due to WTP JSON validator. But the tsconfig.json with the comments will be resolved correctly by our tooling.
Please update to CI 4a from menu Help > Webclipse > Check for Updates and let us know how it works for you.
–Swapna
MyEclipse Support -
AuthorPosts