Gentoo 3.0.1 fails to start

For talk and Help about everything concerning TV-Browser.
Antworten
Muzer

Gentoo 3.0.1 fails to start

Beitrag von Muzer » 01 Mai 2011, 14:20

When trying to run 3.0.1 on Gentoo, I get the following:

Code: Alles auswählen

muzer@muzer-gentoo ~/tvbrowser-3.0.1 $ ./tvbrowser.sh 
Starting TV-Browser...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0_24]
Configuring environment...
Loading TV-Browser:
java -Xms16m -Xmx256m  -Djava.library.path="/home/muzer/tvbrowser-3.0.1" -Dpropertiesfile=linux.properties -jar tvbrowser.jar ''
command line options:
    -minimized    The main window will be minimized after start up
    -nosplash     No splash screen during start up
    -fullscreen   Start in fullscreen-mode
    -ignorejvm    Don't check for Sun Java

13:16:45 INFO: Using settings from file /home/muzer/.tvbrowser/3.0.1/settings.prop
Exception in thread "main" java.lang.ClassFormatError: Unknown constant tag 65 in class file com/sun/java/swing/plaf/nimbus/NimbusStyle
        at com.sun.java.swing.plaf.nimbus.NimbusDefaults$LazyStyle.getStyle(NimbusDefaults.java:1430)
        at com.sun.java.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1151)
        at com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:88)
        at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:210)
        at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:266)
        at javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:70)
        at javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:57)
        at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:39)
        at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:37)
        at javax.swing.JComponent.setUI(JComponent.java:662)
        at javax.swing.JPanel.setUI(JPanel.java:136)
        at javax.swing.JPanel.updateUI(JPanel.java:109)
        at javax.swing.JPanel.<init>(JPanel.java:69)
        at javax.swing.JPanel.<init>(JPanel.java:92)
        at javax.swing.JPanel.<init>(JPanel.java:100)
        at javax.swing.JRootPane.createGlassPane(JRootPane.java:528)
        at javax.swing.JRootPane.<init>(JRootPane.java:348)
        at javax.swing.JDialog.createRootPane(JDialog.java:611)
        at javax.swing.JDialog.dialogInit(JDialog.java:593)
        at javax.swing.JDialog.<init>(JDialog.java:260)
        at javax.swing.JDialog.<init>(JDialog.java:187)
        at javax.swing.JDialog.<init>(JDialog.java:135)
        at tvbrowser.ui.update.TvBrowserVersionChangeDlg.<init>(TvBrowserVersionChangeDlg.java:73)
        at tvbrowser.TVBrowser.updatePluginsOnVersionChange(TVBrowser.java:1397)
        at tvbrowser.TVBrowser.main(TVBrowser.java:347)
TV-Browser TERMINATED.
muzer@muzer-gentoo ~/tvbrowser-3.0.1 $

Bananeweizen
Site Admin
Beiträge: 3353
Registriert: 09 Sep 2006, 22:45

Re: Gentoo 3.0.1 fails to start

Beitrag von Bananeweizen » 03 Mai 2011, 20:58

That's an exception in the Java-internal Nimbus look and feel. So the root cause is somewhere in your Java implementation. Therefore you may try to get around the problem by installing or using another Java VM (OpenJDK, IcedTea, ...).

In the next version the part of TV-Browser invoking that code has additional exception handling, so it _may_ already work around that issue. You could test that by downloading the most recent version from here: http://tvbrowser.org:8080/hudson/job/tv ... er/public/, unzipping that into a new directory and starting it (it's the transportable cross platform version of TV-Browser). Would be good to know if the issue still exists or not.

And finally you may also get around the problem by using another look and feel than Nimbus. Please locate the linux.properties file in your TV-Browser installation, remove the "#" in the line starting with "#lookandfeel" and try again. That should force another look and feel to be loaded.

Muzer

Re: Gentoo 3.0.1 fails to start

Beitrag von Muzer » 03 Mai 2011, 22:21

The new version works - indeed. Thanks a lot.

Antworten