Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342834 - NPE from BundleVersionTests
Summary: NPE from BundleVersionTests
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE API Tools Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 325462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-14 09:33 EDT by Michael Rennie CLA
Modified: 2019-10-09 07:03 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2011-04-14 09:33:33 EDT
Reported from the N20110413-2000 tests:

N/A
java.lang.NullPointerException
at org.eclipse.pde.api.tools.internal.model.ProjectComponent.getApiTypeContainer(ProjectComponent.java:405)
at org.eclipse.pde.api.tools.internal.model.ProjectComponent.getTypeContainer(ProjectComponent.java:450)
at org.eclipse.pde.api.tools.internal.ProjectApiDescription.getApiTypeContainer(ProjectApiDescription.java:642)
at org.eclipse.pde.api.tools.internal.ProjectApiDescription$TypeNode.refresh(ProjectApiDescription.java:252)
at org.eclipse.pde.api.tools.internal.ApiDescription.findNode(ApiDescription.java:423)
at org.eclipse.pde.api.tools.internal.ProjectApiDescription.visit(ProjectApiDescription.java:409)
at org.eclipse.pde.api.tools.internal.ProjectApiDescription.accept(ProjectApiDescription.java:378)
at org.eclipse.pde.api.tools.builder.tests.ApiBuilderTest.exportApiComponent(ApiBuilderTest.java:328)
at org.eclipse.pde.api.tools.builder.tests.compatibility.BundleVersionTests.setupTest(BundleVersionTests.java:165)
at org.eclipse.pde.api.tools.builder.tests.compatibility.BundleVersionTests.test003(BundleVersionTests.java:227)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Michael Rennie CLA 2011-04-14 09:40:52 EDT
There was this entry in the console logs as well, not sure if it is related:
java.io.FileNotFoundException: C:\buildtest\N20110413-2000\eclipse-testing\test-eclipse\eclipse\api_tools_plugins_folder\data\test_plugin_project\build.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:773)
	at org.eclipse.core.internal.resources.File.getContents(File.java:289)
	at org.eclipse.pde.internal.core.build.WorkspaceBuildModel.load(WorkspaceBuildModel.java:67)
	at org.eclipse.pde.core.plugin.PluginRegistry.createBuildModel(PluginRegistry.java:414)
	at org.eclipse.pde.internal.core.ClasspathUtilCore.getBuild(ClasspathUtilCore.java:194)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.computePluginEntries(RequiredPluginsClasspathContainer.java:133)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.getClasspathEntries(RequiredPluginsClasspathContainer.java:88)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1881)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1830)
	at org.eclipse.jdt.internal.core.ClasspathValidation.validate(ClasspathValidation.java:68)
	at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:51)
	at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2310)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
	at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4921)
	at org.eclipse.pde.internal.core.PluginModelManager$UpdateClasspathsJob.run(PluginModelManager.java:64)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 2 Michael Rennie CLA 2011-04-21 09:59:37 EDT
the N20110420-2000 build had a failure with this NPE again
Comment 3 Curtis Windatt CLA 2013-01-28 11:42:54 EST
*** Bug 325462 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Genie CLA 2019-04-04 19:45:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Lars Vogel CLA 2019-10-09 07:03:55 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.