Jump to content
Changes to the Jaspersoft community edition download ×

language is not Java exception


Recommended Posts

By: dublen - dublen

language is not Java exception

2006-05-22 09:14

Hi,

I have included a query string in the jrxml but I am getting this error when I am running the report. I am not sure where I need to include this language parameter.

 

11:06:34,696 INFO [sTDOUT] net.sf.jasperreports.engine.JRException: Language "null" not supported by this report compiler.

Expecting "java" instead.

11:06:34,696 INFO [sTDOUT] at net.sf.jasperreports.engine.design.JRJdtCompi

ler.checkLanguage(JRJdtCompiler.java:543)

11:06:34,696 INFO [sTDOUT] at net.sf.jasperreports.engine.design.JRAbstract

Compiler.compileReport(JRAbstractCompiler.java:137)

11:06:34,696 INFO [sTDOUT] at net.sf.jasperreports.engine.design.JRDefaultC

ompiler.compileReport(JRDefaultCompiler.java:131)

11:06:34,696 INFO [sTDOUT] at net.sf.jasperreports.engine.JasperCompileMana

ger.compileReport(JasperCompileManager.java:211)

11:06:34,696 INFO [sTDOUT] at com.omeda.dbmaintenance.reporting.controller.

ReportDrillDown.process(ReportDrillDown.java:96)

11:06:34,727 INFO [sTDOUT] at com.jsoft.horizonj.enterprise.ui.servlet.Base

ControllerServlet.execute(BaseControllerServlet.java:131)

11:06:34,727 INFO [sTDOUT] at com.jsoft.horizonj.enterprise.ui.servlet.Base

ControllerServlet.doGet(BaseControllerServlet.java:414)

11:06:34,727 INFO [sTDOUT] at javax.servlet.http.HttpServlet.service(HttpSe

rvlet.java:697)

11:06:34,727 INFO [sTDOUT] at javax.servlet.http.HttpServlet.service(HttpSe

rvlet.java:810)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.ApplicationFilterCha

in.internalDoFilter(ApplicationFilterChain.java:252)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.ApplicationFilterCha

in.doFilter(ApplicationFilterChain.java:173)

11:06:34,727 INFO [sTDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilte

r.doFilter(ReplyHeaderFilter.java:81)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.ApplicationFilterCha

in.internalDoFilter(ApplicationFilterChain.java:202)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.ApplicationFilterCha

in.doFilter(ApplicationFilterChain.java:173)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.StandardWrapperValve

.invoke(StandardWrapperValve.java:213)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.StandardContextValve

.invoke(StandardContextValve.java:178)

11:06:34,727 INFO [sTDOUT] at org.jboss.web.tomcat.security.CustomPrincipal

Valve.invoke(CustomPrincipalValve.java:39)

11:06:34,727 INFO [sTDOUT] at org.jboss.web.tomcat.security.SecurityAssocia

tionValve.invoke(SecurityAssociationValve.java:153)

11:06:34,727 INFO [sTDOUT] at org.jboss.web.tomcat.security.JaccContextValv

e.invoke(JaccContextValve.java:59)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.StandardHostValve.in

voke(StandardHostValve.java:126)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.valves.ErrorReportValve.i

nvoke(ErrorReportValve.java:105)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.core.StandardEngineValve.

invoke(StandardEngineValve.java:107)

11:06:34,727 INFO [sTDOUT] at org.apache.catalina.connector.CoyoteAdapter.s

ervice(CoyoteAdapter.java:148)

11:06:34,727 INFO [sTDOUT] at org.apache.coyote.http11.Http11Processor.proc

ess(Http11Processor.java:856)

11:06:34,727 INFO [sTDOUT] at org.apache.coyote.http11.Http11Protocol$Http1

1ConnectionHandler.processConnection(Http11Protocol.java:744)

11:06:34,727 INFO [sTDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr

ocessSocket(PoolTcpEndpoint.java:527)

11:06:34,727 INFO [sTDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerT

hread.run(MasterSlaveWorkerThread.java:112)

11:06:34,727 INFO [sTDOUT] at java.lang.Thread.run(Thread.java:595)

 

Thanks,

--dublen

 

 

 

 

 

By: Lucian Chirita - lucianc

RE: language is not Java exception

2006-05-24 23:21

Hi

 

The error reffers to the report expression language ("language" attribute of the "jasperReport" element in JRXML). Do you have a value for this attribute in your JRXML? The default value is "java", therefore it should work fine if you haven't set any value for the attribute..

 

HTH,

Lucian

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...