Missing tiers
Up one level
Missing tiers
Just recently, my .eaf files open, but the tiers are missing. The files have kilobyte values, they are not empty, but I can't see any content. I don't get an error message either. These files worked fine previously.
I tried doing what a previous poster said http://www.lat-mpi.eu/tools/elan/elanforum/post200906273297797573: deleting _xerces.jar, but nothing improved.
I am running ELAN 3.7.2-1 on Mac OS X 10.4.11 on a 13'' MacBook.
What has caused these tiers to go missing, as well as what can I do to recover the data?
Thanks for any help!
Alyson
Re: Missing tiers
Difficult to say, best thing to do is have a look in the log file after opening an eaf file and next quiting ELAN. There might be error messages in the log.
The logfile can be found in:
<user_home>/Library/Preferences/ELAN/elan0.log (or the most recent elanxxx.log).
If there are any error messages you can post them here.
-Han
Re: Re: Missing tiers
Thanks for the info. Here I'm posting the log file output. There does seem to be some error happening in the log, but I'm not knowledgeable enough to know its implication. Thanks for any help!
Alyson
Jul 21, 2009 6:05:42 PM mpi.eudico.client.annotator.ELAN main
INFO: ELAN 3.7.2
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: Java version: 1.5.0_19
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: Runtime version: 1.5.0_19-b02-306
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: OS name: Mac OS X
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: OS version: 10.4.11
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: User language: en
Jul 21, 2009 6:05:44 PM mpi.eudico.client.annotator.ELAN main
INFO: Classpath: lib/elan.jar:lib/cocoa_qt/1.1/JavaCocoaQTMovieView.jar:lib/mfsearch__V0.8.0.jar:ext/nl.mpi.guk__V06.jar:ext/nl.mpi.lookup__V08.jar:lib/batik__V1.1.1.jar:lib/jlfgr-1_0.jar:lib/xerces__V2.6.2/xercesImpl.jar:jmf2.1.1a/jmf.jar:jmf2.1.1a/sound.jar:lib/jhall-2.0.0.5.jar:lib/xalan-2.4.1.jar:lib/macapp__V03.jar:lib/help.zip:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
Jul 21, 2009 6:05:46 PM mpi.eudico.client.annotator.util.SystemInstallationSecurity verifyLibExt
INFO: verifying lib/ext /USERS/AGEGGLESTON/LIBRARY/JAVA/EXTENSIONS
Jul 21, 2009 6:05:47 PM mpi.eudico.client.annotator.prefs.PreferencesReader <init>
SEVERE: Could not create xml reader: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:189)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:180)
at mpi.eudico.client.annotator.prefs.PreferencesReader.<init>(PreferencesReader.java:62)
at mpi.eudico.client.annotator.Preferences.<clinit>(Preferences.java:50)
at mpi.eudico.client.annotator.ELAN.main(ELAN.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
... 11 more
Jul 21, 2009 6:05:47 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
WARNING: Cannot parse preferences file: /Users/AGEggleston/Library/Preferences/ELAN/elan.pfsx
Jul 21, 2009 6:05:48 PM mpi.eudico.client.annotator.integration.ExternalLauncher start
INFO: External launch thread started...
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:189)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:180)
at mpi.eudico.server.corpora.clomimpl.dobes.EAF26Parser.<init>(EAF26Parser.java:101)
at mpi.eudico.server.corpora.clomimpl.abstr.ParserFactory.getParser(ParserFactory.java:77)
at mpi.eudico.server.corpora.clomimpl.dobes.ACM26TranscriptionStore.loadTranscription(ACM26TranscriptionStore.java:241)
at mpi.eudico.server.corpora.clomimpl.abstr.TranscriptionImpl.initialize(TranscriptionImpl.java:326)
at mpi.eudico.server.corpora.clomimpl.abstr.TranscriptionImpl.<init>(TranscriptionImpl.java:198)
at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:309)
at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:366)
at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:664)
at mpi.eudico.client.annotator.ElanMacApplication.macHandleOpenFile(ElanMacApplication.java:57)
at mpi.eudico.client.mac.MacAppHandler.handleOpenFile(Unknown Source)
at com.apple.eawt.Application$4.run(Application.java:353)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
... 19 more
Fatal(?) Error! null
Exception for /Users/AGEggleston/Desktop/elan test/Dibin2T2_BrigidaBertilda.eaf
Tier id null
Annotation id null
No media export functionality available
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at mpi.eudico.client.annotator.prefs.PreferencesWriter.encodeAndSave(PreferencesWriter.java:70)
at mpi.eudico.client.annotator.Preferences.writePreferencesFor(Preferences.java:457)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:114)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:137)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:148)
at mpi.eudico.client.annotator.FrameManager.addToRecentFiles(FrameManager.java:932)
at mpi.eudico.client.annotator.FrameManager.updateFrameTitle(FrameManager.java:496)
at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:352)
at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:366)
at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:664)
at mpi.eudico.client.annotator.ElanMacApplication.macHandleOpenFile(ElanMacApplication.java:57)
at mpi.eudico.client.mac.MacAppHandler.handleOpenFile(Unknown Source)
at com.apple.eawt.Application$4.run(Application.java:353)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at mpi.eudico.client.annotator.prefs.PreferencesWriter.encodeAndSave(PreferencesWriter.java:70)
at mpi.eudico.client.annotator.Preferences.writePreferencesFor(Preferences.java:457)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:114)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:137)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:148)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:170)
at mpi.eudico.client.annotator.ElanFrame2.savePreferences(ElanFrame2.java:1857)
at mpi.eudico.client.annotator.ElanFrame2.doClose(ElanFrame2.java:2115)
at mpi.eudico.client.annotator.ElanFrame2.checkSaveAndClose(ElanFrame2.java:2051)
at mpi.eudico.client.annotator.ElanFrame2$ElanFrameWindowListener.windowClosing(ElanFrame2.java:2529)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
at java.awt.Window.processWindowEvent(Window.java:1203)
at javax.swing.JFrame.processWindowEvent(JFrame.java:267)
at java.awt.Window.processEvent(Window.java:1161)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at mpi.eudico.client.annotator.prefs.PreferencesWriter.encodeAndSave(PreferencesWriter.java:70)
at mpi.eudico.client.annotator.Preferences.writePreferencesFor(Preferences.java:457)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:114)
at mpi.eudico.client.annotator.ElanFrame2.savePreferences(ElanFrame2.java:1874)
at mpi.eudico.client.annotator.ElanFrame2.doClose(ElanFrame2.java:2115)
at mpi.eudico.client.annotator.FrameManager.exit(FrameManager.java:540)
at mpi.eudico.client.annotator.ElanMacApplication.macHandleQuit(ElanMacApplication.java:90)
at mpi.eudico.client.mac.MacAppHandler.handleQuit(Unknown Source)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at mpi.eudico.client.annotator.prefs.PreferencesWriter.encodeAndSave(PreferencesWriter.java:70)
at mpi.eudico.client.annotator.Preferences.writePreferencesFor(Preferences.java:457)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:114)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:137)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:148)
at mpi.eudico.client.annotator.FrameManager.exit(FrameManager.java:581)
at mpi.eudico.client.annotator.FrameManager.closeFrame(FrameManager.java:270)
at mpi.eudico.client.annotator.ElanFrame2.doClose(ElanFrame2.java:2112)
at mpi.eudico.client.annotator.ElanFrame2$ElanFrameWindowListener.windowClosing(ElanFrame2.java:2533)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
at java.awt.Window.processWindowEvent(Window.java:1203)
at javax.swing.JFrame.processWindowEvent(JFrame.java:267)
at java.awt.Window.processEvent(Window.java:1161)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at mpi.eudico.client.annotator.prefs.PreferencesWriter.encodeAndSave(PreferencesWriter.java:70)
at mpi.eudico.client.annotator.Preferences.writePreferencesFor(Preferences.java:457)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:114)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:137)
at mpi.eudico.client.annotator.Preferences.set(Preferences.java:148)
at mpi.eudico.client.annotator.FrameManager.exit(FrameManager.java:581)
at mpi.eudico.client.annotator.ElanMacApplication.macHandleQuit(ElanMacApplication.java:90)
at mpi.eudico.client.mac.MacAppHandler.handleQuit(Unknown Source)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
===== Tuesday, July 21, 2009 6:08:35 PM America/Indianapolis =====
Re: Re: Re: Missing tiers
The error messages indicate that the problem is related to the one in the mentioned earlier post: the library needed to load XML files can not be found.
You already removed a "_xerces.jar" from the folder <user>/Library/Java/Extensions, you could look into System/Library/Java/Extensions as well. Maybe a xerces.jar has been installed there?
Also, ELAN tries to use the Xerces library from <ELAN_INSTALL_FOLDER>/lib/xerces__V2.6.2/. There should be 3 .jar files in there, are these still in place?
-Han
Re: Missing tiers
Hi Han,<br><br>these xerces files are not in the system\library folder and the required 3 .jar files are in the elan library folder.<br><br>Thanks,<br>Alyson<br>
Re: Re: Missing tiers
That is strange, if the files are present in the /lib/xerces__V2.6.2/ folder and the xercesImpl.jar file is in the CLASSPATH (as your log file shows), I don't understand why a parser cannot be created.
I've compared the log output with that on a similar system here (MacOS 10.4.11, Java 1.5.0_19) and everything seems to be the same. So, I have no clue.
Other directories where interfering "xerces" jars could be found are:
/Library/Java/Extensions
/Library/Java/Home/lib/ext (points to the default Java folder)
/System/Library/Java/Extensions
-Han