[SLIM-Curve] Slim plugin giving error every time

Kevin W Eliceiri eliceiri at wisc.edu
Thu Aug 14 07:03:01 CDT 2014


thanks Sagar, perhaps Curtis can point you in right direction with this at our meeting todaybest
k

On 08/14/14, Abdul Kader Sagar  wrote:
> Hi all,
> 
> I have been trying to load sdt files using the slim plugin. But I am getting error everytime. I tested in 2 windows PC and 1 Mac. They result in the same error.
> 
> 
> 
> 
> 
> 
> java.lang.IllegalArgumentException: Invalid service: net.imagej.legacy.LegacyAppEventService
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:280)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
> at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
> at org.scijava.Context.<init>(Context.java:244)
> at org.scijava.Context.<init>(Context.java:203)
> at org.scijava.Context.<init>(Context.java:142)
> at org.scijava.Context.<init>(Context.java:128)
> at io.scif.img.AbstractImgIOComponent.<init>(AbstractImgIOComponent.java:57)
> at io.scif.img.ImgOpener.<init>(ImgOpener.java:94)
> at loci.slim.SLIMProcessor.loadImage(SLIMProcessor.java:1390)
> at loci.slim.SLIMProcessor.loadImage(SLIMProcessor.java:1382)
> at loci.slim.SLIMProcessor.process(SLIMProcessor.java:277)
> at loci.slim.SLIM_PlugIn.run(SLIM_PlugIn.java:45)
> at ij.IJ.runUserPlugIn(IJ.java:202)
> at ij.IJ.runPlugIn(IJ.java:166)
> at ij.Executer.runCommand(Executer.java:131)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.IllegalArgumentException: Invalid service: net.imagej.legacy.DefaultLegacyService
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:280)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
> at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:340)
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
> ... 18 more
> Caused by: java.lang.UnsupportedOperationException: Cannot instantiate more than one DefaultLegacyService
> at net.imagej.legacy.DefaultLegacyService.checkInstance(DefaultLegacyService.java:599)
> at net.imagej.legacy.DefaultLegacyService.initialize(DefaultLegacyService.java:404)
> at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:353)
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
> ... 21 more
> Caused by: java.lang.Throwable: Initialized here:
> at net.imagej.legacy.DefaultLegacyService.initialize(DefaultLegacyService.java:422)
> at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:353)
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
> at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:340)
> at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
> at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
> at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
> at org.scijava.Context.<init>(Context.java:244)
> at org.scijava.Context.<init>(Context.java:203)
> at org.scijava.Context.<init>(Context.java:142)
> at org.scijava.Context.<init>(Context.java:98)
> at org.scijava.Context.<init>(Context.java:86)
> at net.imagej.ImageJ.<init>(ImageJ.java:82)
> at net.imagej.Main.launch(Main.java:61)
> at net.imagej.Main.main(Main.java:73)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at net.imagej.launcher.ClassLauncher.launch(ClassLauncher.java:258)
> at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:184)
> at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:76)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Best regards,
> Md Abdul Kader Sagar
> 
> Graduate Student
> Department of Electrical and Computer Engineering
> 
> 
> Research Assistant 
> Laboratory of Optical and Computational Instrumentation (LOCI)
> 
> 
> University of Wisconsin-Madison
> 
> 
> LinkedIn: https://www.linkedin.com/in/aksagar
> Cell: +1 608 572 9299
> Email:abdul.kader.sagar at gmail.com(javascript:main.compose()
> msagar at wisc.edu(javascript:main.compose()

--
Kevin W. Eliceiri
Director, Laboratory for Optical and Computational Instrumentation (LOCI)
Departments Cell and Molecular Biology and Biomedical Engineering
Affiliate Principal Investigator, Morgridge Institute for Research (MIR)
Room 271 Animal Sciences, 1675 Observatory Drive, Madison, WI 53706
Phone: 608-263-6288



More information about the SLIM-Curve mailing list