Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling method on NPObject #34

Open
GoogleCodeExporter opened this issue Dec 15, 2015 · 6 comments
Open

Error calling method on NPObject #34

GoogleCodeExporter opened this issue Dec 15, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Play quicktime movie as documented


What is the expected output? What do you see instead?
The expected output would be the video would play.  Works in bst-player version 
1.1.


What version of the product are you using? On what operating system?
Version: bst-player 1.2
Operating System: Windows 7 Enterprise, Windows XP SP3
Browsers: Google Chrome 8.0.552.224, Firefox 3.6.12, Internet Explorer 
8.0.7600.16385


Please provide any additional information below.
Here is the stack trace:

09:43:45.204 [ERROR] [test] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Error calling method 
on NPObject!
 fileName: http://127.0.0.1:8888
 lineNumber: 147
 stack: SetControllerVisible(true)@:0
(true)@http://127.0.0.1:8888:147
@:0
([object GWTJavaObject],8978504)@http://127.0.0.1:8888/test/hosted.html?test:56
(792)@http://127.0.0.1:8888:9
((function () {__gwt_makeJavaInvoke(0)(timer, 8978504);}),[object 
XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888:12
@:0
(null,65642,(function () {__gwt_makeJavaInvoke(0)(timer, 8978504);}),[object 
XPCCrossOriginWrapper],[object 
Object])@http://127.0.0.1:8888/test/hosted.html?test:56
(792)@http://127.0.0.1:8888:76
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
    at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by austinra...@gmail.com on 16 Dec 2010 at 7:28

@GoogleCodeExporter
Copy link
Author

Do you still have this issue with 1.2.1-SNAPSHOT version @ 
http://downloads.bramosystems.com/maven2/snapshots/com/bramosystems/oss/player/b
st-player-api/1.2.1-SNAPSHOT/bst-player-api-1.2.1-20101218.155223-1.jar ?

Original comment by sbrah...@gmail.com on 18 Dec 2010 at 4:03

@GoogleCodeExporter
Copy link
Author

I still have the problem with that snapshop version.  Is there anything I can 
send to help troubleshoot?

Original comment by austinra...@gmail.com on 20 Dec 2010 at 5:07

@GoogleCodeExporter
Copy link
Author

Any sample code to reproduce the issue?

Original comment by sbrah...@gmail.com on 20 Dec 2010 at 12:58

@GoogleCodeExporter
Copy link
Author

Yes, here is some sample code that reproduces the issue. Sorry it took so long 
but was traveling for the holidays, business and such.

Original comment by austinra...@gmail.com on 25 Jan 2011 at 12:04

Attachments:

@GoogleCodeExporter
Copy link
Author

How about using absolute URL for the media.  Something like 
[GWT.getHostPageBaseURL() + "videos/sample_mpeg4.mp4"] ?

Original comment by sbrah...@gmail.com on 26 Jan 2011 at 11:36

@GoogleCodeExporter
Copy link
Author

I tried using absolute URLs for the media using several techniques but the same 
error occurs.

Original comment by austinra...@gmail.com on 26 Jan 2011 at 9:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant