[Bug 1058576] New: TV-Browser 3.4.4 does not work with java-9-openjdk
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576 Bug ID: 1058576 Summary: TV-Browser 3.4.4 does not work with java-9-openjdk Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fkrueger@mailbox.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Given the announcement on the factory mailing list (https://lists.opensuse.org/opensuse-factory/2017-09/msg00155.html) that Java 9 will become the default java implementation I just realized that tvbrowser-3.4.4 does not work/start with java-9-openjdk, while with java-1_8_0-openjdk it works as expected. The error messages are as follows: 19:37:37 WARNUNG: TV-Browser was developed for Sun Java and may not run correctly with your Java implementation. 19:37:37 SCHWERWIEGEND: UNCAUGHT EXCEPTION IN THREAD 'main' java.lang.NoClassDefFoundError: javax/activation/UnsupportedDataTypeException at util.ui.Localizer.msg(Localizer.java:323) at util.exc.TvBrowserException.getLocalizedMessage(TvBrowserException.java:256) at java.base/java.lang.Throwable.toString(Throwable.java:485) at java.base/java.lang.String.valueOf(String.java:2801) at java.base/java.io.PrintWriter.println(PrintWriter.java:753) at java.base/java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:768) at java.base/java.lang.Throwable.printStackTrace(Throwable.java:659) at java.base/java.lang.Throwable.printStackTrace(Throwable.java:725) at tvbrowser.TVBrowser$15.format(TVBrowser.java:1561) at java.logging/java.util.logging.StreamHandler.publish(StreamHandler.java:199) at java.logging/java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:95) at java.logging/java.util.logging.Logger.log(Logger.java:979) at java.logging/java.util.logging.Logger.doLog(Logger.java:1006) at java.logging/java.util.logging.Logger.log(Logger.java:1117) at tvbrowser.core.PluginLoader.loadPlugin(PluginLoader.java:276) at tvbrowser.core.PluginLoader.loadPlugins(PluginLoader.java:487) at tvbrowser.core.PluginLoader.loadAllPlugins(PluginLoader.java:523) at tvbrowser.TVBrowser.main(TVBrowser.java:481) Caused by: java.lang.ClassNotFoundException: javax.activation.UnsupportedDataTypeException at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 18 more 19:37:37 WARNUNG: Key 'PluginLoader.error.2' not found in resource bundle 'tvbrowser.core.core' -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c1
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c2
--- Comment #2 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c3
--- Comment #3 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c4
--- Comment #4 from Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c5
--- Comment #5 from Wolfgang Bauer
By the way, the tvbrowser command line options: -minimized The main window will be minimized after start up -nostartscreen No start screen during start up -fullscreen Start in fullscreen-mode -ignorejvm Don't check for Sun Java -safemode Don't load Plugins
do not work either (Tumbleweed, Leap 42.3). For example, "tvbrowser -ignorejvm" gives "WARNUNG: Unknown command line parameter: '-ignorejvm'."
Yes, I noticed this myself. They do not work with the start script provided by upstream either though. So feel free to report this to the tvbrowser developers. Also the packages provided on the tvbrowser homepage crash with Java 1.9 (in the same way) btw. And I won't be able to fix it, unfortunately. E.g. I tried to remove the line that causes the crash, and it just crashes somewhere else then. We need to wait for a new upstream version that supports Java 1.9 I'm afraid. I will try to modify the start script to explicitly use Java 1.8 though. I hope that is acceptable for Factory for now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c6
Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c7
--- Comment #7 from Wolfgang Bauer
By the way, the tvbrowser command line options: -minimized The main window will be minimized after start up -nostartscreen No start screen during start up -fullscreen Start in fullscreen-mode -ignorejvm Don't check for Sun Java -safemode Don't load Plugins
do not work either (Tumbleweed, Leap 42.3). For example, "tvbrowser -ignorejvm" gives "WARNUNG: Unknown command line parameter: '-ignorejvm'."
Actually they do work. But tvbrowser checks for "ignorevm" (without '-') or "-i". See the output: $ tvbrowser -help TV-Browser was developed for Sun Java and may not run correctly with your Java implementation. command line options: -minimized The main window will be minimized after start up -nostartscreen No start screen during start up -fullscreen Start in fullscreen-mode -ignorejvm Don't check for Sun Java -safemode Don't load Plugins $ tvbrowser ignorejvm -help command line options: -minimized The main window will be minimized after start up -nostartscreen No start screen during start up -fullscreen Start in fullscreen-mode -ignorejvm Don't check for Sun Java -safemode Don't load Plugins Sep. 18, 2017 10:36:35 NACHM. tvbrowser.TVBrowser parseCommandline WARNUNG: Unknown command line parameter: 'ignorejvm' (the warning about the unknown command line parameter is superfluous, as you can see the java warning is not displayed) Doesn't help at all with the crash though. The other command line options work too AFAICT. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c8
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c9
--- Comment #9 from Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c10
Wolfgang Bauer
Given the prerequisite of java-1_8_0-openjdk, tvbrowser 4 works for Tumbleweed (x86_64) as expected. Thx.
I can confirm it works on a Tumbleweed 32bit installation too meanwhile. So I will submit it to the devel project (tomorrow though, I still need to adjust the changelog...)
Unfortunately, it does not work solely with java 9, as described above. So, the issue remains unsolved.
Depends on how you look at it. My changes do "fix" the problem in openSUSE that you reported. I.e. the new package does work. Of course, it doesn't make it work with Java 9, that's what upstream needs to change. For me, openSUSE is more important though, and that's the only thing that counts in openSUSE's bugzilla anyway... ;-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c11
--- Comment #11 from Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576
http://bugzilla.opensuse.org/show_bug.cgi?id=1058576#c12
Wolfgang Bauer
I disagree, but bugzilla is not the place to discuss this in more detail. Anyway, thanks for your efforts. I appreciate it!
Whatever. Somebody else copied my changes and submitted them. https://build.opensuse.org/request/show/528666 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com