Re: Helpfulness of errors for missing @Symbols

2013-04-21 Thread Nicolas Barrera
I agree it's a very odd error report, I 'd just like to add that you could protect your hairiness level contributing to the factory default defaults service, there you can define factory defaults to symbols which in some cases saves you from crashing in that way. Of course there 're some situatio

Re: Helpfulness of errors for missing @Symbols

2013-04-20 Thread Howard Lewis Ship
That's a very odd error to get for a symbol without a definition, and I'd call that a bug. It's supposed to be a very clear error that "foo" is not defined. On Sat, Apr 20, 2013 at 5:43 PM, Michael Prescott < michael.r.presc...@gmail.com> wrote: > I'm using Symbols injected into my app's tapestr

Helpfulness of errors for missing @Symbols

2013-04-20 Thread Michael Prescott
I'm using Symbols injected into my app's tapestry module to read web context init parameters. class MyModule { @Inject @Symbol("myapp.hairinesslevel") private int hairinessLevel; } I run the app in a bunch of different ways - in jetty:run, deployed as a service, and in a web container, s