<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fiji Java Script Editor regression"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=860">860</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Fiji Java Script Editor regression
</td>
</tr>
<tr>
<th>Product</th>
<td>Fiji
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P4
</td>
</tr>
<tr>
<th>Component</th>
<td>Plugins
</td>
</tr>
<tr>
<th>Assignee</th>
<td>imagej-bugs@imagej.net
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dominic_waithe@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dominic_waithe@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Hi
Got the below error when tried to compile java plugin. It was fixed by renaming
class to GP_PlugIn.java. Was very hard to spot because of the error generated
no clue as to the real cause. This is error:
Javax.script.ScriptException: Class GP_PlugIn in invalid directory:
/Users/dwaithe/Documents/collaborators/SezginE/bin/GP_Plugin.java
at
org.scijava.plugins.scripting.java.JavaEngine.getMavenProject(JavaEngine.java:369)
at
org.scijava.plugins.scripting.java.JavaEngine.access$600(JavaEngine.java:94)
at
org.scijava.plugins.scripting.java.JavaEngine$Builder.<init>(JavaEngine.java:324)
at
org.scijava.plugins.scripting.java.JavaEngine$Builder.<init>(JavaEngine.java:267)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:149)
at org.scijava.script.ScriptModule.run(ScriptModule.java:172)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65)
at
org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:164)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Information about your version of Java:
os.arch => x86_64
os.name => Mac OS X
os.version => 10.9.3
java.version => 1.6.0_65
java.vendor => Apple Inc.
java.runtime.name => Java(TM) SE Runtime Environment
java.runtime.version => 1.6.0_65-b14-462-11M4609
java.vm.name => Java HotSpot(TM) 64-Bit Server VM
java.vm.version => 20.65-b04-462
java.vm.vendor => Apple Inc.
java.vm.info => mixed mode
java.awt.graphicsenv => apple.awt.CGraphicsEnvironment
java.specification.name => Java Platform API Specification
java.specification.version => 1.6
sun.cpu.endian => little
sun.desktop => null
file.separator => /
The up-to-date check says: REMIND_LATER
Information relevant to JAVA_HOME related problems:
JAVA_HOME is set to: null
imagej.dir => /Applications/Fiji.app
Information about the version of each plugin:
Activated update sites:
ImageJ: <a href="http://update.imagej.net/">http://update.imagej.net/</a> (last check:20140711230647)
Fiji: <a href="http://fiji.sc/update/">http://fiji.sc/update/</a> (last check:20140715010940)
Bio-Formats: <a href="http://sites.imagej.net/Bio-Formats/">http://sites.imagej.net/Bio-Formats/</a> (last check:20140717022649)
BioVoxxel: <a href="http://sites.imagej.net/BioVoxxel/">http://sites.imagej.net/BioVoxxel/</a> (last check:20140715212341)
LOCI: <a href="http://sites.imagej.net/LOCI/">http://sites.imagej.net/LOCI/</a> (last check:20140401195514)
OMERO 5.0: <a href="http://sites.imagej.net/OMERO-5.0/">http://sites.imagej.net/OMERO-5.0/</a> (last check:20140606034302)
Files not up-to-date:
052c18d8 (LOCAL_ONLY) 20140706130931 jars/my/Jython_Launcher.class
e35cf246 (LOCAL_ONLY) 20140715093403
jars/scripts/GPMacro_gaussian_V4$py.class
0b39938f (LOCAL_ONLY) 20140715092237
plugins/Examples/Command_Launchers/Command_Launcher_Python$py.class
357f80f0 (LOCAL_ONLY) 20140715092237
plugins/Examples/CoverMaker/Cover_Maker$py.class
2bba6bc2 (LOCAL_ONLY) 20140715092237
plugins/Examples/CoverMaker/Prepare_Cover_Maker_Database$py.class
c153d437 (LOCAL_ONLY) 20140715092237
plugins/Examples/Delayed_Snapshot$py.class
e00db979 (LOCAL_ONLY) 20140715092237
plugins/Examples/Edit_LUT_As_Text$py.class
1feee73d (LOCAL_ONLY) 20140715092237
plugins/Examples/Find_Dimension_of_Raw_Image$py.class
ab6f7520 (LOCAL_ONLY) 20140715092237
plugins/Examples/TrakEM2_Example_Scripts/Homogenize_Ball_Radius$py.class
e81e732f (LOCAL_ONLY) 20140715092237
plugins/Examples/TrakEM2_Example_Scripts/Measure_AreaLists$py.class
a47feccb (LOCAL_ONLY) 20140715092237
plugins/Examples/TrakEM2_Example_Scripts/T2_Select_All$py.class
757af3e5 (LOCAL_ONLY) 20140715092237
plugins/Examples/TrakEM2_Example_Scripts/T2_set_all_transforms_to_identity$py.class
5f85647a (LOCAL_ONLY) 20140715092237
plugins/Examples/TrakEM2_Example_Scripts/extract_stack_under_arealist$py.class
66784a81 (LOCAL_ONLY) 20140715092237 plugins/Examples/chess_$py.class
732393f3 (LOCAL_ONLY) 20140715092237
plugins/Examples/list_all_threads$py.class
22c6d3e0 (LOCAL_ONLY) 20140706132742 plugins/GPratio.jar
71489cb1 (LOCAL_ONLY) 20140715092237
plugins/Scripts/Plugins/Registration/Correct_3D_drift$py.class
4e7a8b94 (LOCAL_ONLY) 20140715092237
plugins/Scripts/Plugins/Utilities/Record_Desktop$py.class
5c5af1b4 (LOCAL_ONLY) 20140715092237
plugins/Scripts/Plugins/Utilities/Record_Window$py.class
9f4f8151 (LOCAL_ONLY) 20140706200802 plugins/jars/jython-2.5.2.jar</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>