<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 - java.lang.IllegalStateException when trying to open new script"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1214">1214</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>java.lang.IllegalStateException when trying to open new script
</td>
</tr>
<tr>
<th>Product</th>
<td>Fiji
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows
</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>m.pawlowska@nencki.gov.pl
</td>
</tr>
<tr>
<th>CC</th>
<td>m.pawlowska@nencki.gov.pl
</td>
</tr></table>
<p>
<div>
<pre>After starting Fiji and selecting File -> New -> Script, errors appear in
console and in a separate "Exception" window. Script window does not open. This
happens at least since yesterday update
------
[ERROR] Module threw exception
java.lang.IllegalStateException: Context already injected:
net.imagej.ui.swing.script.ScriptEditor#context
at org.scijava.Context.inject(Context.java:458)
at org.scijava.Context.inject(Context.java:382)
at org.scijava.command.CommandModule.initialize(CommandModule.java:146)
at
org.scijava.module.process.InitPreprocessor.process(InitPreprocessor.java:61)
at org.scijava.module.ModuleRunner.preProcess(ModuleRunner.java:104)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:156)
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:191)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
---
OpenSPIM 2.0.0-rc-43/1.50e; Java 1.8.0_51 [64-bit]; Windows 7 6.1; 377MB of
73552MB (<1%)
java.lang.RuntimeException: java.util.concurrent.ExecutionException:
java.lang.IllegalStateException: Context already injected:
net.imagej.ui.swing.script.ScriptEditor#context
at
net.imagej.legacy.LegacyService.runLegacyCompatibleCommand(LegacyService.java:274)
at
net.imagej.legacy.DefaultLegacyHooks.interceptRunPlugIn(DefaultLegacyHooks.java:161)
at ij.IJ.runPlugIn(IJ.java)
at ij.Executer.runCommand(Executer.java:136)
at ij.Executer.run(Executer.java:65)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException:
java.lang.IllegalStateException: Context already injected:
net.imagej.ui.swing.script.ScriptEditor#context
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at
net.imagej.legacy.LegacyService.runLegacyCompatibleCommand(LegacyService.java:270)
... 5 more
Caused by: java.lang.IllegalStateException: Context already injected:
net.imagej.ui.swing.script.ScriptEditor#context
at org.scijava.Context.inject(Context.java:458)
at org.scijava.Context.inject(Context.java:382)
at org.scijava.command.CommandModule.initialize(CommandModule.java:146)
at
org.scijava.module.process.InitPreprocessor.process(InitPreprocessor.java:61)
at org.scijava.module.ModuleRunner.preProcess(ModuleRunner.java:104)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:156)
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:191)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more
---
Information about your version of Java:
os.arch => amd64
os.name => Windows 7
os.version => 6.1
java.version => 1.8.0_51
java.vendor => Oracle Corporation
java.runtime.name => Java(TM) SE Runtime Environment
java.runtime.version => 1.8.0_51-b16
java.vm.name => Java HotSpot(TM) 64-Bit Server VM
java.vm.version => 25.51-b03
java.vm.vendor => Oracle Corporation
java.vm.info => mixed mode
java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
java.specification.name => Java Platform API Specification
java.specification.version => 1.8
sun.cpu.endian => little
sun.desktop => windows
file.separator => \
The up-to-date check says: UP_TO_DATE
Information relevant to JAVA_HOME related problems:
JAVA_HOME is set to: C:\Program Files\Java\jdk1.8.0_51/jre
imagej.dir => C:\OPENSP~1\OpenSPIM.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:20151222031554)
Fiji: <a href="http://update.fiji.sc/">http://update.fiji.sc/</a> (last check:20151222052403)
OpenSPIM: <a href="http://openspim.org/update/">http://openspim.org/update/</a> (last check:20151217184431)
Micro-Manager-dev: <a href="http://sites.imagej.net/Micro-Manager-dev/">http://sites.imagej.net/Micro-Manager-dev/</a> (last
check:20160113084010)
Files not up-to-date:
3cea8b06 (MODIFIED) 20141223094152 mm/win64/PiUsb.dll
0930b236 (LOCAL_ONLY) 20150715143430 plugins/VSNR2_plugin.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>