#15 crash on startup

closed
nobody
None
5
2005-12-24
2005-03-30
Anonymous
No

Like the previous post suggests, I replaced the jar
paths in git.sh with those in git.bat, and got it to
launch. But it gets as far as showing the splash
screen, then crashes with the following trace:

mkg@fridge:~/downloads/git $ ./git2.sh
creating file...
creating FileMonitor...
adding file...
reading xml...
Error reading xml file; creating new structure.
creating xml...
creating file...
creating FileMonitor...
adding file...
Show Splash: true
java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.git.client.swing.GITStartup.main(GITStartup.java:57)
Caused by: java.lang.ExceptionInInitializerError
at quicktime.QTObject.<clinit>(QTObject.java:20)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.git.GITUtils.hasQuicktimeForJava(GITUtils.java:83)
at
org.git.GITPropertiesPanel.createComponents(GITPropertiesPanel.java:284)
at
org.git.GITPropertiesPanel.<init>(GITPropertiesPanel.java:103)
at
org.git.client.swing.GetItTogether.createCards(GetItTogether.java:2092)
at
org.git.client.swing.GetItTogether.createSplitPane(GetItTogether.java:1936)
at
org.git.client.swing.GetItTogether.<init>(GetItTogether.java:465)
... 5 more
Exception in thread "main" java.lang.NoClassDefFoundError
at
quicktime.QTRuntimeException.toString(QTRuntimeException.java:109)
at java.lang.String.valueOf(String.java:2577)
at
java.lang.StringBuilder.append(StringBuilder.java:116)
at
java.lang.Throwable.printStackTraceAsCause(Throwable.java:489)
at
java.lang.Throwable.printStackTraceAsCause(Throwable.java:498)
at
java.lang.Throwable.printStackTrace(Throwable.java:469)
at
java.lang.Throwable.printStackTrace(Throwable.java:452)
at
org.git.client.swing.GITStartup.main(GITStartup.java:61)

Discussion

  • Logged In: NO

    The problem is that Quicktime is not available for Linux and
    the QTJava library requires it....

     
  • Logged In: NO

    Remove QTJava.jar from the classpath and it will work

     
  • Quadro
    Quadro
    2005-12-24

    • status: open --> closed