Jump to content
Changes to the Jaspersoft community edition download ×

2004 IR Help

Recommended Posts

By: bpdy9fg - bpdy9fg

error!?

2005-01-21 07:17

Hi ..

 

I am getting the following error and I don't kinow why. I am using Jasper in a jboss system.

 

Any help would be greatly appreciated.

 

ciao

Brian

 

15:03:49,693 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: <identifier> expected

15:03:49,723 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)field_Time.getOldValue()));

15:03:49,723 ERROR [sTDERR] ^

15:03:49,723 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: ')' expected

15:03:49,813 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)fie

ld_Time.getOldValue()));

15:03:49,813 ERROR [sTDERR]

^

15:03:49,833 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: <identifier> expected

15:03:49,833 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)fie

ld_Time.getOldValue()));

15:03:49,833 ERROR [sTDERR] ^

15:03:49,833 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: ')' expected

15:03:49,833 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)fie

ld_Time.getOldValue()));

ERROR: invalid console appender config detected, console stream is looping15:03:49,863 ERROR [sTDERR]

^

15:03:49,933 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: <identifier> expected

15:03:49,933 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)fie

ld_Time.getOldValue()));

15:03:49,933 ERROR [sTDERR] ^

15:03:49,933 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:229: ')' expected

15:03:49,933 ERROR [sTDERR] value = (java.lang.String)(((com.test.common.model.NWModel)((com..String)fie

ld_Time.getOldValue()));

15:03:49,933 ERROR [sTDERR]

^

15:03:50,113 ERROR [sTDERR] 2 errors

15:03:50,113 ERROR [sTDERR] dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:

See error messages above.

15:03:50,123 ERROR [sTDERR] at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:154)

15:03:50,123 ERROR [sTDERR] at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)

15:03:50,123 ERROR [sTDERR] at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:196)

15:03:50,123 ERROR [sTDERR] at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:148)

15:03:50,123 ERROR [sTDERR] at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:934)

 

 

 

 

 

By: bpdy9fg - bpdy9fg

RE: error!?

2005-01-21 07:35

I am now getting this error. I will include the pertinent text of my xml file at the bottom. Does it look correct?

 

ciao

Brian

 

15:33:13,118 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:116: package com.test.common.model does not exist

15:33:13,158 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:116: package com.test.common.model does not exist

15:33:13,219 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:116: package com.test.common.model does not exist

15:33:13,239 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,239 ERROR [sTDERR] ^

15:33:13,239 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,239 ERROR [sTDERR] ^

15:33:13,379 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:224: package com.test.common.model does not exist

15:33:13,399 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,399 ERROR [sTDERR] ^

15:33:13,429 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:224: package com.test.common.model does not exist

15:33:13,439 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,439 ERROR [sTDERR] ^

15:33:13,449 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:332: package com.test.common.model does not exist

15:33:13,449 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,449 ERROR [sTDERR] ^

15:33:13,479 ERROR [sTDERR] E:jboss-3.0.8binDevTest.java:332: package com.test.common.model does not exist

15:33:13,479 ERROR [sTDERR] value = (java.lang.Long)(new Long( ((com.test.common.model.NWModel)((com.foundation.reports.parameter.InputReportParameter)parameter_model.getValue())).getID() ));

15:33:13,479 ERROR [sTDERR] ^

15:33:13,499 ERROR [sTDERR] 3 errors

15:33:13,499 ERROR [sTDERR] dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:

See error messages above.

15:33:13,509 ERROR [sTDERR] at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:154)

15:33:13,509 ERROR [sTDERR] at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)

15:33:13,509 ERROR [sTDERR] at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:196)

15:33:13,509 ERROR [sTDERR] at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:148)

15:33:13,529 ERROR [sTDERR] at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:934)

 

 

............ report xml file .....................

<parameter name="model" class="com.arantech.foundation.reports.parameter.InputReportParameter">

<defaultValueExpression>

<![CDATA[new com.arantech.foundation.reports.parameter.InputReportParameter("Network Model","Specify the network model","model",java.lang.Long.class,com.arantech.foundation.reports.parameter.InputReportParameter.TYPE_MODEL)]]>

</defaultValueExpression>

</parameter>

<parameter name="modelId" class="java.lang.Long">

<defaultValueExpression>

<![CDATA[new Long( ((com.arantech.assure.common.model.NetworkProbeModel)$P{model}).getID() )]]>

</defaultValueExpression>

</parameter>

 

 

 

 

By: David Lim - aberrant80

RE: error!?

2005-01-24 01:45

u need to specify the compile class path if ur using libraries external to jasper reports.

 

look at the docs under "quick how to", then "2. compiling a report design".

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...