Genuitec » All Posts https://www.genuitec.com/forums/topics/webclipse/webclipse-help/feed/ Sat, 18 Aug 2018 16:39:33 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://www.genuitec.com/forums/topic/typescript-plugin-not-working/#post-596740 <![CDATA[Typescript plugin not working]]> https://www.genuitec.com/forums/topic/typescript-plugin-not-working/#post-596740 Sat, 18 Aug 2018 20:39:21 +0000 thechad1 My Angular IDE installation stopped recognizing *.ts files. I’ve uninstalled and reinstalled both the Typescript 2017 plugin and the Angular IDE 2017 plugin a few times and both show “Installed” in the Eclipse Marketplace, but I do not see any TypeScript plugins installed from the About Eclipse > Installation Details window.

Any ideas?

Attachments:
You must be logged in to view attached files.
]]>
https://www.genuitec.com/forums/topic/typescript-files-are-not-compiled/#post-596575 <![CDATA[Reply To: TypeScript files are not compiled.]]> https://www.genuitec.com/forums/topic/typescript-files-are-not-compiled/#post-596575 Thu, 16 Aug 2018 08:03:24 +0000 support-swapna Refactoring support is out with our latest CodeMix release, CI 2018.8.15. Please update (Help > Check for Updates) and let us know how it works for you.

–Swapna
Genuitec Support

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596377 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596377 Tue, 14 Aug 2018 21:39:19 +0000 timwebb Sorry, I should have been more clear to do so in the context of a fresh STS that doesn’t have the low-level corruption.

You can delete the com.genuitec.eclipse.code.* plugins from your plugins/ directory to get up and going again.

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596374 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596374 Tue, 14 Aug 2018 21:29:03 +0000 brajarrod I downloaded codemix now eclipse wont start at all:

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
osgi> Aug 14, 2018 4:27:35 PM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [0.0.0.0:60832]
Aug 14, 2018 4:27:35 PM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.
Aug 14, 2018 4:27:35 PM org.glassfish.tyrus.server.Server start
INFO: WebSocket Registered apps: URLs all start with ws://localhost:60832
Aug 14, 2018 4:27:35 PM org.glassfish.tyrus.server.Server start
INFO: WebSocket server started.
!SESSION 2018-08-14 16:26:25.988 ———————————————–
eclipse.buildId=3.9.4.201804120943-RELEASE-e46
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clean -console -consolelog -product org.springsource.sts.ide

!ENTRY org.eclipse.osgi 2 0 2018-08-14 16:27:51.357
!MESSAGE While loading class “org.eclipse.core.internal.utils.StringPool”, thread “Thread[Worker-16,5,main]” timed out waiting (10001ms) for thread “Thread[main,6,main]” to finish starting bundle “org.eclipse.core.resources_3.11.1.v20161107-2032 [230]”. To avoid deadlock, thread “Thread[Worker-16,5,main]” is proceeding but “org.eclipse.core.internal.utils.StringPool” may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity=”org.eclipse.core.resources”; type=”osgi.bundle”; version:Version=”3.11.1.v20161107-2032″; singleton:=”true” [id=230] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.internal.utils.StringPoolJob.shareStrings(StringPoolJob.java:118)
at org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:100)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 10 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
… 14 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 10 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.internal.utils.StringPoolJob.shareStrings(StringPoolJob.java:118)
at org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:100)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.osgi 2 0 2018-08-14 16:28:01.364
!MESSAGE While loading class “org.eclipse.core.internal.utils.StringPoolJob$1”, thread “Thread[Worker-16,5,main]” timed out waiting (10001ms) for thread “Thread[main,6,main]” to finish starting bundle “org.eclipse.core.resources_3.11.1.v20161107-2032 [230]”. To avoid deadlock, thread “Thread[Worker-16,5,main]” is proceeding but “org.eclipse.core.internal.utils.StringPoolJob$1″ may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity=”org.eclipse.core.resources”; type=”osgi.bundle”; version:Version=”3.11.1.v20161107-2032″; singleton:=”true” [id=230] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.internal.utils.StringPoolJob.shareStrings(StringPoolJob.java:123)
at org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:100)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 10 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
… 14 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 10 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.internal.utils.StringPoolJob.shareStrings(StringPoolJob.java:123)
at org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:100)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596345 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596345 Tue, 14 Aug 2018 19:06:49 +0000 timwebb You could install alongside to your STS setup CodeMix, which will get you up and going with base TypeScript development.
https://marketplace.eclipse.org/content/codemix

Trying to create the project failed after you finished the wizard? Nothing in the Terminal+ view to indicate the failure or the Error Log?

Is it possible like something else changed on your system like default Java version or system security policy update? :scratches head:

Tim

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596344 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596344 Tue, 14 Aug 2018 19:01:35 +0000 brajarrod Ok, I download Angular IDE stand alone. I can’t create a new project nor import one. It says check the console but there is nothing printed. The one thing I did see while installing it was the error that said folder directories with dot(s) “.” in them might cause errors for third party plugins. It’s a network requirement that firstname.lastname is our user folder but I can’t see why that would mess things up.

Is there a stand alone typescript editor?

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596342 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596342 Tue, 14 Aug 2018 18:52:04 +0000 timwebb Short of a quick new install of just STS + Angular IDE to get you going, I’m drawing a bit of a blank on what else to suggest. The fact that logback can’t also start indicates something low level it doesn’t like about the install but we don’t have anything specific to indicate what about the install or how to fix it. As you’ve mentioned, you’ve already uninstalled and reinstalled Angular IDE, which is removing and redownloading our plugins so it appears to be something lower level in your IDE.

I’ll let you know if we come up with anything else.

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596339 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596339 Tue, 14 Aug 2018 18:19:23 +0000 brajarrod I tried to start it from the console. It said it could not find the builder. I have attached an image.

Attachments:
You must be logged in to view attached files.
]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596337 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596337 Tue, 14 Aug 2018 18:14:59 +0000 timwebb Thanks for the logs — from the console, if you run start com.genuitec.eclipse.typescript does it also mention the logback stuff?

It really seems like something else impacting the ability for the Eclipse install to run fully. Anything else changed recently like Java version, …

I imagine you have a lot of plugins installed so reinstalling Angular IDE into another Eclipse or downloading the standalone version is too onerous?

Given uninstalling and reinstalling Angular IDE itself in your Eclipse instance has not fixed the issue, and you are getting a failure in logback, it seems like something is misbehaving in Eclipse proper in a way that causes Angular to now fail.

Maybe getting the error specific to the typescript plugin, if not logback, will tell us more…

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596336 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596336 Tue, 14 Aug 2018 18:09:40 +0000 brajarrod This is the sts.ini file:

So it runs clean every time.

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596335 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596335 Tue, 14 Aug 2018 18:08:26 +0000 brajarrod here is the logs from console:

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596331 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/page/2/#post-596331 Tue, 14 Aug 2018 17:16:09 +0000 timwebb Very much so! Nice find.

If you run Eclipse with -console -consolelog, are you able to see any specific errors during the startup of the typescript plugin? I couldn’t find anything in the logs you shared, but perhaps it rolled over.

If you run with -console, you can also try an explicit start com.genuitec.eclipse.typescript to see what error you get when it tries to run.

It looks like we’re close to having the right data to get you back up!

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596329 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596329 Tue, 14 Aug 2018 17:12:20 +0000 brajarrod Also, the configuration has the typescript plugin still in starting mode:

com.genuitec.eclipse.typescript (2.5.3.201808091743) “TypeScript” [Starting]

Not Active or Resolved.

Could that be an issue?

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596328 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596328 Tue, 14 Aug 2018 17:07:36 +0000 brajarrod Does the version of the typescript facet need to match the plugin version?
This is in the org.eclipse.wst.common.project.facet.core.xml :

The plugin version is 2.5.3.2018080917

]]>
https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596326 <![CDATA[Reply To: Typescript Editor is not working after recent update]]> https://www.genuitec.com/forums/topic/typescript-editor-is-not-working-after-recent-update/#post-596326 Tue, 14 Aug 2018 16:08:40 +0000 brajarrod Ok. Created a new workspace and tried to create a new angular project. I got the same error:

java.lang.NoClassDefFoundError: com/genuitec/eclipse/typescript/facet/TypeScriptInstallDataModelProvider
at com.genuitec.eclipse.modernweb.angular2.ui.project.NewAngularProjectDataModelOperation.execute(NewAngularProjectDataModelOperation.java:98)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:220)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.ClassNotFoundException: com.genuitec.eclipse.typescript.facet.TypeScriptInstallDataModelProvider cannot be found by com.genuitec.eclipse.modernweb.angular2.ui_1.11.0.201808061657
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 12 more

]]>