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 #12329 (closed)

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

Bug: NPE during CLI import on Windows 7

Reported by: bpindelski Owned by:
Priority: blocker Milestone: 5.0.3
Component: Services Version: 5.0.2
Keywords: n.a. Cc: jamoore, mtbcarroll
Resources: n.a. Referenced By: https://trello.com/c/EOL8YL14/54-bug-import
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

During testing of 5.0.2 server with Ice 3.5, I tried doing bin\omero import C:\Users\ome\Desktop\test on my Windows 7 VM. The test folder contained 4 folders: dicom, dv, dv_single and lei.

An NPE appears randomly during the import process:

2014-05-28 11:23:37,268 28156      [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_END
-! 28/05/14 11:23:37:549 warning: Ice.ThreadPool.Client-0: dispatch exception:
   identity: &8=\'^G*?i,b*sO3L+m$!/c6c94d8d-4727-41ff-8ead-2d1cb753cb51
   facet:
   operation: step
   remote host: 127.0.0.1 remote port: 4063
   java.lang.NullPointerException
        at ome.formats.importer.ImportLibrary$ImportCallback.step(ImportLibrary.java:592)
        at omero.cmd._CmdCallbackDisp.___step(_CmdCallbackDisp.java:103)
        at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:165)
        at IceInternal.Incoming.invoke(Incoming.java:222)
        at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
        at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
        at Ice.ConnectionI.message(ConnectionI.java:1213)
        at IceInternal.ThreadPool.run(ThreadPool.java:321)
        at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
        at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
        at java.lang.Thread.run(Thread.java:745)

This needs verification on a bare-metal Windows VM to exclude any I/O issues that VirtualBox? could introduce.

Change History (5)

comment:1 Changed 10 years ago by jburel

comment:2 Changed 10 years ago by mtbcarroll

  • Cc mtbcarroll added

comment:3 Changed 10 years ago by bpindelski

  • Resolution set to invalid
  • Status changed from new to closed

And that is another case of VM-bias. After upgrading the settings in VirtualBox? to use 2 CPU cores and 4096 MB of the host system's RAM, the NPEs disappeared (tried 3 times in a row). This means my VM settings were below the minimum system requirements for OMERO.

comment:4 Changed 10 years ago by jamoore

Interesting! Still not sure I understand how this happened, but if we see something like this on a user's VM it will be good that we can make a suggestion. Is it clear enough to document somehow?

comment:5 Changed 10 years ago by bpindelski

I think that http://www.openmicroscopy.org/site/support/omero5/sysadmins/system-requirements.html does a good enough job. I'd be wary of encouraging or mentioning running OMERO in a Windows Virtualbox VM (our OVA is an exception - it's for testing purposes, runs Linux and has more resources available due to no GUI).

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.67514 sec.)

We're Hiring!