Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315177 - NPE in AbstractBundleContainer.getVMArguments
Summary: NPE in AbstractBundleContainer.getVMArguments
Status: CLOSED DUPLICATE of bug 314814
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 03:46 EDT by Konstantin Scheglov CLA
Modified: 2010-06-01 09:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Scheglov CLA 2010-06-01 03:46:26 EDT
Build Identifier: I20100513-1500

Happens during running my tests suite.
Can not reproduce when run just single test.

java.lang.NullPointerException
	at org.eclipse.pde.internal.core.target.AbstractBundleContainer.getVMArguments(AbstractBundleContainer.java:525)
	at org.eclipse.pde.internal.core.target.TargetPlatformService.newDefaultTargetDefinition(TargetPlatformService.java:525)
	at org.eclipse.pde.internal.core.PluginModelManager.initDefaultTargetPlatformDefinition(PluginModelManager.java:574)
	at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:527)
	at org.eclipse.pde.internal.core.PluginModelManager.findModel(PluginModelManager.java:869)
	at org.eclipse.pde.core.plugin.PluginRegistry.findModel(PluginRegistry.java:105)
	at com.instantiations.designer.core.utils.pde.PluginRegistry.findModel(PluginRegistry.java:30)
	at com.instantiations.designer.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:657)
	at com.instantiations.designer.core.utils.jdt.core.CodeUtils.getSourceContainers(CodeUtils.java:617)
	at com.instantiations.designer.gwt.util.Utils.getFilesForResources(Utils.java:757)
	at com.instantiations.designer.gwt.util.Utils.getFileForResource(Utils.java:739)
	at com.instantiations.designer.gwt.util.Utils.getHTMLFile_web(Utils.java:1081)
	at com.instantiations.designer.gwt.util.Utils.getHTMLFile(Utils.java:1044)
	at com.instantiations.designer.gwt.util.Utils.getCSSResources(Utils.java:959)
	at com.instantiations.designer.gwt.util.Utils_Test.test_getCSSResources_fromHTML(Utils_Test.java:1024)


Reproducible: Sometimes
Comment 1 Curtis Windatt CLA 2010-06-01 09:17:18 EDT
You need to have DS running for the FrameworkAdmin service to run.  PDE requires the framework service.

*** This bug has been marked as a duplicate of bug 314814 ***