Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

script principal has malformed origin

Anonymous
2010-12-09
2013-04-16

  • Anonymous
    2010-12-09

    Hi,

    Any hints about what it might mean if I see this in my console output?

    ### MRJPlugin:  getPluginBundle() here. ###
    ### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###
    ### MRJPlugin:  CFURLGetFSRef() succeeded. ###
    MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed - script principal has malformed origin!

    I'm calling some Java code within in a Firefox extension. The extension, including the Java part, seem to work anyway, but I'd like to stop seeing this message or fix whatever it's complaining about. Thanks for any hints.

    -Chris

     
  • Steven Michaud
    Steven Michaud
    2010-12-09

    The error you're seeing has a rather complicated history.  But it's
    fixed in current Firefox 3.6.X and 3.5.X nightlies, and will be fixed
    in Firefox 3.6.13 and 3.5.16 when they come out (which should be
    soon).

    JEP 0.9.7.4 (which has been bundled with Firefox releases since 3.6.11
    and 3.5.14) fixed (or rather worked around) a security bug
    (https://bugzilla.mozilla.org/show_bug.cgi?id=589041, which is
    currently inaccessible).  But in working around bug 589041, JEP
    0.9.7.4 caused breakage that uncovered another, different security bug
    (https://bugzilla.mozilla.org/show_bug.cgi?id=610525, also currently
    inaccessible).

    It's the combination of bug 610525 and JEP 0.9.7.4 that triggers the
    error messages you see.  It also causes real problems, including the
    following two bugs:

    https://bugzilla.mozilla.org/show_bug.cgi?id=606737
    https://bugzilla.mozilla.org/show_bug.cgi?id=607678

    But, like I said above, bug 610525 is fixed in the upcoming Firefox
    3.6.13 and 3.5.16 releases.

    JEP 0.9.7.4 isn't yet available on this site
    (http://javaplugin.sourceforge.net/).  I've been waiting for the
    issues surrounding bug 589041 to be fully resolved on Windows and
    Linux.  But they will be fully (or at least fully enough) resolved
    with the release of FF 3.6.13 and 3.5.16.  So I'll release JEP 0.9.7.4
    (and its source code) once a decent interval has passed after the
    release of FF 3.6.13 and 3.5.16.