[RHINO/HTTPUNIT] org.mozilla.javascript.JavaScriptException: java.io.EOFException


I get the above error messaging during (httpunit-)parsing of the URL :

The stacktrace is:
org.mozilla.javascript.JavaScriptException: java.io.EOFException
	at org.mozilla.javascript.JavaScriptException.wrapException(JavaScriptException.java:70)
	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:418)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2179)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:58)
	at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:160)
	at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)
	at com.meterware.httpunit.WebResponse$Scriptable.load(WebResponse.java:612)
	at com.meterware.httpunit.javascript.JavaScript$Window.initialize(JavaScript.java:420)
	at com.meterware.httpunit.javascript.JavaScript.run(JavaScript.java:77)
	at com.meterware.httpunit.javascript.JavaScriptEngineFactory.associate(JavaScriptEngineFactory.java:46)
	at com.meterware.httpunit.RequestContext.runScripts(RequestContext.java:44)
	at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:119)
	at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
	at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
	at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
	at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
	at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
	at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
	at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)
	at tds.csbetrieb.webchecker.CheckThread.doGet(CheckThread.java:116)
	at tds.csbetrieb.webchecker.CheckThread.checkUrl(CheckThread.java:252)
	at tds.csbetrieb.webchecker.CheckThread.access$400(CheckThread.java:17)
	at tds.csbetrieb.webchecker.CheckThread$UrlChecker.run(CheckThread.java:760)

If you have any Idea what is happening, please let me know.
It seems that the underlaying streams got closed.

8/17/2004 3:53:47 PM
netscape.mozilla.jseng 1530 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 11

Lukas Weberruss wrote:
> Hi,
> I get the above error messaging during (httpunit-)parsing of the URL :
> https://portal.intersport.de/irj

Please report this to
http://httpunit.sourceforge.net/ mail lists.

Regards, Igor
8/17/2004 4:58:37 PM

Similar Artilces:

java.io.NotSerializableException: org.mozilla.javascript.ClassCache (somewhat long)
If some one can take a look into this problem, I will appreciate it greately. I am trying to serialize simple JS Function. I do not think it have much relevance, but function I am trying to serialize looks like this: function () { this.result = this.a + this.b; return this.result; } This is a snipet of the code which I am using to serialize it. At this moment function in question stored in remote_method variable: .... Scriptable remote_method = ...; .... ByteArrayOutputStream baos = new ByteArrayOutputStream(); ScriptableOutputStream sos = new ScriptableOutputStre...

mozilla-community-brasil@lists.mozilla.org vs community-brasil@lists.mozilla.org
--5p8PegU4iirBW1oA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Eu ainda n=C3=A3o sei porque algumas pessoas manda email para mozilla-community-brasil@lists.mozilla.org quando deveriam enviar email para community-brasil@lists.mozilla.org. O envio de emails para mozilla-community-brasil@lists.mozilla.org e o uso do "responder para todos" faz com que eu e outras pessoas recebam email duplicado pois emails para mozilla-community-brasil@lists.mozilla.org possuem Reply-To: Lista de discuss=C3=A3o...

ftp.mozilla.org/pub/mozilla.org/ I have used the above ftp in the past. I notice that the Index now shows "addons" and lists numerically the available addons (extensions ?) - Previously they were listed IIRC "extensions". How does one determine WHAT are the contents of the various "directories" eg "ftp://ftp.mozilla.org/pub/addons/17/" = Chromedit...... Any assistance is greatly appreciated.... regards:captjlddavis On 9/28/2007 15:59, captjlddavis wrote: > ftp.mozilla.org/pub/mozilla.org/ > > I have used the above ftp in t...

[RHINO] Error while executing HTML Included JavaScript : org.mozilla.javascript.EcmaError:"top" is not defined
Hi, I am wrote a programm which analyses websites. I extended the project to support javascript as well. For that I included the rhino library. My HTML Parser is able to get the javascript code out of the html code and can execute that code using rhino. But most javascripts are throwing an error each time they use code like: -------------------------------------------------------------------------- if ((top.window.opener == null) || (top.window.opener.closed==true) || (top.window.opener.su == null)){ ...

black screen: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/
I use the b2g-17.0a1.en-US.mac64.dmg<http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/b2g-17.0a1.en-US.mac64.dmg> and get a black screen emulator. thanks. ...

http://ftp.mozilla.org/pub/mozilla.org/ is unavailable
Hi all, http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.1-l10n/ is unavailable for several days. I can't test recent builds :-( Does anybody can access latest-mozilla-1.9.1-l10n? With best regards, Siarhei It seems now, it is local network problem :-/ �� 27.05.2009 12:57, Siarhei �������(��): > Hi all, > > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.1-l10n/ > is unavailable for several days. > > I can't test recent builds :-( > > Does anybody can access latest-mozilla-1.9.1-l...

java.lang.NoClassDefFoundError: org/mozilla/javascript/optimizer/OptRuntime
Hi, I am trying to update catalina.policy file in Tomcat for my web application which uses Rhino. When I enable the Security Manager, it throws an exception as below. Could some one please help me out with this. Using CATALINA_BASE: C:\jakarta-tomcat-5.5.9 Using CATALINA_HOME: C:\jakarta-tomcat-5.5.9 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.5.9\temp Using JAVA_HOME: C:\jrockit-jdk1.5.0_03 Using Security Manager java.lang.NoClassDefFoundError: org/mozilla/javascript/optimizer/OptRuntime at org.mozilla.javascript.gen.c1._c0(TRN_FinalizeLots.js:1) at org.mozill...

Use org.mozilla.javascript.tools.debugger in application which is embedding Rhino?
Hello, found some way old discussions about this topic. It seems, the Debugger from org.mozilla.javascript.tools.debugger cannot really be used in an application which uses embedded Rhino, right? I mean, I have to load scripts on my own from a database, then I do use Context.evaluateString() to execute the script. Is it possible to let the Rhino Debugger debug this script? I think for that I would have to write my own debugger using the Debugger API, have I? Thank you! Merten Merten Schumann wrote: > Hello, > > found some way old discussions about this top...

convert org.mozilla.javascript.NativeArray to java.lang.reflect.Array
Hi, I am getting an array as input to one of the functions in a subclass of ScriptableObject. If I try to pass Object[] as an argument , I get exception. If I give it as Object and then try to see if it is native array and process it , somehow I cant get the actual values out pf it. example of javascript is -- var arr = new Array(); var f = this.getField("lsBox1"); var l = this.getField("txt0"); l.value = "Orig List:"; for (var i = 0; i < f.numItems; i++){ l.value = l.value +"\n"+f.getItemAt(i, false); ...

bonsai.mozilla.org moving / cvs.mozilla.org outage planned
We're planning to move bonsai.mozilla.org to a new machine today. Among other things, the new machine is a lot faster. During the changeover the Mozilla source code cvs repository will be down for a half hour to an hour. The bonsai.mozilla.org web site should be up continuously, and that change will be transparent when the DNS change propogates. At this point, we are planning to take cvs.mozilla.org offline at approximately 8:00pm PDT tonight (Tuesday, September 23) to facilitate moving the bonsai databases to the new server without losing any check-in data. -- Dave Mille...

Mozilla Rhino: Defining Java Methods of an overloaded Class as global JavaScript function
Hey Igor, i'm having trouble with the following: if have two JAVA classes A and B while B extends A and overloads a method of A: class A{a(){return "a"}} class B extends A{ a(){return "B"}} now i'd like to be able to execute "a()" in javaScript on Rhino. usually, on non-overloaded java methods i would do the following when initializing the rhino engine: scope.defineFunctionProperties("a", new B().getClass(), ScriptableObject.DONTENUM); but when i'm doing this, i get the following exception: Method "a" occur...

bonsai-l10n.mozilla.org lxr.mozilla.org interlinking wrong
When I'm on http://bonsai-l10n.mozilla.org/cvslog.cgi?file=l10n/mk/toolkit/defines.inc&rev=&root=/l10n and if I click on any of the links that go to lxr.mozilla.org, it goes to a wrong url of: http://lxr.mozilla.org/l10n/source/l10n/mk/toolkit/defines.inc instead of the correct: http://lxr.mozilla.org/l10n/source/mk/toolkit/defines.inc (notice that the wrong url has one /l10n/ more) Also, on http://lxr.mozilla.org/l10n/source/mk/toolkit/defines.inc the links to "Cvs Log" "Cvs blame" etc. go to the incorrect url of: http://bonsai.mozilla.org/cvslog.cg...

localize.mozilla.org: Firefox Cup still a project in localize.mozilla.org
As far as I know, the football championship 2010 has ended on 11/07. If somebody missed it, Spain is the champion, beating Netherlands 1:0 a.e.t. Would it not make sense to retire it? Or to cloak it some way? TiA smo PS: SL version was 100% by the time it was needed. the contents have grown since to hard-to-understand 38206 words ("that need your attention", status 0% completed), As far as I can see, changes involve Add-ons and thats where they belong. Thanks, Vito. We are investigating it and will report back with a fix soon. smo wrote: > As far as I k...

wiki.mozilla.org/B2G/Gaia -> wiki.mozilla.org/Gaia
Hey all, FYI: wiki.mozilla.org/B2G/Gaia has moved to wiki.mozilla.org/Gaia Trond. ...

Web resources about - [RHINO/HTTPUNIT] org.mozilla.javascript.JavaScriptException: java.io.EOFException - netscape.mozilla.jseng

Resources last updated: 12/4/2015 2:36:17 AM