Cannot read property "document"

maik vogel
2010-11-24
2013-04-29
  • maik vogel
    maik vogel
    2010-11-24

    hello,

    can someone please tell me, how i can fix this.
    It occours, when i parse a html-file:

    document = builder.parse(is);

    0000002d SimpleHtmlPar W   executeFunction(): Unable to execute Javascript function Function.
                                     org.mozilla.javascript.EcmaError: TypeError: Cannot read property "document" from null (file:/C:/MyTemp/previewTest/overview-tree - Kopie.html#4)
    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)