Jump to content

gerald.meachem

Members
  • Posts

    6
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by gerald.meachem

  1. I have noticed that he built in IF method seems to evaluate both sides of the condition even if it will not be using that particular portion.  I am wondering if this is expected behavior?  

    For example:  I have an expression

     IF(FIND("n", $F{CHAR12}) > 0, MID($F{CHAR12}, FIND("n", $F{CHAR12})), "")

    If there is a carriage return in the string, use the portion of the string after the carriage return.  What I get at runtime if there is no line feed in the string is an exception error

    ...Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     
    This leads me to believe that it is evaluating both sides of the condition and then using one or the other depending on the logical value which obviously doesn't work the way I need it to in this case.
  2. I am getting the same error running server 6.0.1 on linux. I am testing a jdbc connection that the server tells me is "NOT INSTALLED". The test returns successful, but dumps this error to the catalina log. no idea what it is trying to write where. Did you manage to work through your issue?
  3. I can't seem to get an integer input parameter entered via the dialog to pass through to the report.  I enter the parameter value and hit the "play" button at the bottom of the parameter view.  Messages flash by briefly indicating that it's compiling the report, starting, and then it displays the text "The report requires that you specify the value for some report parameters before running it".  If I set the "is for prompt" setting on the parameter to false, the report runs correctly and the results display (albeit my parameter displays as null which makes sense because I wasn't prompted to set the value).  

    Any suggestions as to what I'm doing wrong?   I am very new to the product so feel free to start at the most basic suggestions.  I am running jaspersoft studio 6.0.3.  I have a data adapter defined.  The report is intended to be a subreport with the key value passed in but I'm trying to get the report working on it's own first.

     
×
×
  • Create New...