You need to sign in to do that
Don't have an account?
hemm
Issues getting the Apex Toolkit for Eclipse working
I have tried getting the new Apex Toolkit for Eclipse setup, but am not having any success. I was originally trying on an existing Eclipse 3.2 install that I have and was getting an error. I decided to start clean, so I downloaded the Eclipse 3.2 SDK again today. I then followed the exact instructions at https://wiki.apexdevnet.com/index.php/Apex_Toolkit_for_Eclipse.
I am receiving the same error in both of my 3.2 installs. When I try and create a new Apex Project, I get the following error:
Code:
Any suggestions?
I am receiving the same error in both of my 3.2 installs. When I try and create a new Apex Project, I get the following error:
Code:
The selected wizard could not be started. Reason: Plugin com.appexchange.toolkit was unable to load class com.appexchange.plugin.wizards.AppExchangeProjectWizard.
Any suggestions?
If it helps, the link below will show you a screen shot of my Manage Configuration screen in Eclipse.
My Eclipse Install
Any help you can provide is much appreciated.
Me too facing the same problem
I got a Error Saying
Plug-in com.appexchange.toolkit was unable to load class com.appexchange.plugin.wizards.AppExchangeProjectWizard.
- J2SE Runtime Environment 5.0 Update 6
- J2SE Runtime Environment 5.0 Update 9
- Java 2 Runtime Environment, SE v1.4.2_10
- Java 2 SDK, SE v1.4.2_10
I uninstalled all of them and then reinstalled Java runtime from http://www.java.com/en/After I did that, I no longer got the error and all was working fine. The docs should probably be updated. I think I could do it since it's a wiki, but I am not too clear on the protocol for updating the site.
I followed the ADN site instructions also placed Java Runtime 1.5 still getting error. Question is I'm running through a proxy could this be a problem? Any suggestions would be grateful.
Thanks,
Al
java.lang.IllegalArgumentException:
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46)
at org.eclipse.core.runtime.Status.setMessage(Status.java:178)
at org.eclipse.core.runtime.Status.<init>(Status.java:85)
at org.eclipse.core.runtime.MultiStatus.<init>(MultiStatus.java:63)
at com.appexchange.plugin.utils.Util.showError(Util.java:213)
at com.appexchange.plugin.editors.scontroleditor.SControlEditor.createPages(SControlEditor.java:149)
The only difference is that my home connection is not behind a proxy.
Jean-Pierre
I don't have a proxy, so I unfortunately was not able to test it. Get the new version and give it a go. If it doesn't work, post a similar stack trace for me and I'll try to work it out.
Tried the new version (8.0.1010 right?) this morning. I got the same problem, but the stack seems to be different. Here it is:
java.lang.ArrayIndexOutOfBoundsException: 1
at com.appexchange.plugin.wrappers.ConnectionException.parseMessage(ConnectionException.java:50)
at com.appexchange.plugin.wrappers.ConnectionException.<init>(ConnectionException.java:28)
at com.appexchange.plugin.wrappers.BindingWrapper.doLogin(BindingWrapper.java:72)
at com.appexchange.plugin.wrappers.BindingWrapper.<init>(BindingWrapper.java:52)
at com.appexchange.plugin.AppExchangePlugin.addBinding(AppExchangePlugin.java:172)
at com.appexchange.plugin.AppExchangePlugin.getBinding(AppExchangePlugin.java:235)
at com.appexchange.plugin.editors.scontroleditor.SControlEditor.init(SControlEditor.java:502)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:840)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
Happy bug hunting!
Jean-Pierre
234.33 directly.
Jean-Pierre
On the proxy that I was using, if I didn't entry the username and password for the proxy server, the proxy server caused a login box to show and I was able to authenticate to it.
If the proxy does not require authentication, it works fine.
Give it a try and let me know.
Cheers
But when i click finish on last step of Apex creation it throws following error
Could not initialize class org.apache.axis.encoding.ser.CalendarDeserializer
com.appexchange.plugin.wizards.ConnectionPage.applySettings (ConnectionPage.java 191)
com.appexchange.plugin.wizards.AppExchangeProjectWizard.performFinish (AppExchangeProjectWizard.java 60)
org.eclipse.jface.wizard.WizardDialog.finishPressed (WizardDialog.java 680)
org.eclipse.jface.wizard.WizardDialog.buttonPressed (WizardDialog.java 355)
org.eclipse.jface.dialogs.Dialog$3.widgetSelected (Dialog.java 660)
org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java 90)
org.eclipse.swt.widgets.EventTable.sendEvent (EventTable.java 66)
org.eclipse.swt.widgets.Widget.sendEvent (Widget.java 928)
org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java 3348)
org.eclipse.swt.widgets.Display.readAndDispatch (Display.java 2968)
org.eclipse.jface.window.Window.runEventLoop (Window.java 820)
org.eclipse.jface.window.Window.open (Window.java 796)
org.eclipse.ui.actions.NewProjectAction.run (NewProjectAction.java 116)
org.eclipse.jface.action.Action.runWithEvent (Action.java 499)
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java 539)
org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java 488)
org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java 400)
org.eclipse.swt.widgets.EventTable.sendEvent (EventTable.java 66)
org.eclipse.swt.widgets.Widget.sendEvent (Widget.java 928)
org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java 3348)
org.eclipse.swt.widgets.Display.readAndDispatch (Display.java 2968)
org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java 1914)
org.eclipse.ui.internal.Workbench.runUI (Workbench.java 1878)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java 419)
org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java 149)
org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java 95)
org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java 78)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java 92)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java 68)
org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java 400)
org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java 177)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java -2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java 39)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java 25)
java.lang.reflect.Method.invoke (Method.java 597)
org.eclipse.core.launcher.Main.invokeFramework (Main.java 336)
org.eclipse.core.launcher.Main.basicRun (Main.java 280)
org.eclipse.core.launcher.Main.run (Main.java 977)
org.eclipse.core.launcher.Main.main (Main.java 952)
Also no Scontrols come under the project explorer
I still cant't get it working.
I have problems with the properties editor of the Apex projet when I try to add proxy informations.
Here is the stack trace:
!ENTRY org.eclipse.ui 4 0 2007-02-05 14:22:38.512
!MESSAGE Unable to create editor ID com.appexchange.plugin.editors.schemaeditor.SchemaEditor: An exception was thrown during initialization
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1
at com.appexchange.plugin.wrappers.ConnectionException.parseMessage(ConnectionException.java:50)
at com.appexchange.plugin.wrappers.ConnectionException.<init>(ConnectionException.java:28)
at com.appexchange.plugin.wrappers.BindingWrapper.doLogin(BindingWrapper.java:72)
at com.appexchange.plugin.wrappers.BindingWrapper.<init>(BindingWrapper.java:52)
at com.appexchange.plugin.AppExchangePlugin.addBinding(AppExchangePlugin.java:172)
at com.appexchange.plugin.AppExchangePlugin.getBinding(AppExchangePlugin.java:235)
at com.appexchange.plugin.editors.schemaeditor.SchemaEditor2.init(SchemaEditor2.java:231)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:840)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
I tried to manually edit .settings\com.appexchange.toolkit.prefs in my apex projet, but still no luck.
Here is the file content:
#Mon Feb 05 14:13:36 CET 2007
\!PropRest\!=true
\!PropUseProxy\!=true
eclipse.preferences.version=1
endpoint=https\://www.salesforce.com/services/Soap/u/8.0
frontdoor=https\://na3.salesforce.com/
password=XXX
proxyPassword=
proxyPort=3XXX
proxyServer=p-XXX
proxyUsername=
readtimeout=10
username=jeanpierre.paris@XXX
Regards!
Jean-Pierre