Find your content:

Search form

You are here

Deleting a class with IDE - can't connect to SF?

 
Share

Can anyone shed some light on this error? I cannot connect to either Production OR my Sandbox with the IDE. :-( Thanks.

Screenshot of failure

This happens after entering user/pass/token in and selecting to get "all". I've tried searching keywords from the error but am coming up with no help.

Windows 7 64-bit with 64-bit IDE standalone package.


Attribution to: AMM

Possible Suggestion/Solution #1

This is an overwealming Pain...

You can try this: http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

basically adding -clean and then running eclipse

Something else you can try if that fails:

  1. create a new project
  2. Delete Eclipse and reinstall

Attribution to: Salesforce Wizard

Possible Suggestion/Solution #2

Just loaded Classes and Triggers, after trying reinstallation, the -clean switch, deleting/recreating the projects, etc.


Attribution to: AMM

Possible Suggestion/Solution #3

This looks to me an error because you have the latest version of jdk installed and force IDE is not compatible with it.

The way i handle is by going to Window -> preferences in ForceIDE top menu.

You will get a dialog window, Click on Java ->Installed JRE and uncheck jre7. Restart ForceIDE it should work.

You can look at answer from Mark ponds and my answer with screenshot to a similar question. In Force.con IDE - Error while deploying to Server


Attribution to: Prady

Possible Suggestion/Solution #4

This error is presented (not just during deployments) when Java7 (1.7) is installed.

Removing Java7 from the machine so that Eclipse cannot reference it, should revert you back to having just the 1.6 JDK available and you'll be back in business.

Worst case, remove all installed versions of Java and then download & install JDK 1.6 again. If you're running a 32-bit version of Eclipse be sure to install the 32-bit JDK.

this happenns when JRE is updated from 1.6 to a higher version. The way i handle is by going to Window -> preferences in ForceIDE top menu.

another alternative is, You will get a dialog window, Click on Java ->Installed JRE and uncheck jre7. Restart ForceIDE it should work.

enter image description here


Attribution to: Axaykumar Varu

Possible Suggestion/Solution #5

An answer was obtained on HOW TO DELETE TRIGGERS/CLASSES from Production in another thread: Deleting a Class with IDE - cannot delete from Production?

The specific answer to this one is unclear as another JRE was installed (but I stuck with JRE7), AND other things were tried. It is suspected that the JRE solved it, but I am unsure. :-/

Thanks to all who helped!


Attribution to: AMM
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/5583

My Block Status

My Block Content