<html><head></head><body><div>Dear Mark,</div><div><br></div><div>thank you for your willingness to help me.</div><div><br></div><div>No, we are not using the latest TrackMate master. I'm implementing the find-maxima detector for TrackMate and therefore I'm using a modified version [1] (this is the version which produces the exception) of the find-maxima branch of TrackMate [2] .</div><div><br></div><div>To reproduce this error (sorry that I've forgotten this important information in my last mail!):</div><div> - Start TrackMate with the Main Method in the TrackMatePlugIn_.java (I'm using eclipse and select "Run as -> Java Application")</div><div> - Select "Next" in TrackMate</div><div> - Select the "Find Maxima" detector</div><div> - Select a arbitary threshold</div><div> - Press Preview</div><div><br></div><div>The static initializer did not help.</div><div><br></div><div>Thank you for your help!</div><div><br></div><div>Cheers,</div><div>Thorsten</div><div><br></div><div>[1] <a href="https://github.com/thorstenwagner/TrackMate/tree/master/src/main/java/fiji/plugin/trackmate/detection/findmaxima">https://github.com/thorstenwagner/TrackMate/tree/master/src/main/java/fiji/plugin/trackmate/detection/findmaxima</a> (These classes containing all changes that I've made)</div><div>[2] <a href="https://github.com/fiji/TrackMate/tree/find-maxima">https://github.com/fiji/TrackMate/tree/find-maxima</a></div><div><br></div><div>Am Dienstag, den 14.07.2015, 09:45 -0500 schrieb Mark Hiner:</div><blockquote type="cite"><div dir="ltr">Hi Thorsten,<br><br>>For some reasons we have to start TrackMate by the following main method:<div class="gmail_extra"><br></div><div class="gmail_extra">How exactly are you trying to launch TrackMate? Are you using the latest TrackMate master[1]? When I run this class in Eclipse, it works for me - launching TrackMate and opening the sample image (although I did have to change the path to <a href="http://fiji.sc/samples/FakeTracks.tif">http://fiji.sc/samples/FakeTracks.tif</a>)<br><br>>This is the exception:<br>><a href="http://pastebin.com/A3N5LQBw" rel="noreferrer" target="_blank">http://pastebin.com/A3N5LQBw</a><br><br></div><div class="gmail_extra">Note that this exception message includes suggested debugging and workaround options. It may be sufficient to add the suggested static initializer.<br><br>
>However, this just leads to another exception:<br>><a href="http://pastebin.com/m0VCTZ4S" rel="noreferrer" target="_blank">http://pastebin.com/m0VCTZ4S</a><br><br></div><div class="gmail_extra">My first guess would be a class path problem with the way you are launching TrackMate. Also, it may be helpful to lean on the Fiji Debug launcher[2] to set things up properly. If you can share the exact command you used to launch (or your IDE environment) I can try to reproduce and debug.<br><br></div><div class="gmail_extra">Best,<br></div><div class="gmail_extra">Mark<br><br>[1] <a href="https://github.com/fiji/TrackMate/commits/master">https://github.com/fiji/TrackMate/commits/master</a><br>[2] <a href="http://imagej.net/Developing_Fiji_in_Eclipse#Running_and_Debugging">http://imagej.net/Developing_Fiji_in_Eclipse#Running_and_Debugging</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 11, 2015 at 4:17 AM, Thorsten Wagner <span dir="ltr"><<a href="mailto:wagner@biomedical-imaging.de" target="_blank">wagner@biomedical-imaging.de</a>></span> wrote:<br><blockquote type="cite">Just an additional information:<br>
<br>
I tried to start it by imagej2:<br>
<br>
net.imagej.Main.main(args);<br>
new TrackMatePlugIn_().run( "/home/thorsten/samples/FakeTracks.tif" );<br>
<br>
However, this just leads to another exception:<br>
<a href="http://pastebin.com/m0VCTZ4S" rel="noreferrer" target="_blank">http://pastebin.com/m0VCTZ4S</a><br>
<br>
Cheers,<br>
Thorsten<br>
<div class=""><div class="h5"><br>
Am Samstag, den 11.07.2015, 11:14 +0200 schrieb Thorsten Wagner:<br>
> Dear List, dear Brian,<br>
><br>
> we currently came across problems with ImageJ-OPs and TrackMate.<br>
><br>
> For some reasons we have to start TrackMate by the following main<br>
> method:<br>
> <a href="https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java" rel="noreferrer" target="_blank">https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java</a><br>
> /f<br>
> iji/plugin/trackmate/TrackMatePlugIn_.java#L134<br>
><br>
> However, this always leads to the a exception at this line:<br>
> <a href="https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java" rel="noreferrer" target="_blank">https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java</a><br>
> /f<br>
> iji/plugin/trackmate/detection/findmaxima/FindMaximaSpotDetector.java<br>
> #L<br>
> 123<br>
><br>
> This is the exception:<br>
> <a href="http://pastebin.com/A3N5LQBw" rel="noreferrer" target="_blank">http://pastebin.com/A3N5LQBw</a><br>
><br>
> Any ideas?<br>
><br>
> Cheers,<br>
> Thorsten<br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" rel="noreferrer" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</div></div><br></blockquote></div><br></div></div>
</blockquote></body></html>