https://issues.apache.org/bugzilla/show_bug.cgi?id=54061

          Priority: P2
            Bug ID: 54061
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: NullPointer Exception in org.apache.fop.fo.FObj
          Severity: normal
    Classification: Unclassified
          Reporter: spao...@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.1
         Component: general
           Product: Fop

In the method public void removeChild(FONode child) {... i get a
NullPointerException at row FObj:250;
I have seen the code:

...
        if (child == lastChild) {
            if (child.siblings != null) {  // row 249
                lastChild = siblings[0];   // row 250
            } else {
                lastChild = null;
            }
        }
...

the row 250 should be lastChild = child.siblings[0] instead of siblings[0] ???

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to