Hello Tom,
We treat bad error messages as bugs, so if you could please report this to
Bugzilla we'd be happy. An error in a Wrapper class usually means there's some
error somewhere that Orion doesn't catch (but the compiler does).
Regards,
Karl Avedal
Tom Klaasen wrote:
> Stumbled across Yet Another Obscure Error Message.
> Does anybody has any idea what this error message means, and what can be
> done about it? It seems to me that a variable is used that is not defined,
> but since this is generated code, I don't understand why the variable is not
> defined...
>
> Any help is much appreciated
>
> E:\orion>java -jar orion.jar
> Copying default deployment descriptor from archive at
> E:\orion\applications\isho
> p\ishop-ejb/orion/orion-ejb-jar.xml to deployment directory
> E:\orion\application
> -deployments\ishop\ishop-ejb...
> Auto-deploying ishop-ejb (No previous deployment found)...
> CustomerManagerEJB_St
> atefulSessionBeanWrapper3.java:68: Undefined variable: created
> methodException =
> EJBUtils.getUserException(e, !created);
>
> ^
> CustomerManagerEJB_StatefulSessionBeanWrapper3.java:137: Undefined variable:
> cre
> ated
> methodException =
> EJBUtils.getUserException(e, !created);
>
> ^
> CustomerManagerEJB_StatefulSessionBeanWrapper3.java:210: Undefined variable:
> cre
> ated
> methodException =
> EJBUtils.getUserException(e, !created);
>
> ^
> CustomerManagerEJB_StatefulSessionBeanWrapper3.java:277: Undefined variable:
> cre
> ated
> methodException =
> EJBUtils.getUserException(e, !created);
>
> ^
> 4 errors
> Error compiling file:/E:/orion/applications/ishop/ishop-ejb/: Syntax error
> in source
> Orion/1.2.9 initialized
>
> E:\orion>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Tom Klaasen
> Software Engineer
> The E-corporation
> http://www.the-ecorp.com
> +32 (0)9 272 22 00
> ~~~~~~~~~~~~~~~~~~~~~~~~~