xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44194] New: - RadialGradientPaintContext: hints can be null
Date Thu, 10 Jan 2008 01:13:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44194>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44194

           Summary: RadialGradientPaintContext: hints can be null
           Product: Batik
           Version: 1.7
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Utilities
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: dli@cisco.com


On Mac OS 10.4.10 and 10.4.11, I see the following exception. The JVM passes the
parameter "hints" as null, RadialGradientPaintContext access it without checking
if it is null. 



Java Web Start 1.5.0
Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM
User home directory = /Users/devtest
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
0-5: set trace level to <n>
----------------------------------------------------
DM Application Logging Started at Wed Jan 09 17:49:14 MST 2008
---------------------------------------------
Local DM Launcher Version = 1.5.23
Local DM Launcher Version Display = 1.5(23)
OK button clicked
Trying for ASDM Version file; url = https://171.69.39.36/admin/
Server DM Version = 6.1(0)29
Server DM Launcher Version = 1.5.23, size = 319488 bytes
invoking SGZ Loader..
Cache location = /Users/devtest/.asdm/cache
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at
org.apache.batik.ext.awt.RadialGradientPaintContext.<init>(RadialGradientPaintContext.java:177)
	at
org.apache.batik.ext.awt.RadialGradientPaint.createContext(RadialGradientPaint.java:464)
	at apple.awt.OSXSurfaceData.setupPaint(OSXSurfaceData.java:760)
	at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1085)
	at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1013)
	at apple.awt.OSXSurfaceData.drawfillShape(OSXSurfaceData.java:1346)
	at apple.awt.CRenderer.drawfillShape(CRenderer.java:536)
	at apple.awt.CRenderer.fill(CRenderer.java:574)
	at apple.awt.CRenderer.fill(CRenderer.java:561)
	at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:142)
	at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2574)
	at
com.cisco.dmchart.gui.chart.FancyXYLineAndShapeRenderer.drawSecondaryPass(FancyXYLineAndShapeRenderer.java:244)
	at
com.cisco.dmchart.gui.chart.FancyXYLineAndShapeRenderer.drawItem(FancyXYLineAndShapeRenderer.java:156)
	at com.cisco.dmchart.gui.chart.FancyXYPlot.render(FancyXYPlot.java:101)
	at org.jfree.chart.plot.XYPlot.draw(XYPlot.java:2680)
	at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1214)
	at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1270)
	at javax.swing.JComponent.paint(JComponent.java:1006)
	at javax.swing.JComponent._paintImmediately(JComponent.java:4890)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4676)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)
	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

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

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


Mime
View raw message