[Anthill-pro] Strange Error on Beanshell

Ryan Smith rws at urbancode.com
Thu Nov 5 09:45:02 CST 2009


Seems odd. What type is projectsSelected? Maybe this would be better:

commandOutput.println(String.valueOf(projectsSelected));



emerson cargnin wrote:
> I'm getting some weird errors on a beanshell script.
>
> On a line that I have:    commandOutput.println(projectsSelected);
>
> I'm getting:
> 2009-11-05 14:34:56,800 ERROR - The application script threw an
> exception: java.lang.NullPointerException BSF info: noFile at line: 34
> 2009-11-05 14:34:56,800 ERROR -
> com.urbancode.anthill3.runtime.scripting.ScriptException: The
> application script threw an exception: java.lang.NullPointerException
> BSF info: noFile at line: 34
>
> Any idea? It is strange as I have another workflow that uses the same
> command without any problem..
>
> thanks
> Emerson
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>   


More information about the Anthill-pro mailing list