I have an application and the first time it is launched, everything works fine, however the second time the below exception happens on launch. It appears that eclipse is not reading in all of the exported packages for com.company.system.configuration. The following are defined in it MANIFEST.MF, but eclipse is only reading in the first 3. Has anyone seen this issue before? If I put a -clean in my application .ini file everything works. It appears something is screwed up with eclipse caching some values. Thanks
Export-Package: com.company.system.configuration;version="1.0.0", com.c
erner.system.configuration.repository;version="1.0.0", com.company.sys
tem.configuration.repository.internal;version="1.0.0", com.company.sys
tem.configuration.repository.spi;version="1.0.0"
org.eclipse.core.runtime.CoreException: Plug-in com.company.system.configuration.manager.client was unable to load class com.company.system.configuration.manager.client.Application.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:188)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.setExportPackages(BundleDescriptionImpl.java:224)
at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:259)
at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:681)
at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.fullyLoad(BundleDescriptionImpl.java:487)
at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getResolvedRequires(BundleDescriptionImpl.java:183)
at org.eclipse.osgi.framework.internal.core.BundleLoader.<init>(BundleLoader.java:146)
at org.eclipse.osgi.framework.internal.core.BundleLoaderProxy.getBundleLoader(BundleLoaderProxy.java:54)
at org.eclipse.osgi.framework.internal.core.BundleHost.getBundleLoader(BundleHost.java:591)
at org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.java:196)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:223)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
... 15 more