Last modified: 2014-02-28 22:40:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18705 - NullPointerException when switching tabs with Safari
NullPointerException when switching tabs with Safari
Status: RESOLVED WONTFIX
Product: Cortado
Classification: Unclassified
User interface (Other open bugs)
unspecified
Macintosh All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
wikimedia[unmaintained]
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-07 12:10 UTC by Damien Guillaume
Modified: 2014-02-28 22:40 UTC (History)
0 users

See Also:
Web browser: Apple Safari
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Damien Guillaume 2009-05-07 12:10:59 UTC
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)
Comment 1 Andre Klapper 2012-12-17 12:14:09 UTC
TimedMediaHandler was deployed at the beginning of November 2012, see
https://www.mediawiki.org/wiki/TimedMediaHandler and http://blog.wikimedia.org/2012/11/08/introducing-wikipedias-new-html5-video-player/ for more information.
It is based on HTML5 and supports closed captions, timed text, WebM, etc.

This bug report was reported about "Cortado". With TimedMediaHandler being in place, Cortado is now ONLY used as a fallback for web browsers that do not support any of the video codecs we offer but have Java installed. This currently is Apple Safari without XiphQt installed, or Microsoft Internet Explorer with Java applet installed. 

Please add a comment here in case that you still face the problem described (now with Cortado inside of TimedMediaHandler) if using one of the browsers mentioned above. In that case, this report should be moved to product="MediaWiki extensions" and component="TimedMediaHandler" in this bug tracker.

Issues that also happen with Cortado without TimedMediaHandler should be reported to https://trac.xiph.org/ instead.
Comment 2 Andre Klapper 2014-02-28 22:40:00 UTC
Wikimedia itself is currently not actively working on Cortado.
If you are still interested in seeing this / if this problem still happens, please check the existing upstream tickets at https://trac.xiph.org/query?component=Cortado&group=component&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority and if no ticket exists yet for this request, please create one in upstream. 

Also see comment 1 in this report for more explanation which way Wikimedia Multimedia currently takes. Closing as WONTFIX for Wikimedia itself.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links