[ome-devel] OMERO API Import: Exception on Pixels download inside Insight

Chris Allan callan at blackcat.ca
Thu Mar 13 11:47:31 GMT 2008


On 13 Mar 2008, at 10:17, Jost Gundelach wrote:

> Hello,

Hi Jost.

>
> thanks for help Chris and Brian.
>
> I was a little bit confused and combined with my stupidity, I tumbled
> inside my problem ...
> The main problem, why I didn't saw the bug in my code, came from the
> code of the OMEROMetadataStore class, which was not in sync with  
> the source.
> I updated the source to revision 1995, the inital branch revision  
> and so
> I was able to debug it.
> And surprise there was a NullPointerException catched away inside the
> writeFilesToFileStore method, caused by the rawFileStore member which
> was null :-(
>
> I think it is a bug of the constructor
> OMEROMetadataStore(ServiceFactory), which does not initialize the
> rawFileStore. Isn't it?

Yes this constructor does not initialize the RawFileStore, the  
importer does not use that constructor at all so I suppose it's a bit  
unsurprising that it's out of date. Brian should be able to get that  
fixed up.

>
> Best Regards
> Jost Gundelach

Ciao.

-Chris


More information about the ome-devel mailing list