Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-21 Thread Erich Gormann
Hello Geoff and Thiago, thanks a lot for explantion and example. I found the error: it was a new method which I had to implement in my types inherting from the Tapestry javascript stack class, but stil returned null instead of empty list Regards, Erich Am 21.03.2018 03:13, schrieb JumpStar

Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-20 Thread JumpStart
Here’s an example (first-name-color-switcher.js) where it’s in META-INF/modules... http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/javascript …and here’s an example (person-list.js) where it’s in the normal source tree, ending up in classes… http://jumps

Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-20 Thread Thiago H. de Paula Figueiredo
On Mon, Mar 19, 2018 at 4:27 PM, Erich Gormann wrote: > Hello Thiago, > Hello! > I migrated coming from 5.3.8 and I saw, that it is recommended now to put > all assets in the META-INF directory and js libs in a modules sub dir under > above. > You also need to update our references to these f

Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-19 Thread Erich Gormann
Hello Thiago, I migrated coming from 5.3.8 and I saw, that it is recommended now to put all assets in the META-INF directory and js libs in a modules sub dir under above. But if one keeps the old structure for assets, according to the docs only a warning should be raised, no exception, or an I

Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-19 Thread Thiago H. de Paula Figueiredo
Hello! >From which version did you upgrade? I may be wrong, of course, but I don't remember any changes being made to JavaScriptSupportImpl since 5.4.0 or 5.4.1. On Mon, Mar 19, 2018 at 2:50 PM, Erich Gormann wrote: > Hello all, > > I hope my last question for today: > > After the migration to

getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-19 Thread Erich Gormann
Hello all, I hope my last question for today: After the migration to Tapestry 5.4.3 I got this stacktrace below on calling any page of our application. Does anyone else faced this problem, is it known? Thanks for your help! Best Regards, Erich java.lang.NullPointerException org.