Jody Garnett ha scritto:
> In hunting through a build problem (I was not up to date) I noticed the 
> following ...
>> 1-Feb-2007 11:55:46 AM org.geotools.renderer.lite.StreamingRenderer 
>> computeScale
>> WARNING: null
>> java.lang.NullPointerException
>>         at 
>> org.geotools.renderer.lite.RendererUtilities.calculateScale(RendererUtilities.java:508)
>>         at 
>> org.geotools.renderer.lite.RendererUtilities.calculateScale(RendererUtilities.java:446)
>>         at 
>> org.geotools.renderer.lite.StreamingRenderer.computeScale(StreamingRenderer.java:581)
>>         at 
>> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:514)
>>         at 
>> org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1431)
> (I assume something is gobbling a NPE and logging?)

Sorry, this one was my fault, I thought I fixed it after dinner thought?

> I also noticed this ...
>> 1-Feb-2007 11:55:49 AM org.geotools.renderer.shape.TestUtilites 
>> createTestStyle
>> INFO: got new Stroke org.geotools.styling.StrokeImpl:
>>         Color #0000ff
>>         Width 5
>>         Opacity 1
>>         LineCap butt
>>         LineJoin miter
>>         Dash Array null
>>         Dash Offset 0
>>         Fill Graphic null
>>         Stroke Graphic null
>> 1-Feb-2007 11:55:49 AM org.geotools.data.DefaultTransaction finalize
>> SEVERE: There's code leaving transaction unclosed. Call 
>> Transaction.close() after using them to ensure they do not hold
>> state such as JDCB connections or file handles
> Questions:
> - StrokeImpl - why do you fill up my logs?

Because the log level is way too high... there are many things like this
in geotools, since setting the log level is an... obscure process (either
change a well hidden global file or provide your own and set a system
variable) I think people did take shortcuts and upped the logging level
to something that can be seen without changing logging config.

> - While it is great we are noticing that an unclosed transaction I do 
> wish their was a switch we could throw to cause this to *be*
> a failure during testing :-D

Hum, we could add a system variable for this too...
Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to