Jump to content
Software FX Community

NullPointerException when using renderToStream 3-args variant


silentvortex

Recommended Posts

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...