[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] How to Debug with org.eclipse.osgi.jar

equinox-dev,hi!

	  I would like to study the eqinox framework,so i import the plugin org.eclipse.osgi_3.3.0.v20061213.jar as source project, but when i debug the project,
debugging failed then on :

org.eclipse.osgi Startup error
java.lang.NullPointerException
	at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:124)
	at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:174)
	at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:147)
	at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
	at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:278)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:166)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)
Exception in thread "main" java.lang.NullPointerException
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:212)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)

	So, again my question: how should I go about debugging equinox as standalone osgi framework, and where can I get some knowledge about all the stuff like different start configs, properties, hooks, storage organization and so.

Regards
 				
 				2007-10-06
              
--------------------------------------------------
Fei Huang 
Technology Center for Software Engineering
Institute of Software, Chinese Academy of Sciences
P.O.Box 8718, Beijing 100080, China 
Email:flymnm@xxxxxxx