NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 501 - Script Editor non-functional after installing .class via drag-drop
Script Editor non-functional after installing .class via drag-drop
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
Macintosh Mac OS
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2012-09-26 16:35 CDT by Jan Eglinger
Modified: 2013-07-07 10:02 CDT
1 user (show)

See Also:

Description Jan Eglinger 2012-09-26 16:35:48 CDT
I stumbled upon a strange bug with the Script_Editor.
To reproduce, do the following:

- Drag any .class file to the Fiji toolbar
   (You can quickly make one by opening the Script Editor, selecting 'Templates>Java>Bare Plugin' and then 'Compile and Run')

- In the file dialog, save the .class file in ./plugins/ or any subfolder

- Select 'File>New>Script'

Now Fiji throws an error message:
Plugin or class not found: "scripting.Script_Editor"
(java.lang.ClassNotFoundException: scripting.Script_Editor)

If you happen to have opened a script editor window, try opening a new script in it via 'File>New', it won't do anything.


The behaviour goes away if you restart Fiji.

Cheers,
Jan
Comment 1 Johannes Schindelin 2013-07-07 10:02:49 CDT
I must have fixed this somewhere along the way: I cannot reproduce this here.