Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: No of prompts allowed in secure prompt filter

  1. #1
    Join Date
    Jun 2009
    Posts
    22

    Angry No of prompts allowed in secure prompt filter

    Is there any limitation for the number of input strings that can be prompted in a secure prompt filter?

    I get java.lang.NullPointerException when the input strings that are prompted exceeds 4.

  2. #2
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    nope no limit like that that ive seen.. I have reports with more prompts than that.

    what version of the platform? whats the full stack trace? can you reproduce in a simple xaction? cut it down until it works then identify the error...

    Dan

  3. #3
    pstoellberger Guest

    Default

    i remember getting weird NullPointerExceptions when a) parameters are not of type String b) when no default value is defined for them (even if its just blank - but the check box in design studio must be ticked)

  4. #4
    Join Date
    Jun 2009
    Posts
    22

    Default

    I have checked the default value option for the input prompts. Also, the input parameters are of type string. Still, I am getting this Exception.

    Error: Base.ERROR_0002 - Component execution failed - java.lang.NullPointerException (org.pentaho.plugin.core.SecureFilterComponent) is the exception thrown

    I am fetching the values for the prompts from relational table. I use a single xaction to get the month values, Year values as two different result sets from a table. I have set the output type as "response". In the actual xaction, this is xaction file is called and the MONTH_LIST and YEAR_LIST are read.
    Last edited by rathana; 08-03-2009 at 12:16 AM. Reason: details

  5. #5
    pstoellberger Guest

    Default

    well i'm guessing you have misconfigured your secure filter action.
    can you post your xaction in here or on pastebin.com ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.