You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/05/05 17:25:58 UTC

DO NOT REPLY [Bug 44936] New: NullPointerException in JSVGScrollPane

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

           Summary: NullPointerException in JSVGScrollPane
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: critical
          Priority: P1
         Component: GVT
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: scorefande@yahoo.de


Occasionally there's a NullPointerException thrown in the JSVGScrollPane.

It usually occurs when I quickly move the cursor over several elements that
have tooltips and change their color with the set attribute. Then the whole
SVGCanvas is white and is only repainted when I move the mouse over alle the
displayed elements or resize the JInternaFrame that contains the canvas.

This happens because the viewBox is sometimes null.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44936] NullPointerException in JSVGScrollPane

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44936


Cameron McCormack <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Cameron McCormack <ca...@apache.org>  2008-06-15 20:57:41 PST ---
NPE avoided in r662019.
(see http://markmail.org/message/d426ghz2ssfr7yt7)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44936] NullPointerException in JSVGScrollPane

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44936





--- Comment #1 from scorefan <sc...@yahoo.de>  2008-05-07 04:43:32 PST ---
The Exception occurs in updateCompleted(UpdateManagerEvent e) method of the
ScrollListener.

Rectangle2D newview = getViewBoxRect();

The newview variable is null.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org