https://bugzilla.wikimedia.org/show_bug.cgi?id=18705
Summary: NullPointerException when switching tabs with Safari
Product: Cortado
Version: unspecified
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: User interface
AssignedTo: [email protected]
ReportedBy: [email protected]
Safari (the default web browser on MacOS X) calls Applet.stop() when users
switch to a different tab, and Applet.start() when they switch back to the tab
with the applet. The result is that Cortado.start() is called when pipeline is
null. This crashes the applet with a NullPointerException.
A simple workaround is to call init() at the beginning of start() when pipeline
is null.
[INFO] Application stopping...
...
[INFO] Application stopped
[INFO] Application starting
java.lang.NullPointerException
at com.fluendo.player.Cortado.start(Cortado.java:768)
at sun.applet.AppletPanel.run(AppletPanel.java:420)
at java.lang.Thread.run(Thread.java:613)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l