Menu

#267 Can't start IGB from extracted zip file because $HOME/.igb directory doesn't exist

IGB_6_7
closed
nobody
None
1
2015-04-27
2015-01-07
No

After downloading the zip file of IGB 8.2.1 and extracting it, starting IGB fails:

$ ./run_igb.sh 
13:34:06.439 [main] INFO  com.affymetrix.main.Main - Starting OSGI container
Jan 07, 2015 1:34:06 PM com.affymetrix.common.CommonUtils exportBundleInfo
SEVERE: Could not write bundle registry file to app data directory
java.io.FileNotFoundException: /home/username/.igb/bundleRegistry.json (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
    at java.io.PrintWriter.<init>(PrintWriter.java:184)
    at com.affymetrix.common.CommonUtils.exportBundleInfo(CommonUtils.java:275)
    at com.affymetrix.main.OSGiHandler.startOSGi(OSGiHandler.java:86)
    at com.affymetrix.main.Main.main(Main.java:33)

13:34:06.501 [main] ERROR com.affymetrix.main.Main - Error starting osgi runtime container
java.lang.NullPointerException: null
    at com.affymetrix.common.CommonUtils.exportBundleInfo(CommonUtils.java:280) ~[igb_exe.jar:na]
    at com.affymetrix.main.OSGiHandler.startOSGi(OSGiHandler.java:86) ~[igb_exe.jar:na]
    at com.affymetrix.main.Main.main(Main.java:33) ~[igb_exe.jar:na]

This error happens because the $HOME/.igb directory is not created by IGB, before trying to create the $HOME/.igb/bundleRegistry.json file.

After creating this directory myself, IGB starts correctly.

Discussion

  • Ann E. Loraine

    Ann E. Loraine - 2015-01-07

    Thanks very much for the report. This will probably be easy to fix.

     
  • David Norris

    David Norris - 2015-01-07

    Hi Gert,
    Thank you for your report, we will definitely patch this very soon!!
    Best Regards,
    David

     
  • David Norris

    David Norris - 2015-01-07

    Hi Gert,
    Thank you again for reporting this bug! We released a patch just now which resolves the bug.
    Best Regards,
    -David

     
  • David Norris

    David Norris - 2015-04-27
    • status: open --> closed