Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 Intermittent issues with applets on remote server

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Josh Posted - 09 Dec 2008 : 10:54:01
I'm currently experiencing an intermittent issue with a java applet not painting when ran from a remote server. Using the latest version of Eclipse and the latest trial version of QCChart2D, I have compiled the LinePlotSalesVolume example and created a hosting HTML page. This works fine when viewing from the local filesystem. However, when the same folder / files are copied to a remote server and viewed, a NullPointerException is generated in the java console for every page load and the chart isn't painted everytime.

Any thoughts on what might be causing this issue, or what I can try to resolve it?

Additional info:
Modern PC with XP Pro running IE 7
Both servers running IIS
'Trial Mode' isn't displayed on chart when viewing from local filesystem, but IS displayed when viewing from remote server (when the chart is painted).

Partial Stack Trace:
Exception in thread "AWT-EventQueue-64" java.lang.NullPointerException
at com.quinncurtis.chart2djava.ChartView.checkMode(ChartView.java:397)
at com.quinncurtis.chart2djava.ChartView.draw(ChartView.java:1018)
at com.quinncurtis.chart2djava.ChartView.paintComponent(ChartView.java:270)
at javax.swing.JComponent.paint(Unknown Source)
......

Thanks,
Josh
2   L A T E S T    R E P L I E S    (Newest First)
Josh Posted - 09 Dec 2008 : 11:25:37
Thanks. I'll just limit my testing to the local filesystem until I'm sure the create an applet that will satisfy our needs.

I'm currently using the .NET SPC version which is working well, but wanted to test the interactivity of the java applet.

Thanks again.
quinncurtis Posted - 09 Dec 2008 : 11:18:47
It must be related to the fact that you are using a trial version of the software. In the commercial version of the software the ChartView.checkMode method doesn't do anything. In the trial version it accesses the qcchart2djava.jar file and determines if it is a valid trial version of the library. Probably some sort of security violation is taking place on the remote server. There is nothing we can recommend, other than the fact that the commercial version of the software will not have the same problem, because the qcchart2djava.dll is not accessed to check its validity.



Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07