Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361062

Summary: Periodic workspace save
Product: [Technology] EPP Reporter: Vittorio <vittorio>
Component: jee-packageAssignee: Project Inbox <epp.packager-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, kentarou
Version: unspecified   
Target Milestone: later   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Vittorio CLA 2011-10-15 11:47:44 EDT
What steps will reproduce the problem?
1. 
2. 
3. 


-- Error Details --
Date: Sat Oct 15 17:40:17 CEST 2011
Message: An internal error occurred during: "Periodic workspace save.".
Severity: Error
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring /Users/vittorio/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/vittorio/.eclipse_keyring -showlocation

Exception Stack Trace:
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
	at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.getDocument(DebugUIPlugin.java:819)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getHistoryAsXML(LaunchConfigurationManager.java:407)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.persistLaunchHistory(LaunchConfigurationManager.java:473)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.saving(LaunchConfigurationManager.java:1207)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$2.saving(DebugUIPlugin.java:481)
	at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:382)
	at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:191)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:194)
	at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1129)
	at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1108)
	at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:51)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Kentarou Fukuda CLA 2011-10-16 12:46:06 EDT
Hi EPP team,

The bug seems to relate to EPP JEE package (or WTP). 

Would you please forward this bug to appropriate team?
Thanks.
Comment 2 David Williams CLA 2011-10-16 16:21:19 EDT
What makes you think the bug is related to EPP JEE package (or WTP)? 

If I had to guess, I'd guess it has something to do with the Java VM used on the cocoa 64 bit machine. I suggest the originator check the lib/ext folder under their JRE directory and see if there are any jars in there that mention "xml" or "xerces" ... if so, you might try running Eclipse without those "overriding" class libraries. (move them temporarily to a location where you can save them, then restart). Of course, even if that works (that is, gets rid of this problem) its unclear what other problems might arise from not having them there. I personally do not have an Apple/cocoa/64-bit machine ... so, hard for me to investigate.