Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
Operating System: All
Platform: All
Description
org.apache.batik.apps.svgbrowser.FindDialog.getNext() starts with the following:
protected GraphicsNode getNext(String text) {
if (walker == null && gvtRoot != null)
GraphicsNode gn = walker.getCurrentGraphicsNode();
When the method is entered if walker is null and gvtRoot is null then a GVTTreeWalker object will not be allocated and the an null pointer exception will be thrown.
This was detected by FindBugs.