<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - setting "FIJI_PREFS_DIR" without effect"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=858">bug 858</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDSINFO
</td>
<td>ASSIGNED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ctrueden@wisc.edu
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - setting "FIJI_PREFS_DIR" without effect"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=858#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - setting "FIJI_PREFS_DIR" without effect"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=858">bug 858</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>The bug is caused by a javassist problem:
IJ_PREFS_DIR=/Users/curtis/fiji
/Applications/Science/Fiji.app/Contents/MacOS/ImageJ-macosx
Jul 17 10:03:33 sirius ImageJ-macosx[13910] <Error>: The function
`CGContextErase' is obsolete and will be removed in an upcoming update.
Unfortunately, this application, or a library it uses, is using this obsolete
function, and is thereby contributing to an overall degradation of system
performance.
java.lang.IllegalArgumentException: Cannot override field access to prefsDir in
ij.Prefs's public java.lang.String load(java.lang.Object ij, java.applet.Applet
applet)
at net.imagej.patcher.CodeHacker.overrideFieldWrite(CodeHacker.java:630)
at
net.imagej.patcher.LegacyExtensions.injectHooks(LegacyExtensions.java:220)
at net.imagej.patcher.LegacyInjector.inject(LegacyInjector.java:286)
at net.imagej.patcher.LegacyInjector.injectHooks(LegacyInjector.java:87)
at
net.imagej.patcher.LegacyEnvironment.initialize(LegacyEnvironment.java:101)
at
net.imagej.patcher.LegacyEnvironment.applyPatches(LegacyEnvironment.java:496)
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:365)
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:344)
at fiji.IJ1Patcher.run(IJ1Patcher.java:37)
at net.imagej.launcher.ClassLauncher.patchIJ1(ClassLauncher.java:195)
at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:154)
at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:76)
Caused by: javassist.CannotCompileException: No code replaced!
at
net.imagej.patcher.CodeHacker$EagerExprEditor.instrument(CodeHacker.java:1280)
at net.imagej.patcher.CodeHacker.overrideFieldWrite(CodeHacker.java:616)
... 11 more
[WARNING] 2 exceptions occurred during plugin discovery.
log4j:WARN No appenders could be found for logger
(org.bushe.swing.event.EventService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See <a href="http://logging.apache.org/log4j/1.2/faq.html#noconfig">http://logging.apache.org/log4j/1.2/faq.html#noconfig</a> for more
info.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/Applications/Science/Fiji.app/jars/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Applications/Science/Fiji.app/jars/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <a href="http://www.slf4j.org/codes.html#multiple_bindings">http://www.slf4j.org/codes.html#multiple_bindings</a> for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[ERROR] Skipping unsupported option -port7
I'm investigating it now.</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>