Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344288 - Test failure in WorkspaceServiceTest.testCreateProjectNonDefaultLocation
Summary: Test failure in WorkspaceServiceTest.testCreateProjectNonDefaultLocation
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 10:39 EDT by John Arthorne CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:


Attachments
Fix v01 (5.50 KB, patch)
2011-04-29 10:42 EDT, John Arthorne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-04-29 10:39:09 EDT
I20110428

WorkspaceServiceTest.testCreateProjectNonDefaultLocation fails due to this exception:

java.lang.NullPointerException: null
        at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSystemCore.java:61) ~[na:na]
        at org.eclipse.core.filesystem.EFS.getFileSystem(EFS.java:430) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceResourceHandler.isAllowedLinkDestination(WorkspaceResourceHandler.java:375) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceResourceHandler.handleAddProject(WorkspaceResourceHandler.java:202) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceResourceHandler.handleAddOrRemoveProject(WorkspaceResourceHandler.java:185) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceResourceHandler.handleRequest(WorkspaceResourceHandler.java:336) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceResourceHandler.handleRequest(WorkspaceResourceHandler.java:1) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.workspace.WorkspaceServlet.doPost(WorkspaceServlet.java:116) ~[na:na]
Comment 1 John Arthorne CLA 2011-04-29 10:39:56 EDT
Note the failure does not occur on Windows.
Comment 2 John Arthorne CLA 2011-04-29 10:42:04 EDT
Created attachment 194364 [details]
Fix v01