[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    Re: Batik 1.6 - NPE in with getStyle or getPresentationAttribute
From:       Thomas DeWeese <Thomas.DeWeese () Kodak ! com>
Date:       2005-05-24 15:41:46
Message-ID: 42934B3A.9070000 () Kodak ! com
[Download RAW message or body]

Hi Rick,

Rick Bullotta wrote:
> Thanks - do you have a link?

   It's not that big a WIKI but here you go:
	http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom


> 
> -----Original Message-----
> From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com] 
> Sent: Tuesday, May 24, 2005 11:12 AM
> To: batik-dev@xmlgraphics.apache.org
> Subject: Re: Batik 1.6 - NPE in with getStyle or
> getPresentationAttribute methods
> 
> Hi Rick,
> 
>     Well you get this when you haven't booted the CSS engine.
> There is an example of how to do this on the Wiki.  I don't
> think this is anything that has changed in 1.6.
> 
> Rick Bullotta wrote:
> 
>>With Batik 1.6, we're encountering an NPE when trying to use these
>>methods.  
>>
>>The common issue seems to be related to:
>>
>>        CSSEngine eng =
>>((SVGOMDocument)getOwnerDocument()).getCSSEngine();
>>
>>...which is in the source for both these methods.  I suspect that in
>>some cases, this may be returning null?
>>
>>Any insights?
>>
>>Rick Bullotta
>>CTO
>>Lighthammer Software (http://www.lighthammer.com)
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
>>For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
> 


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic