eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 1 forks source link

NPE if trace file path of unexisting project specified in QVT launch config #183

Closed eclipse-qvt-oml-bot closed 2 weeks ago

eclipse-qvt-oml-bot commented 2 weeks ago

| --- | --- | | Bugzilla Link | 239803 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Jul 07, 2008 10:16 EDT | | Modified | Aug 25, 2008 05:49 EDT | | Reporter | Radomil Dvorak |

Description

Create a QVT launch configuration and specify trace file path referring an unexisting project.

The transformation page in launch configuration should check for this error condition.\ If executed, appropriate error instead of NPE should be reported.

Stack trace:\ -------------\ java.lang.NullPointerException\ at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCore.java:104)\ at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350)\ at org.eclipse.m2m.internal.qvt.oml.common.io.eclipse.EclipseResource.getFileStore(EclipseResource.java:34)\ at org.eclipse.m2m.internal.qvt.oml.common.emf.ExtendedEmfUtil.saveModel(ExtendedEmfUtil.java:67)\ at org.eclipse.m2m.internal.qvt.oml.runtime.generator.TraceSerializer.saveTraceModel(TraceSerializer.java:54)\ at org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchConfigurationDelegateBase.doLaunch(QvtLaunchConfigurationDelegateBase.java:236)

eclipse-qvt-oml-bot commented 2 weeks ago

By Alexander Igdalov on Jul 09, 2008 12:05

Fixed.