[SLIM-Curve] Slim plugin giving error every time

Kevin W Eliceiri eliceiri at wisc.edu
Thu Aug 14 17:36:03 CDT 2014


great, let us know how Sagar how it goesbest
k

On 08/14/14, Curtis Rueden  wrote:
> Hi all,
> 
> > java.lang.IllegalArgumentException: Invalid service:
> > net.imagej.legacy.LegacyAppEventService
> 
> 
> 
> Just a quick note that we fixed the problem earlier today:
> https://github.com/slim-curve/slim-plugin/commit/4c19324650c3e515f1d34f90985c727aa5ae2969
> 
> 
> 
> Regards,
> Curtis
> 
> 
> 
> On Thu, Aug 14, 2014 at 7:03 AM, Kevin W Eliceiri <Email:abdul.kader.sagar at gmail.com <eliceiri at wisc.edu')" target="1">eliceiri at wisc.edu> wrote:
> 
> > 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(tel:%2B1%20608%20572%209299)
> > 
> > 
> > > 608-263-6288(javascript:main.compose('new', 't=Email:abdul.kader.sagar at gmail.com>(java_script:main.compose()
> > > msagar at wisc.edu <msagar at wisc.edu>(java_script: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: <a href=)
> > 
> > _______________________________________________
> > SLIM-Curve mailing list
> > SLIM-Curve at imagej.net <SLIM-Curve at imagej.net>
> > http://loci.wisc.edu/mailman/listinfo/slim-curve
> > 

--
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