in

Software FX Community

Discuss and find help for all Software FX products.

NullPointerException when using renderToStream 3-args variant

Last post 06-23-2009 12:00 PM by silentvortex. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-23-2009 12:00 PM

    NullPointerException when using renderToStream 3-args variant

    Hello! I have succesfully integrated chartfx with my existing app and managed to include a map in a jsp test page. The renderControl and renderToStream methods seem to be working fine with my code. When i try to use the 3 arg version of renderToStream  without any code modifications other than this  i keep getting NPE:

    java.lang.NullPointerException
     at com.softwarefx.chartfx.server.internal.ej.a(SourceFile:29)
     at com.softwarefx.chartfx.server.internal.i.cw(SourceFile:168)
     at com.softwarefx.chartfx.server.internal.i.c(SourceFile:218)
     at com.softwarefx.chartfx.server.internal.bo.b(SourceFile:126)
     at com.softwarefx.chartfx.server.internal.fd.rM(SourceFile:561)
     at com.softwarefx.chartfx.server.internal.gl.c(SourceFile:107)
     at com.softwarefx.chartfx.server.internal.dp.b(SourceFile:60)
     at com.softwarefx.chartfx.server.internal.Chart.a(SourceFile:4484)
     at com.softwarefx.chartfx.server.internal.Chart.a(SourceFile:4684)
     at com.softwarefx.chartfx.server.internal.Chart.a(SourceFile:4738)
     at com.softwarefx.chartfx.server.ChartServer.renderToStream(SourceFile:78)

    I have tried passing all sorts of OutputStream and Writer implementations to the renderToStream call but all i get is this exception. Since code is obfuscated i have no clue what i am doing wrong, so any help would be greatly appreciated. 

    Thanks.

     

Page 1 of 1 (1 items)
Copyright 2008 Software FX, Inc.