Bug #1066

FITS fails after upgrade to FITS 0.4.3

Added by Evelyn McLellan over 10 years ago. Updated almost 9 years ago.

Status:VerifiedStart date:
Priority:CriticalDue date:
Assignee:Joseph Perry% Done:


Target version:Release 0.7
Google Code Legacy ID:archivematica-411 Pull Request:
Sponsored: Requires documentation:


Entire contents of SIP fails FITS. See attached screenshot.

[g] Legacy categories: FITS

shot1.png (154 KB) Evelyn McLellan, 11/30/2012 05:14 PM

shot2.png (153 KB) Evelyn McLellan, 11/30/2012 05:14 PM


#1 Updated by Evelyn McLellan over 10 years ago

Here is the output when I run FITS on a file in the terminal:

evelyn@dell-desktop:~$ cd Desktop
evelyn@dell-desktop:~/Desktop$ fits.sh -i shot1.png
Exception in thread "main" java.lang.NoClassDefFoundError: edu/harvard/hul/ois/fits/Fits
Caused by: java.lang.ClassNotFoundException: edu.harvard.hul.ois.fits.Fits
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: edu.harvard.hul.ois.fits.Fits. Program will exit.

#2 Updated by Evelyn McLellan over 10 years ago

New error message. See attached.

#3 Updated by Evelyn McLellan over 10 years ago

Re-assigning to Joseph because the problem now is that the new version of FITS has a different output which can't be parsed by our current code.

[g] New owner: Joseph Perry

#4 Updated by Evelyn McLellan over 10 years ago

  • Status changed from New to Verified

Fixed in r1126.

#5 Updated by Joseph Perry over 10 years ago

The original java errors were problems with the fits package. They were fixed by Austin.

The Index errors were caused by the fits namespace being added. LXML handles namespace as part of the tag name, so it wasn't finding the tag.

Also available in: Atom PDF