Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7252 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

asIJ Insight import

Reported by: jburel Owned by: jburel
Priority: major Milestone: OMERO-4.4
Component: General Version: n.a.
Keywords: n.a. Cc: jamoore, saloynton
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-12-13 (4)

Description

  • launch insight as an ImageJ plugin
  • Try to import an image
  • follow error
    java.lang.RuntimeException: Error accessing ini file
    	at ome.formats.importer.util.IniFileLoader.<init>(IniFileLoader.java:107)
    	at ome.formats.importer.ImportConfig.<init>(ImportConfig.java:168)
    	at ome.formats.importer.ImportConfig.<init>(ImportConfig.java:154)
    	at org.openmicroscopy.shoola.env.data.OMEROGateway.importImage(OMEROGateway.java:6390)
    	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importFile(OmeroImageServiceImpl.java:1228)
    	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.importFile(ImagesImporter.java:85)
    	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.access$000(ImagesImporter.java:54)
    	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter$1.doCall(ImagesImporter.java:111)
    	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
    	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
    	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
    	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
    	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
    	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
    	at java.lang.Thread.run(Thread.java:655)
    Caused by: java.util.prefs.BackingStoreException: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser could not be instantiated: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser not found
    	at org.ini4j.IniFile.sync(IniFile.java:72)
    	at org.ini4j.IniFile.<init>(IniFile.java:37)
    	at ome.formats.importer.util.IniFileLoader.<init>(IniFileLoader.java:104)
    	... 14 more
    Caused by: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser could not be instantiated: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser not found
    	at org.ini4j.ServiceFinder.findService(ServiceFinder.java:178)
    	at org.ini4j.IniParser.newInstance(IniParser.java:42)
    	at org.ini4j.Ini.load(Ini.java:253)
    	at org.ini4j.IniFile.sync(IniFile.java:67)
    	... 16 more
    Caused by: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser not found
    	at org.ini4j.ServiceFinder.findServiceClass(ServiceFinder.java:146)
    	at org.ini4j.ServiceFinder.findService(ServiceFinder.java:174)
    	... 19 more
    Caused by: java.lang.ClassNotFoundException: org.ini4j.IniParser
    
    

Change History (4)

comment:1 Changed 12 years ago by jburel

  • Cc saloynton added
  • Remaining Time set to 0.1
  • Sprint set to 2011-12-13 (4)
  • Status changed from new to accepted

adjust init file loader (otherwise build need to be modified) so we can import image when use from imageJ
This is legacy from old importer so should be removed so no point spending too long on it for now.

comment:2 Changed 12 years ago by jburel

to test:

  • launch insight from ImageJ
  • Click on the import icon
  • Select an image to import.
  • The image should import

comment:3 Changed 12 years ago by jburel

  • Remaining Time changed from 0.1 to 0
  • Status changed from accepted to closed

comment:4 Changed 12 years ago by Jean-marie Burel <j.burel@…>

  • Resolution set to fixed

(In [25cb14553c3af380f974f366353edd316e1b7654/ome.git] on branch develop) Adjust file so possible to import from imagej

Modify the importer legacy class so it is possible
to import image when using insight from imageJ. (close #7252)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.69497 sec.)

We're Hiring!