<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:dc="http://purl.org/dc/elements/1.1/"
					xmlns:atom="http://www.w3.org/2005/Atom"
					xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
				  >
<channel>
<title><![CDATA[Latest Hot Topics]]></title>
<link>http://jasperforge.org/</link>
<description><![CDATA[Hot topics]]></description>
<image><title><![CDATA[Latest Hot Topics]]></title>
<link>http://jasperforge.org/</link>
<url>http://jasperforge.org/themes/jasper/images/tools/logo.gif</url>
</image>
<language></language>
<pubDate>Sat, 11 Feb 2012 15:11:48 +0000</pubDate>
<item>
<title><![CDATA[Error compiling report design :inconvertible types]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94913</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hi</p>
<p>&nbsp;</p>
<p>I got this jasper project which used to compile and what not. Then i had to switch my pc and workspace and started to have tons of issues.</p>
<p>&nbsp;</p>
<p>I started to get an error when tried to compile the reports saying language = null expecting java. but when in iReport I would chose other language for the report in xml it would show up in the xml but if i switch the language to java it would remove it from its xml header. then I manually typed in language="java" where it was showing up for the other language and started to get the bellow errors.</p>
<p>&nbsp;</p>
<p>&nbsp;[jrc] File : C:Dataworkspacegateway-jasper-reportsreportssplgatewayecommercestate-detail-xls.jrxml ... FAILED.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] Error compiling report design : C:Dataworkspacegateway-jasper-reportsreportssplgatewayecommercestate-detail-xls.jrxml<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1516: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=252$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1526: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=254$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1536: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=256$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1546: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=258$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1556: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=260$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] C:Dataworkspacegateway-jasper-reportsstate45detail45xls_1326810975718_28406.java:1566: inconvertible types<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] found&nbsp;&nbsp; : java.math.BigDecimal<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc] required: java.lang.String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = (java.lang.String)(((java.math.BigDecimal)field_AMOUNT.getValue()));//$JR_EXPR_ID=262$<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [jrc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^</p>
<p>&nbsp;</p>
<p>Now this same report was compiling before and i didn't made any changes on them (other than typing the language thing).</p>
<p>&nbsp;</p>
<p>Can some one help me to figure out what I need to do here so that the compiler understands the java code?</p>
<p>&nbsp;</p>
<br />]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94913</guid>
</item>
<item>
<title><![CDATA[An error has occurred. (6632) - SQL validation of stored procedure in 4.5 breaks all report queries?]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94923</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hey</p>
<p>I think I can interpret the problem but not sure where to start for a solution.</p>
<p>The problem is for all reports having upgrade from 4.2.1 to 4.5.0. The UI says "An error has occurred. Please contact your system administrator. (6632)" and the stack trace is below.</p>
<p>Key cause appears to be:</p>
<p>&nbsp;</p>
<p>Caused by: org.owasp.esapi.errors.ValidationException: SQL_Query_Executor_context: Invalid input. Please conform to regex ^s*((?i)select)s+[^;]+$ with a maximum length of 50000</p>
<p>Because all my queries are in the form</p>
<pre>
CALL Up_Reporting_GetSomethingUseful($P{StartDate}, $P{EndDate});</pre>
<p>&nbsp;</p>
<p>So I think I need to disable&nbsp;org.owasp.esapi query validation but I cannot find any documentation about this sort of configuration. Where do I start?</p><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><b>Code:</b></td></tr><tr><td><pre>2012-01-18 15:50:03,354 ERROR ManagementServiceImpl,http-9123-3:1259 - caught Throwable exception: An error has occurred. Please contact your system administr
ator. (6632)
com.jaspersoft.jasperserver.api.JSSecurityException: An error has occurred. Please contact your system administrator. (6632)
        at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validateSQL(ValidatorImpl.java:394)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuter.createDatasource(JRTimezoneJdbcQueryExecuter.java:166)
        at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:731)
        at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:629)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1159)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:802)
        at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:118)
        at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:435)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:773)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:731)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:389)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReport(EngineServiceImpl.java:890)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:57)
        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:320)
        at com.jaspersoft.jasperserver.ws.axis2.ManagementServiceImpl.runReport(ManagementServiceImpl.java:1167)
        at com.jaspersoft.jasperserver.ws.axis2.ManagementService.runReport(ManagementService.java:240)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)
        at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.j
ava:139)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at com.jaspersoft.jasperserver.api.metadata.user.service.impl.PasswordExpirationProcessingFilter.doFilter(PasswordExpirationProcessingFilter.java:85)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at com.jaspersoft.jasperserver.api.metadata.user.service.impl.JIPortletAuthenticationProcessingFilter.doFilter(JIPortletAuthenticationProcessingFilter
.java:81)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
        at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)
        at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Thread.java:636)
Caused by: org.owasp.esapi.errors.ValidationException: SQL_Query_Executor_context: Invalid input. Please conform to regex ^s*((?i)select)s+[^;]+$ with a max
imum length of 50000
        at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:144)
        at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:160)
        at org.owasp.esapi.reference.validation.StringValidationRule.getValid(StringValidationRule.java:284)
        at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:213)
        at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:185)
        at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validateSQL(ValidatorImpl.java:388)
        ... 77 more
com.jaspersoft.jasperserver.api.JSSecurityException: An error has occurred. Please contact your system administrator. (6632)
</td></tr></tbody></table>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94923</guid>
</item>
<item>
<title><![CDATA[Display everything on the page.]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94973</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hi,</p>
<p>I have one question.</p>
<p>How to display all reports on the page.<br />
Jaspersoft generate the report with pagination. I would like using the mouse scroll the page of the report. And do not click on every page.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94973</guid>
</item>
<item>
<title><![CDATA[JasperReports including blank page at the end of the PDF]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95159</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hello!</p>
<p>&nbsp;<span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; text-align: left; ">I'm generating a PDF using JasperReports from Java. I finally succeeded in making Jasper correctly paginate the report. The problem is that now I'm getting a blank page at the end of the report (the headers are printed, but the detail band is blank). The information passed for the detail band is all displayed, so there is no need for that page (what is more, there is an empty space at the end of the last page). I will attach the JXML at the end of the question, any help appreciated.</span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; clear: both; word-wrap: break-word; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px; text-align: left; ">Thanks!</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; clear: both; word-wrap: break-word; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px; text-align: left; ">&nbsp;</p><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><b>Code:</b></td></tr><tr><td><pre>REPORT:

 <?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports <a href="http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"" target="_blank">http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"</a> name="tintoreria" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true">
    <property name="ireport.zoom" value="1.0"/>
    <property name="ireport.x" value="0"/>
    <property name="ireport.y" value="288"/>
    <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
        <defaultValueExpression><![CDATA["C:workREPO-CTKlasastra-worldcoresrcmainresourcesjaspertintoreria"]]></defaultValueExpression>
    </parameter>
    <parameter name="totalItems" class="java.lang.String"/>
    <parameter name="nroPag" class="java.lang.String"/>
    <parameter name="totalPag" class="java.lang.String"/>
    <parameter name="supplier" class="java.lang.String"/>
    <parameter name="creationDate" class="java.lang.String"/>
    <parameter name="orderNumber" class="java.lang.String"/>
    <parameter name="fechaPedido" class="java.lang.String"/>
    <parameter name="datasourceParam" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
    <queryString>
        <![CDATA[]]>
    </queryString>
    <pageHeader>
        <band height="119" splitType="Stretch">
            <rectangle radius="10">
                <reportElement x="0" y="0" width="555" height="119" backcolor="#CCCCFF"/>
                <graphicElement>
                    <pen lineWidth="1.75"/>
                </graphicElement>
            </rectangle>
            <staticText>
                <reportElement x="112" y="7" width="241" height="32"/>
                <textElement>
                    <font size="24" isBold="true" isUnderline="true"/>
                </textElement>
                <text><![CDATA[Orden de compra]]></text>
            </staticText>
            <staticText>
                <reportElement x="286" y="62" width="63" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <text><![CDATA[Proveedor:]]></text>
            </staticText>
            <textField>
                <reportElement x="355" y="62" width="189" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{supplier}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="281" y="42" width="72" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <text><![CDATA[Orden Nro:]]></text>
            </staticText>
            <textField>
                <reportElement x="355" y="42" width="189" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{orderNumber}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="268" y="83" width="85" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <text><![CDATA[Fecha Pedido:]]></text>
            </staticText>
            <textField>
                <reportElement x="355" y="83" width="189" height="20"/>
                <textElement>
                    <font size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{creationDate}]]></textFieldExpression>
            </textField>
        </band>
    </pageHeader>
    <detail>
        <band height="633" splitType="Stretch">
            <subreport runToBottom="false">
                <reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="0" width="555" height="633" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true"/>
                <dataSourceExpression><![CDATA[$P{datasourceParam}]]></dataSourceExpression>
                <subreportExpression><![CDATA["purchaseorder_subreport1.jasper"]]></subreportExpression>
            </subreport>
        </band>
    </detail>
    <pageFooter>
        <band height="50" splitType="Stretch">
            <rectangle radius="10">
                <reportElement positionType="Float" x="0" y="0" width="555" height="50" backcolor="#CCCCFF"/>
                <graphicElement>
                    <pen lineWidth="1.75"/>
                </graphicElement>
            </rectangle>
            <textField>
                <reportElement positionType="Float" x="22" y="15" width="239" height="20"/>
                <textElement>
                    <font size="13"/>
                </textElement>
                <textFieldExpression><![CDATA["Cantidad de items: " + $P{totalItems}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="331" y="25" width="159" height="20"/>
                <textElement textAlignment="Right"/>
                <textFieldExpression><![CDATA["Pagina  "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
            </textField>
            <textField evaluationTime="Report">
                <reportElement x="490" y="25" width="40" height="20"/>
                <textElement/>
                <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
            </textField>
        </band>
    </pageFooter>
</jasperReport>

SUBREPORT:

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports <a href="http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"" target="_blank">http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"</a> name="tintoreria_subreport1" pageWidth="540" pageHeight="600" whenNoDataType="NoDataSection" columnWidth="540" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" isFloatColumnFooter="true" whenResourceMissingType="Empty">
    <property name="ireport.zoom" value="1.5394743546921208"/>
    <property name="ireport.x" value="131"/>
    <property name="ireport.y" value="0"/>
    <queryString>
        <![CDATA[]]>
    </queryString>
    <field name="itemNumber" class="java.lang.String"/>
    <field name="description" class="java.lang.String"/>
    <field name="amount" class="java.lang.String"/>
    <columnHeader>
        <band height="22" splitType="Stretch">
            <staticText>
                <reportElement x="1" y="1" width="68" height="20"/>
                <textElement>
                    <font size="12" isBold="true"/>
                </textElement>
                <text><![CDATA[Item]]></text>
            </staticText>
            <staticText>
                <reportElement x="76" y="1" width="373" height="20"/>
                <textElement>
                    <font size="12" isBold="true"/>
                </textElement>
                <text><![CDATA[   Descripción]]></text>
            </staticText>
            <line>
                <reportElement x="69" y="1" width="1" height="21"/>
            </line>
            <line>
                <reportElement x="0" y="21" width="540" height="1"/>
            </line>
            <line>
                <reportElement x="448" y="0" width="1" height="21"/>
            </line>
            <staticText>
                <reportElement x="453" y="1" width="68" height="20"/>
                <textElement>
                    <font size="12" isBold="true"/>
                </textElement>
                <text><![CDATA[Cantidad]]></text>
            </staticText>
        </band>
    </columnHeader>
    <detail>
        <band height="13" splitType="Stretch">
            <textField>
                <reportElement x="1" y="0" width="68" height="12"/>
                <textElement>
                    <font size="9"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{itemNumber}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="77" y="0" width="371" height="12"/>
                <textElement>
                    <font size="9"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
            </textField>
            <line>
                <reportElement x="69" y="0" width="1" height="13"/>
            </line>
            <line>
                <reportElement x="448" y="0" width="1" height="13"/>
            </line>
            <textField>
                <reportElement x="453" y="1" width="75" height="12"/>
                <textElement>
                    <font size="9"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{amount}]]></textFieldExpression>
            </textField>
        </band>
    </detail>
</jasperReport></td></tr></tbody></table>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95159</guid>
</item>
<item>
<title><![CDATA[Error by filling a report with a htmlcomponent hc:html]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94862</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hello,</p>
<p>I'm getting an error by fillling (JasperFillManager.fillReport(jasperInputStream, parameters, connection);&nbsp; )my report with&nbsp;html content. Had <span id="result_box" lang="en" class="short_text"><span class="hps">someone </span><span class="hps">an idea</span> <span class="hps">to</span> <span class="hps">solve</span> <span class="hps">this?<br />
I'm using jasperreports-4.1.1&nbsp; with the jasperreports-htmlcomponent-4.1.1.jar extension.</span></span></p>
<p>Best regards<br />
Daniel</p>
<p>.....<br />
&nbsp;<componentElement><br />
&nbsp;&nbsp;&nbsp;&nbsp;<reportElement x="140" y="276" width="395" height="21"/><br />
&nbsp;&nbsp;&nbsp;&nbsp;<hc:html xmlns:hc="<a href="http://jasperreports.sourceforge.net/htmlcomponent"><a href="http://jasperreports.sourceforge.net/htmlcomponent" target="_blank">http://jasperreports.sourceforge.net/htmlcomponent</a></a>" xsi:schemaLocation="<a href="http://jasperreports.sourceforge.net/htmlcomponent"><a href="http://jasperreports.sourceforge.net/htmlcomponent" target="_blank">http://jasperreports.sourceforge.net/htmlcomponent</a></a> <a href="http://jasperreports.sourceforge.net/xsd/htmlcomponent.xsd"><a href="http://jasperreports.sourceforge.net/xsd/htmlcomponent.xsd" target="_blank">http://jasperreports.sourceforge.net/xsd/htmlcomponent.xsd</a></a>" scaleType="RetainShape" horizontalAlign="Center" verticalAlign="Middle"><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<hc:htmlContentExpression><![CDATA[$F{PROR_PACKING_INFO}]]></hc:htmlContentExpression><br />
&nbsp;&nbsp;&nbsp;&nbsp;</hc:html><br />
&nbsp;&nbsp;&nbsp;</componentElement><br />
.....</p>
<p>&nbsp;</p>
<p>net.sf.jasperreports.engine.JRRuntimeException: No components bundle registered for namespace <a href="http://jasperreports.sourceforge.net/htmlcomponent"><a href="http://jasperreports.sourceforge.net/htmlcomponent" target="_blank">http://jasperreports.sourceforge.net/htmlcomponent</a></a><br />
&nbsp;at net.sf.jasperreports.engine.component.ComponentsEnvironment.getComponentsBundle(ComponentsEnvironment.java:120)<br />
&nbsp;at net.sf.jasperreports.engine.component.ComponentsEnvironment.getComponentManager(ComponentsEnvironment.java:138)<br />
&nbsp;at net.sf.jasperreports.engine.fill.JRFillComponentElement.<init>(JRFillComponentElement.java:65)<br />
&nbsp;at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitComponentElement(JRFillObjectFactory.java:1592)<br />
&nbsp;at net.sf.jasperreports.engine.base.JRBaseComponentElement.visit(JRBaseComponentElement.java:80)<br />
&nbsp;</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94862</guid>
</item>
<item>
<title><![CDATA[Jasper Reports Very Slow In Internet Explorer]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94884</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>I have several Jasper reports that run blindingly fast in Eclipse, and just about that fast in Firefox, but when I run them in IE (which almost all of my users use; sigh) they run very slowly. &nbsp;A report that takes one or two seconds in Eclipse, and 2 or 3 seconds in Firefox, takes easily 20 seconds in IE. &nbsp;It varies a bit from computer to computer (some are better than others, maybe 5-10 seconds).</p>
<div>&nbsp;</div>
<div>Any ideas what could be causing this, or how to remedy it?</div>
<div>&nbsp;</div>
<div>I have narrowed down the place in the code where the delay occurs and it is definitely in this function call:</div>
<div>&nbsp;</div>
<div><b>JasperCompileManager.compileReport</b></div>
<div>&nbsp;</div>
<div>which of course is compiled code that can't be diagnosed further.</div>
<div>&nbsp;</div>
<div>Please help if you can! &nbsp;Much thanks.</div>
<div>&nbsp;</div>
<div>Darel</div>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94884</guid>
</item>
<item>
<title><![CDATA[Lines are mirrored which have line direction 'Buttom Up (/)']]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94907</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hi,&nbsp;</p>
<p>I created a report with iReport 4.5.0 including two lines which have definded a different line direction (see attachment left side).</p>
<p>After compiling and printing the report the second line (line direction 'Buttom Up') is mirrored (see attachment right side).</p>
<p>I use jasperreport 4.5.0 and I don't have this problem with earlier versions.</p>
<p>Has anyone the same problem as me? Any ideas?</p>
<p>Thanks, </p>
<p>Matze</p>
<p>&nbsp;</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=94907</guid>
</item>
<item>
<title><![CDATA[Loading byte array from database and displaying it as image!!]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95013</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>&nbsp;Hi all,</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I wish to display images on my report. These are stored in SQL server as varbinary fields. Can anyone here please tell me the procedure of how to display images (in byte[]).</p>
<p>I did exactly what is mentioned in</p>
<p><a href="http://rgauss.com/category/interface/"><a href="http://rgauss.com/category/interface/" target="_blank">http://rgauss.com/category/interface/</a></a>---getting no such method exception...</p>
<p>and &nbsp;<a href="http://vmustafayev4en.blogspot.com/2011/08/read-alfresco-node-to-byte-array-in.html"><a href="http://vmustafayev4en.blogspot.com/2011/08/read-alfresco-node-to-byte-array-in.html" target="_blank">http://vmustafayev4en.blogspot.com/2011/08/read-alfresco-node-to-byte-array-in.html</a></a>-- here I am getting&nbsp;<span style="font-family: 'Courier New'; font-size: medium; ">java.lang.ArrayIndexOutOfBoundsException:&nbsp;-77.</span></p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Vivekanand Alampally.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95013</guid>
</item>
<item>
<title><![CDATA[Export Jasper to image]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95086</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hi, </p>
<p>Is it posible to export a jasper object to an image (bmp, jpg...)?. Until now I've been able to export it to different formats (pdf, xls, doc...) but finding in Google about an image exporter didn't get any succesfull result. Does anybody know how could I do it? </p>
<p>Thanks in advance. </p>
<p>Regards.</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95086</guid>
</item>
<item>
<title><![CDATA[Java Reports. Shrink the font size of the texfield. ]]></title>
<link>http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95150</link>
<pubDate>Sat, 11 Feb 2012 09:11:48 +0000</pubDate>
<description><![CDATA[<p>Hello,<br />
<br />
I am working with Jasper Reports.  I want User Comments to come it to report.<br />
<br />
Problem is if the Comments are bigger then it take more vertical space.  But I want that its font size should reduce to fit into that area.<br />
<br />
I hope you understand<br />
<br />
Please reply<br />
<br />
Thanks <br />
<br />
Venkat</p>]]></description>
<guid isPermaLink="true" >http://jasperforge.org/plugins/espforum/view.php?group_id=102&amp;forumid=103&amp;topicid=95150</guid>
</item>
</channel>
</rss>
