eclipse-qvtd / org.eclipse.qvtd

Eclipse Public License 2.0
0 stars 0 forks source link

IllegalStateException in JavaFileUtil.compileClasses #355

Open eclipse-qvtd-bot opened 1 week ago

eclipse-qvtd-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 540126 | | Status | UNCONFIRMED | | Importance | P3 normal | | Reported | Oct 15, 2018 04:40 EDT | | Modified | Oct 15, 2018 04:41 EDT | | Reporter | EPP Error Reports |

Description

The following problem was reported via the automated error reporting:

Message: Failed to compile transformation 'platform:/resource/org.eclipse.qvtd.examples.qvtrelation.hstm2fstm/model/HierarchicalStateMachine2FlatStateMachine.qvtr'\ java.lang.IllegalStateException: No JavaCompiler provided by the Java platform - you need to use a JDK rather than a JRE\ at org.eclipse.ocl.examples.codegen.dynamic.JavaFileUtil.compileClasses(JavaFileUtil.java:86)\ at org.eclipse.ocl.examples.codegen.dynamic.JavaFileUtil.compileClasses(JavaFileUtil.java:72)\ at org.eclipse.qvtd.compiler.GenModelGenerateCompilerStep.execute(GenModelGenerateCompilerStep.java:157)\ at org.eclipse.qvtd.compiler.QVTrCompilerChain.generate(QVTrCompilerChain.java:391)\ at org.eclipse.qvtd.compiler.AbstractCompilerChain.build(AbstractCompilerChain.java:420)\ at org.eclipse.qvtd.debug.launching.QVTrLaunchConfigurationDelegate.buildForLaunch(QVTrLaunchConfigurationDelegate.java:99)\ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:832)\ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)\ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1029)\ at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243)\ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

java.lang.IllegalStateException: No JavaCompiler provided by the Java platform - you need to use a JDK rather than a JRE\ at org.eclipse.ocl.examples.codegen.dynamic.JavaFileUtil.compileClasses(JavaFileUtil.java:86)\ at org.eclipse.ocl.examples.codegen.dynamic.JavaFileUtil.compileClasses(JavaFileUtil.java:72)\ at org.eclipse.qvtd.compiler.GenModelGenerateCompilerStep.execute(GenModelGenerateCompilerStep.java:157)\ at org.eclipse.qvtd.compiler.QVTrCompilerChain.generate(QVTrCompilerChain.java:391)\ at org.eclipse.qvtd.compiler.AbstractCompilerChain.build(AbstractCompilerChain.java:420)\ at org.eclipse.qvtd.debug.launching.QVTrLaunchConfigurationDelegate.buildForLaunch(QVTrLaunchConfigurationDelegate.java:99)\ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:832)\ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)\ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1029)\ at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243)\ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Bundles:\ | org.eclipse.core.jobs | 3.10.100.v20180817-1215 | 3.10.100.v20180817-1215 |\ | org.eclipse.debug.core | 3.13.0.v20180821-1744 | 3.13.0.v20180821-1744 |\ | org.eclipse.debug.ui | 3.13.100.v20180827-0649 | 3.13.100.v20180827-0649 |\ | org.eclipse.ocl.examples.codegen | 2.5.0.v20180916-1223 | 2.5.0.v20180916-1223 |\ | org.eclipse.qvtd.compiler | 0.16.0.v20180911-0855 | 0.16.0.v20180911-0855 |\ | org.eclipse.qvtd.debug | 0.16.0.v20180911-0855 | 0.16.0.v20180911-0855 |

Operating Systems:\ | Windows | 10.0.0 | 10.0.0 |

The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/5bbe8690e4b0ac09b976df7b for the latest data.

Thank you for your assistance.\ Your friendly error-reports-inbox.

eclipse-qvtd-bot commented 1 week ago

By Ed Willink on Oct 15, 2018 04:41

The error is exactly as intended. There isca clear helpful message.

Need to check why this was logged when surely it should have appeared in a UI pop-up?