I've downloaded the latest source code into Netbeans 7.1.1 with the 1.6.0_31 JDK, and have two problems which I don't think have been discussed on the forums. Neither one prevent the project from executing, but it's slow and the GUI does strange things when running under Netbeans.
The first problem is that the Netbeans console log gets continual messages about "Warning: Going to buffer response body of large or unknown size" from Apache. What can be done to fix this?
The second is that Netbeans is showing broken references for all the external jars even though I've added them to the project, and can build and execute it. I don't know why it's doing this.
JStock seems to be a very impressive and useful application. I look forward to working with it.
Cincinnati, Ohio USA
"Warning: Going to buffer response body of large or unknown size" - This is caused by we are using getResponseBodyAsStringBasedOnProxyAuthOption http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/file/b5dfdb3855bc/src/org/yccheok/jstock/gui/Utils.java#l1748
Instead, we should use getResponseBodyAsStreamBasedOnProxyAuthOption http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/file/b5dfdb3855bc/src/org/yccheok/jstock/gui/Utils.java#l1845
However, this will make our code more complicated as we need to handle stream closing manually. Since the first will not raise us any trouble after intensive testing, we conclude that is just a warning, which we may safely ignore it.
"Netbeans is showing broken references for all the external jars even though I've added them to the project,…" - I don't know. But as long you can build and run it, that should be fine. For more information, please refer to https://sourceforge.net/apps/mediawiki/jstock/index.php?title=Hacking#How_To_Check_Out_JStock_Source_Code_to_Compile_and_Run.3F
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.