<div dir="ltr">I have sent pull requests #2786 #2787.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 10:22 AM, David Gault (Staff) <span dir="ltr"><<a href="mailto:d.gault@dundee.ac.uk" target="_blank">d.gault@dundee.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi Paul,
<div><br>
</div>
<div>The work on the reader looks like it is coming along nicely. I was able to carry out some debugging of the exceptions you have been seeing. The first exception is due to a missing ExperimenterID which can be set as below at the same point which
you are setting instrument and objective ID’s.</div>
<div>
<div style="margin:0px;font-size:11px;font-family:Monaco"><span style="color:#7e504f"><br>
</span></div>
<div style="margin:0px;font-size:11px;font-family:Monaco"><span style="color:#7e504f">store</span>.setExperimenterID(<span style="text-decoration:underline">Metada<wbr>taTools</span>.createLSID(<span style="color:#3933ff">"<wbr>Experimenter"</span>,
0), 0);</div>
</div>
<div><br>
</div>
<div>Once that NullPointerException is resolved you will see a number of other exceptions relating to null values on the Pixels object for sizeC, sizeT, sizeZ etc. These largely relate to the handling of resolutions depending on if the flattenedResolutions
is set to true or not. In this regard we had a numerous bits of feedback on various sections of code, would it be possible to upload the reader to GitHub? It might make it easier to provide comments on the individual sections or lines of code.</div>
<div><br>
</div>
<div>With Thanks,</div>
<div>David Gault</div>
<div><br>
<div>
<blockquote type="cite"><div><div class="h5">
<div>On 8 Mar 2017, at 22:10, Paul Richards <<a href="mailto:paulrichards321@gmail.com" target="_blank">paulrichards321@gmail.com</a>> wrote:</div>
<br class="m_-990195217926755165Apple-interchange-newline">
</div></div><div><div><div class="h5">
<div dir="ltr">You can grab a small test slide here: <a href="http://medtech.med.wayne.edu/test/SG09-599.zip" target="_blank">
http://medtech.med.wayne.edu/<wbr>test/SG09-599.zip</a>
<div><br>
</div>
<div>You would then change into that directory and import SlideScan.ini or any of the other .ini files.</div>
<div><br>
</div>
<div>Here is the crucial part of the import log after all the jpg files are uploaded:</div>
<div><br>
</div>
<div>
<div>2017-03-08 16:32:28,615 19727 [ main] INFO ormats.importer.cli.<wbr>LoggingImportMonitor - FILESET_UPLOAD_END</div>
<div>2017-03-08 16:32:28,753 19865 [ main] INFO ormats.importer.cli.<wbr>LoggingImportMonitor - IMPORT_STARTED Logfile: 4000</div>
<div>2017-03-08 16:32:28,980 20092 [l.Client-1] ERROR ome.formats.importer.cli.<wbr>ErrorHandler - INTERNAL_EXCEPTION: /home/omero/SG09-599/<wbr>SlideScan.ini</div>
<div>java.lang.RuntimeException: Failure response on import!</div>
<div>Category: ::omero::grid::ImportRequest</div>
<div>Name: import-request-failure</div>
<div>Parameters: {stacktrace=java.lang.<wbr>NullPointerException</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.model.<wbr>ChannelProcessor.process(<wbr>ChannelProcessor.java:469)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.<wbr>OMEROMetadataStoreClient.<wbr>postProcess(<wbr>OMEROMetadataStoreClient.java:<wbr>1752)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.blitz.repo.<wbr>ManagedImportRequestI.<wbr>importMetadata(<wbr>ManagedImportRequestI.java:<wbr>623)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.blitz.repo.<wbr>ManagedImportRequestI.step(<wbr>ManagedImportRequestI.java:<wbr>501)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI.steps(<wbr>HandleI.java:438)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI$1.doWork(<wbr>HandleI.java:366)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI$1.doWork(<wbr>HandleI.java:362)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at sun.reflect.<wbr>GeneratedMethodAccessor291.<wbr>invoke(Unknown Source)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.reflect.Method.<wbr>invoke(Method.java:498)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>support.AopUtils.<wbr>invokeJoinpointUsingReflection<wbr>(AopUtils.java:307)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>invokeJoinpoint(<wbr>ReflectiveMethodInvocation.<wbr>java:183)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:150)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl$Interceptor.invoke(<wbr>Executor.java:562)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.security.basic.<wbr>EventHandler.invoke(<wbr>EventHandler.java:154)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.orm.<wbr>hibernate3.<wbr>HibernateInterceptor.invoke(<wbr>HibernateInterceptor.java:111)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.<wbr>transaction.interceptor.<wbr>TransactionInterceptor.invoke(<wbr>TransactionInterceptor.java:<wbr>108)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.tools.hibernate.<wbr>ProxyCleanupFilter$<wbr>Interceptor.invoke(<wbr>ProxyCleanupFilter.java:249)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.<wbr>ServiceHandler.invoke(<wbr>ServiceHandler.java:121)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.JdkDynamicAopProxy.<wbr>invoke(JdkDynamicAopProxy.<wbr>java:202)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at com.sun.proxy.$Proxy72.doWork(<wbr>Unknown Source)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl.execute(Executor.java:<wbr>443)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI.run(HandleI.<wbr>java:360)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl$1.call(Executor.java:484)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.Thread.run(Thread.<wbr>java:745)</div>
<div>, message=}</div>
<div><br>
</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.<wbr>ImportLibrary$ImportCallback.<wbr>onFinished(ImportLibrary.java:<wbr>665)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.CmdCallbackI.<wbr>finished(CmdCallbackI.java:<wbr>334)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd._CmdCallbackDisp.___<wbr>finished(_CmdCallbackDisp.<wbr>java:118)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd._CmdCallbackDisp.__<wbr>dispatch(_CmdCallbackDisp.<wbr>java:145)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.Incoming.invoke(<wbr>Incoming.java:222)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.invokeAll(<wbr>ConnectionI.java:2482)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.dispatch(<wbr>ConnectionI.java:1258)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.message(<wbr>ConnectionI.java:1213)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool.run(<wbr>ThreadPool.java:321)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool.access$<wbr>300(ThreadPool.java:12)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool$<wbr>EventHandlerThread.run(<wbr>ThreadPool.java:693)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.Thread.run(Thread.<wbr>java:745)</div>
<div><br>
</div>
<div>java.lang.RuntimeException: Failure response on import!</div>
<div>Category: ::omero::grid::ImportRequest</div>
<div>Name: import-request-failure</div>
<div>Parameters: {stacktrace=java.lang.<wbr>NullPointerException</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.model.<wbr>ChannelProcessor.process(<wbr>ChannelProcessor.java:469)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.<wbr>OMEROMetadataStoreClient.<wbr>postProcess(<wbr>OMEROMetadataStoreClient.java:<wbr>1752)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.blitz.repo.<wbr>ManagedImportRequestI.<wbr>importMetadata(<wbr>ManagedImportRequestI.java:<wbr>623)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.blitz.repo.<wbr>ManagedImportRequestI.step(<wbr>ManagedImportRequestI.java:<wbr>501)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI.steps(<wbr>HandleI.java:438)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI$1.doWork(<wbr>HandleI.java:366)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI$1.doWork(<wbr>HandleI.java:362)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at sun.reflect.<wbr>GeneratedMethodAccessor291.<wbr>invoke(Unknown Source)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.reflect.Method.<wbr>invoke(Method.java:498)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>support.AopUtils.<wbr>invokeJoinpointUsingReflection<wbr>(AopUtils.java:307)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>invokeJoinpoint(<wbr>ReflectiveMethodInvocation.<wbr>java:183)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:150)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl$Interceptor.invoke(<wbr>Executor.java:562)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.security.basic.<wbr>EventHandler.invoke(<wbr>EventHandler.java:154)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.orm.<wbr>hibernate3.<wbr>HibernateInterceptor.invoke(<wbr>HibernateInterceptor.java:111)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.<wbr>transaction.interceptor.<wbr>TransactionInterceptor.invoke(<wbr>TransactionInterceptor.java:<wbr>108)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.tools.hibernate.<wbr>ProxyCleanupFilter$<wbr>Interceptor.invoke(<wbr>ProxyCleanupFilter.java:249)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.<wbr>ServiceHandler.invoke(<wbr>ServiceHandler.java:121)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.aop.<wbr>framework.JdkDynamicAopProxy.<wbr>invoke(JdkDynamicAopProxy.<wbr>java:202)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at com.sun.proxy.$Proxy72.doWork(<wbr>Unknown Source)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl.execute(Executor.java:<wbr>443)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.HandleI.run(HandleI.<wbr>java:360)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.services.util.Executor$<wbr>Impl$1.call(Executor.java:484)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617)</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.Thread.run(Thread.<wbr>java:745)</div>
<div>, message=}</div>
<div><br>
</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.<wbr>ImportLibrary$ImportCallback.<wbr>onFinished(ImportLibrary.java:<wbr>665) ~[blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd.CmdCallbackI.<wbr>finished(CmdCallbackI.java:<wbr>334) [blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd._CmdCallbackDisp.___<wbr>finished(_CmdCallbackDisp.<wbr>java:118) [blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at omero.cmd._CmdCallbackDisp.__<wbr>dispatch(_CmdCallbackDisp.<wbr>java:145) [blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.Incoming.invoke(<wbr>Incoming.java:222) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.invokeAll(<wbr>ConnectionI.java:2482) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.dispatch(<wbr>ConnectionI.java:1258) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at Ice.ConnectionI.message(<wbr>ConnectionI.java:1213) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool.run(<wbr>ThreadPool.java:321) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool.access$<wbr>300(ThreadPool.java:12) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at IceInternal.ThreadPool$<wbr>EventHandlerThread.run(<wbr>ThreadPool.java:693) [ice.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at java.lang.Thread.run(Thread.<wbr>java:745) [na:1.8.0_121]</div>
<div>2017-03-08 16:32:28,985 20097 [ main] ERROR ome.formats.importer.<wbr>ImportLibrary - Error on import</div>
<div>java.lang.Exception: Import failure</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.<wbr>ImportLibrary.importImage(<wbr>ImportLibrary.java:560) ~[blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.<wbr>ImportLibrary.<wbr>importCandidates(<wbr>ImportLibrary.java:289) ~[blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.cli.<wbr>CommandLineImporter.start(<wbr>CommandLineImporter.java:293) [blitz.jar:na]</div>
<div><span class="m_-990195217926755165gmail-Apple-tab-span" style="white-space:pre-wrap"></span>at ome.formats.importer.cli.<wbr>CommandLineImporter.main(<wbr>CommandLineImporter.java:950) [blitz.jar:na]</div>
<div>2017-03-08 16:32:28,985 20097 [ main] INFO ome.formats.importer.<wbr>ImportLibrary - Exiting on error</div>
<div><br>
</div>
<div>==> Summary</div>
<div>494 files uploaded, 0 filesets created, 0 images imported, 1 error in 0:00:17.810</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 8, 2017 at 4:55 PM, Paul Richards <span dir="ltr">
<<a href="mailto:paulrichards321@gmail.com" target="_blank">paulrichards321@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I have successfully developed a separate open source C++ program to convert Olympus SlideScan.ini pyramid images into big tiff format. I have since been working on a open microscopy version of this importer, but keep running into a java NullPointer
exception on import. I have been debugging this for about a week with no luck. I can import the images fine if I do not assign resolutionCount > 1, but then I do not see the pyramid view. Attached is the log with the java runtime error. I have tried different
version of bioformats, and grabbed yesterday's git version of the open microscopy source code and also tried 5.2.7 with no luck. I keep getting the same NullPointer error. I know I must be doing something wrong!</div>
<div><br>
</div>
<div>Here is the source code of the import module: </div>
<div><br>
</div>
<div><a href="http://medtech.med.wayne.edu/test/OlympusINIReader.java" target="_blank">http://medtech.med.wayne.edu/t<wbr>est/OlympusINIReader.java</a></div>
<div><br>
</div>
<div>(just plop this file into bioformats-5.3.4/components/fo<wbr>rmats-gpl/src/loci/in and run ant in the formats-gpl directory)</div>
<div><br>
</div>
<div><a href="http://medtech.med.wayne.edu/test/readers.txt" target="_blank">http://medtech.med.wayne.edu/t<wbr>est/readers.txt</a></div>
<div><br>
</div>
<div>(this file goes into bioformats-5.3.4/components/fo<wbr>rmats-api/src/loci/formatsats-<wbr>api/src/)</div>
<div><br>
</div>
<div>Please let me know if you would like me to use the git tree for these, I didn't include them since they are not working properly.</div>
<div><br>
</div>
<div>Any help is greatly appreciated!</div>
<div><br>
</div>
<div>Best Regards,</div>
<div><br>
</div>
<div>Paul Richards</div>
<div>Web Developer</div>
<div>Wayne State University School of Medicine</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
______________________________<wbr>_________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" target="_blank">ome-devel@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>devel</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</div>
<br>______________________________<wbr>_________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" rel="noreferrer" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>devel</a><br>
<br></blockquote></div><br></div>