[ImageJ-devel] Problem getting the context

Mark Hiner hiner at wisc.edu
Tue Jul 14 09:45:38 CDT 2015


Hi Thorsten,

>For some reasons we have to start TrackMate by the following main method:

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 http://fiji.sc/samples/FakeTracks.tif)

>This is the exception:
>http://pastebin.com/A3N5LQBw

Note that this exception message includes suggested debugging and
workaround options. It may be sufficient to add the suggested static
initializer.

>However, this just leads to another exception:
>http://pastebin.com/m0VCTZ4S

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.

Best,
Mark

[1] https://github.com/fiji/TrackMate/commits/master
[2] http://imagej.net/Developing_Fiji_in_Eclipse#Running_and_Debugging

On Sat, Jul 11, 2015 at 4:17 AM, Thorsten Wagner <
wagner at biomedical-imaging.de> wrote:

> Just an additional information:
>
> I tried to start it by imagej2:
>
> net.imagej.Main.main(args);
> new TrackMatePlugIn_().run( "/home/thorsten/samples/FakeTracks.tif" );
>
> However, this just leads to another exception:
> http://pastebin.com/m0VCTZ4S
>
> Cheers,
> Thorsten
>
> Am Samstag, den 11.07.2015, 11:14 +0200 schrieb Thorsten Wagner:
> > Dear List, dear Brian,
> >
> > we currently came across problems with ImageJ-OPs and TrackMate.
> >
> > For some reasons we have to start TrackMate by the following main
> > method:
> > https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java
> > /f
> > iji/plugin/trackmate/TrackMatePlugIn_.java#L134
> >
> > However, this always leads to the a exception at this line:
> > https://github.com/thorstenwagner/TrackMate/blob/master/src/main/java
> > /f
> > iji/plugin/trackmate/detection/findmaxima/FindMaximaSpotDetector.java
> > #L
> > 123
> >
> > This is the exception:
> > http://pastebin.com/A3N5LQBw
> >
> > Any ideas?
> >
> > Cheers,
> > Thorsten
>
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20150714/6cc4c2b3/attachment.html>


More information about the ImageJ-devel mailing list