You need to sign in to do that
Don't have an account?

Very strange IDE error occuring today
This just started today (9/26/2011) and won't let me save the file to force.com. The file is a long existing apex class. Only making some minor changes.
Save error: Unable to perform save on all files:
com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor
I deleted the whole project and re-added it. I was able to get everything back, then tried to make changes again. Same error. I tried to refresh my file from the ORG and received a pop up with the same error.
I've seen this a couple of times in the past and each time its been because Java 1.7 has been installed onto my system. If this becomes the default JVM, then it breaks the IDE. I recall I was able to workaround this once by changing the default JVM, but the last couple of times I've simply removed 1.7 and its all started to behave again.
All Answers
I've seen this a couple of times in the past and each time its been because Java 1.7 has been installed onto my system. If this becomes the default JVM, then it breaks the IDE. I recall I was able to workaround this once by changing the default JVM, but the last couple of times I've simply removed 1.7 and its all started to behave again.
Thanks Bob, nailed it
thank you very much, it works!!!!
Thank you for this!
Thanks, it worked for me also.
Spot On! Thanks!
I am using the IDE for the first time and gettig the same error
I have jre7 in my program files, and jre6 in my program files(x86)
What should I do?
Thanks it worked uninstalling and reinstalling the JVM,
Cheers!!!
I received a similar error. Posting it below for reference. Trying out the fix now.
"Factory exception occurred when marshalling package manifest into DOM document, please make sure package manifest is well-form and present in proper location.
Reason:
com.salesforce.com.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor"
TKS, BOB....
HI bob,
I´ve this error message in my class
Multiple markers at this line
- File only saved locally, not to server
- Save error: Unable to perform save on all files: com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName
cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor
MY eclipse is 3.6 - Helios
I´ve seen your message to solve this but i don´t understand where I must remove the Java 1.7, if is in the folder of eclipse or in system. Can you help me please?
I´m sorry but I´m new in SF.
Thanks
I've tended to uninstall from Eclipse in the past, but you can change the version of java via Eclipse Properties -> Java -> Installed JREs and remove the 1.7 definition. I've not done this for a while though,so can't guarantee it still works.
Thanks for your help,
I tried to delete the JRE7 and install the JRE6 but the error still appears.
If you don't want to mess with your JRE, try a solution from this thread:
http://boards.developerforce.com/t5/General-Development/Unable-to-refresh-resource/td-p/205678/highlight/false
All I had to do to fix this same problem was switch my workspace, then try again. MUCH easier solution.
(For the record, I'm running JRE 7)
JRE 7 (updated post above)
The solution of switching the workspace to the same workspace worked for me. But restarting eclipse didn't work.
thanks for the help
Check out the customer portal implementation guide at:
http://login.salesforce.com/help/doc/en/salesforce_customer_portal_implementation_guide.pdf
Can you clarify your question? Just follow the existing implementation guide for each portal you wish to create.
and for creating one by one, it's not useful if i've got many contacts
Ah, no, you can't do that. Portals are part of the metadata API so you can't create them from Apex.
i have Contact and Event__c related with JunctionObject so i developed the functionnality of inviting many contacts to an Event, so what i want is that when i want to invite contacts in the next time it shouldn't accept Duplicate and inform that those records are duplicate, i wrote workflow rule but it doesn't work
thanks for the help
Hi,
I have Force.com IDE stand alone. Please advise from where can I remove Java 1.7? When I click on File I see properties disabled until I select a project and then click File> Properties again. Still then I dont see Java 1.7.
Thanks
This is getting tougher to do since Oracle no longer offers old versions of Java for download. Luckily the advice to switch workspaces worked for me.
Please follow the Breadcrumb:
Open Eclipse
>Window->Java->Install JREs->Execution Enviroment->Click JavaSE-1.6->Checkbox "eclipse[perfect match]" -> Ok
Reopen your proyect -> problem fixed.
Cheers!
---------------------------------------------------------------------------------------------//
Toshiba AMD E-450 APU
Windows 7 (64bit)
Eclipse IDE for Java Developers-Helios Service Release 2 (64bit)
Java 1.6 & Java 1.7