Community
Participate
Working Groups
If a source folder path is selected that can't possibly be created (such as "/NonexistentProject"), there is no error. There is also no error if the source folder is actually in a different project.
Fix committed to head.
same problem as bug 228781: There is a warning now, but the Finish button is enabled. Probably needs to be an error and the Finish button disabled. If you press finish several exceptions get thrown: java.lang.NullPointerException at org.eclipse.jpt.core.internal.operations.OrmFileCreationOperation.createOrmXml(OrmFileCreationOperation.java:130) at org.eclipse.jpt.core.internal.operations.OrmFileCreationOperation.execute(OrmFileCreationOperation.java:54) at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) org.eclipse.ui.PartInitException: Unable to open external editor for C:/MyTestWorkspace/TestProject/srct/META-INF/orm.xml. at org.eclipse.ui.internal.EditorManager.openSystemExternalEditor(EditorManager.java:880) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:663) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
Created attachment 107987 [details] proposed patch Same patch as for bug 228781. Simply changing two warning cases to error cases.
Committed patch to maintenance branch and head.
Verified in wtp-sdk-R-3.0.1-20080818032401.
*** Bug 247111 has been marked as a duplicate of this bug. ***