Mac Appcelerator Studio: An error has occurred - appcelerator

When trying to run Appcelerator Studio getting this error
Ive tried to reinstall Studio with all libraries and caches, nothing works.
OSX 10.10.4 (14E46)
Java 8 Update 60
An error has occurred.
See the log file
~/Appcelerator_Studio_Workspace/.metadata/.log.
!SESSION 2015-08-20 19:53:03.688 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.9.0-ea
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=ru_RU
Framework arguments: -keyring /Users/user/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/user/.eclipse_keyring -consoleLog -showlocation
!ENTRY org.eclipse.core.resources 2 10035 2015-08-20 19:53:05.671
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.core.net 1 0 2015-08-20 19:53:06.419
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.osgi 4 0 2015-08-20 19:53:17.256
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/w3c/dom/stylesheets/StyleSheetList
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:759)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 44 more
!ENTRY org.eclipse.core.jobs 2 2 2015-08-20 19:53:17.680
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.usage.internal.DefaultAnalyticsEventHandler$1

To fix this issue you need to switch JavaVirtualMachines from jdk1.9.0.jdk to jdk1.7.0_80.jdk or 1.6.0.jdk
/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/

Related

Cannot launch remote GUI from an aplication in RHEL 8.5 using putty+xming

Please I need your help in order to launch Knime Analitycs Platform 4.5.2 located in a Red Hat 8.5 O.S.
It cannot launch due an eclipse.org error, I’ve attached the log results in order to your gentle revision.
In addition a made an laboratory in my machine using Knime Analitycs Platform, and RHEL 8.5 virtualizing via VMWare, Putty and Xming to enable remote graphical interface, and works perfectly using ./knime command.
Arquitechture details of Production Environment and Lab Environment
O. S.: Red Hat 8.5
Java version: 1.8.0_302
Knime Analytics Platform: 4.5.2 Linux
Please let me know if somebody ran this issue too.
Last lines of log:
!SESSION 2022-05-24 10:30:08.774 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.10
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2022-05-24 10:30:09.973
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4915)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1136)
at org.eclipse.swt.widgets.Display.create(Display.java:1076)
at org.eclipse.swt.graphics.Device.(Device.java:166)
at org.eclipse.swt.widgets.Display.(Display.java:640)
at org.eclipse.swt.widgets.Display.(Display.java:631)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:742)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:168)
at org.knime.product.rcp.KNIMEApplication.createDisplay(KNIMEApplication.java:257)
at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:117)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)
Thanks in advance for your prompt response

Unable to add files for review using P4 plugin for smartbear code collaborator

I've recently set up my mac for code reviewing using p4v for file syncing/ changelists and ccollab for the review platform. Versions are:
MacOS - 10.15.7
Perforce - P4V/MACOSX1015X86_64/2020.1/1966006
ccollab client - 13_1_13100
Via the coollabgui app, I have the SCM verified and connected with no errors. I am unable to add pending changelists for review, but I can add submitted changelists. What's more is I'm able to submit files for review by manually uploading them through the web client. The big headache comes when I attempt to use the smartbear custom tool that installation builds into P4V. Attempting to right-click and add any changelist results in the following error:
No SCM Configuration could be determined
Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or director
I have reviewed the following other topics on the smartbear forums and found no solutions:
https://community.smartbear.com/t5/Collaborator/quot-No-SCM-could-be-determined-quot-p4-plugin-does-...
https://community.smartbear.com/t5/Collaborator/Config-p4-plugin-on-Mac/m-p/44317
Any ideas? It's looking like this could be a potential bug.
latest log info is:
!SESSION 2020-11-30 09:13:08.279 -----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
!ENTRY com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:09.284
!MESSAGE Collaborator Enterprise version 13.1.13100
!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.024
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-1 created by thread ModalContext
!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.035
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-2 created by thread ModalContext
!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.060
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-3 created by thread ModalContext
!SESSION 2020-11-30 09:13:26.372 -----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
!ENTRY com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:27.238
!MESSAGE Collaborator Enterprise version 13.1.13100
!ENTRY com.smartbear.collaborator.ui 4 0 2020-11-30 09:13:28.388
!MESSAGE No SCM Configuration could be determined
!STACK 0
com.smartbear.scm.ScmConfigurationException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:135)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:85)
at com.smartbear.scm.impl.perforce.PerforceSystem.getClientConfiguration(PerforceSystem.java:119)
at com.smartbear.scm.ScmUtils.requireScm(ScmUtils.java:591)
at com.smartbear.collaborator.ui.standalone.wizards.StandaloneScmConfigAddToReviewWizard$1.run(StandaloneScmConfigAddToReviewWizard.java:82)
at com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$AsyncWorkerThread.run(ProgressWizardDialog.java:231)
Caused by: com.smartbear.cmdline.ScmCommunicationException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
at com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:32)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.executeTextCmd(P4CliConn.java:147)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.<init>(P4CliConn.java:80)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:120)
... 5 more
Caused by: java.io.IOException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at com.smartbear.scm.cmd.impl.CommandRunner.run(CommandRunner.java:70)
at com.smartbear.scm.cmd.impl.AutoDebugCommandRunner.run(AutoDebugCommandRunner.java:48)
at com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:27)
... 8 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 12 more
Just heard back from the smartbear community and got it fixed. In case someone else tries googling their way to success and needs the answer, it was this for me:
In the P4v client, select "Tools | Manage custom Tools | SmartBear - Add to Review" and click "Edit".
In the "Arguments" field, add the "--p4 your_current_path_to_p4" option after "--scm perforce".
Note: Don't change any other options.
Click "OK", restart the P4v client, and try to reproduce the issue.

Error installing IBM Rational Software Architect for MacOs

I'm able to successfully install RSA 9.6 on my MacBook, but when I try to start the application I get the following error written out into my log. Any help would be gratefully welcomed
!SESSION Fri Jun 30 08:21:28 CDT 2017 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2017-06-30 08:21:28.394
!MESSAGE Could not find extension: com.ibm.cds
!SESSION 2017-06-30 08:21:28.353 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product com.ibm.rational.rsa.product.v90.ide
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -clean -product com.ibm.rational.rsa.product.v90.ide
!ENTRY org.eclipse.osgi 4 0 2017-06-30 08:21:29.088
!MESSAGE Bundle com.ibm.cds not found.
!ENTRY org.eclipse.equinox.app 0 0 2017-06-30 08:21:29.379
!MESSAGE Product com.ibm.rational.rsa.product.v90.ide could not be found.
!ENTRY org.eclipse.osgi 4 0 2017-06-30 08:21:36.198
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
I found this on https://www.ibm.com/developerworks/community/forums/html/topic?id=9ed43812-9c67-4fd5-921b-f7acb405e12b. The short answer is edit the following file:
/Applications/IBM/SoftwareDeliveryPlatform/RSA.app/Contents/MacOS/ExecuteScript
And change the one line to specify v9.6 instead of 9.5. I tried an earlier version of RSA (9.1) and it had a similar problem of pointing to 9.0. Really sad because this is a very powerful tool.
Change $ECLIPSE_APP -product com.ibm.rational.rsa.product.v95.ide &
to $ECLIPSE_APP -product com.ibm.rational.rsa.product.v96.ide &
https://www.ibm.com/developerworks/community/forums/html/topic?id=9ed43812-9c67-4fd5-921b-f7acb405e12b

Warning when starting up the RCP Application

I am working on eclipse kepler rcp. I am using osgi bundles. when i startup the application I am always getting the following message
Enabling components of bundle com.p2pframework.main did not complete in 30000 ms
!ENTRY org.eclipse.equinox.ds 2 0 2014-03-10 00:03:09.774 !MESSAGE
[SCR - WorkThread] Timeout occurred! Thread was blocked on processing
[QueuedJob] WorkPerformer:
org.eclipse.equinox.internal.ds.SCRManager#104e583; actionType 1

How to setup a proper equinox installation

I googled this for hours but I couldn't find anything useful.
I have developed some OSGi bundles and now I want to run them outside of the Eclipse IDE in the equinox container, but it always throws an exception:
!SESSION 2011-01-03 14:26:58.958 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_CH
Framework arguments: -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -console;
Command-line arguments: -consoleLog -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -console;
!ENTRY org.eclipse.osgi 4 0 2011-01-03 14:26:59.567
!MESSAGE Error starting bundle: initial#reference:file:javax.transaction_1.1.1.v201006150915.jar/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started: javax.transaction_1.1.1.v201006150915 [49]
at org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:228)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundle(EclipseStarter.java:1133)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1126)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:646)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:301)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
init dd core...
!ENTRY org.eclipse.osgi 4 0 2011-01-03 14:26:59.773
!MESSAGE Bundle javax.transaction_1.1.1.v201006150915 [49] is not active.
(the "init dd core..." text comes properly from my project.)
I have the following file structure:
+configuration
+config.ini
+ch.thobens.dd.commands_1.0.0.jar
+ch.thobens.dd.common.items_1.0.0.jar
+ch.thobens.dd.core_1.0.0.jar
+ch.thobens.dd.game_1.0.0.jar
+javax.transaction_1.1.1.v201006150915.jar
+org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar
+org.eclipse.core.jobs_3.5.0.v20100515.jar
+org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar
+org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar
+org.eclipse.core.runtime_3.6.0.v20100505.jar
+org.eclipse.equinox.app_1.3.0.v20100512.jar
+org.eclipse.equinox.common_3.6.0.v20100503.jar
+org.eclipse.equinox.preferences_3.3.0.v20100503.jar
+org.eclipse.equinox.registry_3.5.0.v20100503.jar
+org.eclipse.osgi.services_3.2.100.v20100503.jar
+org.eclipse.osgi_3.6.0.v20100517.jar
and my config.ini file has the following contents:
osgi.bundles=javax.transaction_1.1.1.v201006150915.jar#start, org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar#start, org.eclipse.core.jobs_3.5.0.v20100515.jar#start, org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar#start,org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar#start, org.eclipse.core.runtime_3.6.0.v20100505.jar#start, org.eclipse.equinox.app_1.3.0.v20100512.jar#start, org.eclipse.equinox.common_3.6.0.v20100503.jar#2:start, org.eclipse.equinox.preferences_3.3.0.v20100503.jar#start, org.eclipse.equinox.registry_3.5.0.v20100503.jar#start, org.eclipse.osgi.services_3.2.100.v20100503.jar#start, ch.thobens.dd.commands_1.0.0.jar#start, ch.thobens.dd.common.items_1.0.0.jar#start, ch.thobens.dd.core_1.0.0.jar#start, ch.thobens.dd.game_1.0.0.jar#1:start
eclipse.ignoreApp=true
osgi.noShutdown=true
The bundles that are listed here are the same bundles that are selected if I select "Add required Plug-ins" in the run configuration. If I run these bundles from the Eclipse PDE, it works fine.
Additionally, there is no difference between running the command
java -jar org.eclipse.osgi_3.6.0.v20100517.jar -consoleLog -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true
and when I use the equinox launcher (via eclipse.exe).
Thanks for any help
I found the solution (through the eclipse product exporter):
The javax.transaction_1.1.1.v201006150915.jar is not an OSGi bundle itself, it's an OSGi framework extension.
I had to change the config.ini file:
Remove the entry for the
javax_transaction bundle in the
property osgi.bundles
added the following line:
osgi.framework.extensions=javax.transaction_1.1.1.v201006150915.jar

Resources