CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Upgraded to 4.01 and now I get Stringbuffer errors

Print topic Send  topic

Author Message
prayfoursurf

Posts: 3
Posted: 06/18/2008, 9:05 AM

Does anyone know what is going on here. I just upgraded to 4.01.00.06 and opened up an old project that had to be converted and now I am getting these 4 errors and I dont know what to do.

Can someone please help me figure this out. Thanks in advance.

compile:
[mkdir] Created dir: C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\app\WEB-INF\classes
[javac] Compiling 415 source files to C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\app\WEB-INF\classes
[javac] C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\src\com\codecharge\template\CCSTemplate.java:124: setBody(java.lang.StringBuffer) in com.codecharge.template.structure.ITemplateItem cannot be applied to (java.lang.String)
[javac] item.setBody(value);
[javac] ^
[javac] C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\src\com\codecharge\template\CCSTemplate.java:152: setBody(java.lang.StringBuffer) in com.codecharge.template.structure.ITemplateItem cannot be applied to (java.lang.String)
[javac] item.setBody(value);
[javac] ^
[javac] C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\src\com\codecharge\template\CCSTemplate.java:257: incompatible types
[javac] found : java.lang.StringBuffer
[javac] required: java.lang.String
[javac] return pointTarget.getBody();
[javac] ^
[javac] C:\DOCUME~1\hines\LOCALS~1\Temp\~ForgeITWeb\CCSBuild\src\com\codecharge\template\CCSTemplate.java:353: incompatible types
[javac] found : java.lang.StringBuffer
[javac] required: java.lang.String
[javac] return item.getBody();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
View profile  Send private message
sarrivillaga


Posts: 10
Posted: 07/02/2008, 5:43 PM

I got exactly the same problem. I did changed the source code for the class com.codecharge.template.structure.ITemplateItem and then you will have to restart codecharge.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.