I got the same error, from an invocation of autopano-sift by Hugin.
In the package autopano-sift (2.4-0ubuntu8), the executable is called autopano. Using the default settings, Hugin (0.7.0~svn3191+beta5-1ubuntu1) expects it to be called autopano-sift. After changing Hugin's preferences, it calls:
autopano-sift, Automatic panorama generation program
Loading keyfiles
ex: System.Xml.XmlException: Text node cannot appear in this state. Line 1, position 1.
at System.Xml.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000]
at System.Xml.XmlTextReader.ReadContent () [0x00000]
at System.Xml.XmlTextReader.Read () [0x00000]
at System.Xml.XmlReader.MoveToContent () [0x00000]
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000]
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000]
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MultiMatch.LoadKeysets (System.String[] filenames) [0x00000]
at Autopano.Main (System.String[] args) [0x00000]
I would expect the default Hugin preferences to simply work with the Ubuntu packages.
I got the same error, from an invocation of autopano-sift by Hugin.
In the package autopano-sift (2.4-0ubuntu8), the executable is called autopano. Using the default settings, Hugin (0.7.0~ svn3191+ beta5-1ubuntu1) expects it to be called autopano-sift. After changing Hugin's preferences, it calls:
autopano --maxmatches 20 /tmp/ap_resjyB4Iq "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-1. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-2. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-3. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-4. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-5. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-6. jpg" "/home/ sybren/ 2008/20080926- Utrecht/ hdr1/jpeg/ hdr1-7. jpg"
The program output reads:
autopano-sift, Automatic panorama generation program
Loading keyfiles Xml.XmlExceptio n: Text node cannot appear in this state. Line 1, position 1. Xml.XmlTextRead er.ReadText (Boolean notWhitespace) [0x00000] Xml.XmlTextRead er.ReadContent () [0x00000] Xml.XmlTextRead er.Read () [0x00000] Xml.XmlReader. MoveToContent () [0x00000] Xml.Serializati on.XmlSerializa tionReaderInter preter. ReadRoot () [0x00000] Xml.Serializati on.XmlSerialize r.Deserialize (System. Xml.Serializati on.XmlSerializa tionReader reader) [0x00000]
ex: System.
at System.
at System.
at System.
at System.
at System.
at System.
Unhandled Exception: System. NullReferenceEx ception: Object reference not set to an instance of an object LoadKeysets (System.String[] filenames) [0x00000]
at MultiMatch.
at Autopano.Main (System.String[] args) [0x00000]
I would expect the default Hugin preferences to simply work with the Ubuntu packages.