Can anyone shed some light on this error?  I am rather a novice Java
programmer, but getting my head around basic-to-intermediate Java Server
Programming.

>>>

C:\java\ecs-1.3.2\example>java TestBed

<html><head><title>Demo</title></head><body><h1>Demo Header</h1><h3>Sub
Header:<
/h3><font color="#FFFFFF" face="Times" size="+1">The big dog & the little
cat 'c
hased' each other.</font></body></html>
Exception in thread "main" java.lang.NullPointerException
        at org.apache.ecs.Document.toString(Document.java:327)
        at TestBed.homepageTest(TestBed.java:928)
        at TestBed.main(TestBed.java:1148)

<<<

It's running the Home Page test:

>>>

    public static void main(String[] args)
    {
        TestBed tb = new TestBed();
...
        // tb.test1();
        tb.homepageTest();
        // tb.testWordFilter();
...
    }

<<<

Seems to be blowing up here with a NullPointerException, line 928:

        System.out.println (doc.toString());

The earlier call to html.toString() obviously returned the expected String.

Mark Kolmar
Manta Media Inc.


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to