|
|
NullpointerException in JavaTypeWrapper after 1.1.1 upgrade
After upgrading to Roo 1.1.1 I'm getting following exception.Code:
Created src_MAIN_JAVA/my/project/web/ApplicationConversionServiceFactoryBean.java
Updated src_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml
Undo manage src_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml
Undo create src_MAIN_JAVA/my/project/web/ApplicationConversionServiceFactoryBean.java
NullPointerException at org..roo.addon.web.mvc.controller.JavaTypeWrapper.findRelatedDomainTypes(JavaTypeWrapper.java:242)
I updated the dependencies in my pom.xml, removed all custom converters and did a 'perform eclipse'.
Any help is appreciated.
UPDATE: Nevermind, I solved it by moving to a 1.1.2 snapshot
Hi, I'm getting the same error.
In my case, it happens whenever I launch the Roo shell, after removing quot;registerConverters=falsequot; from @RooWebScaffold.
There's any other workaround, without moving to 1.1.2 snapshot?
Thanks.
Please try the 1.1.2 snapshot code and log a Jira bug against the web tier if the problem still exists.
Where can I find nightly builds of Spring ROO? I can't find any reference to it.
Thanks.
I have the same error.
In my case, I'm trying to move the id to the java class because @GeneratedValue cannot be (GenerationType.)AUTO. In our case we must to provide each new value (it's an ancient legacy database)
There is a web controller for this entity.
It seems that exiting and reentering in roo solves the problem (but according the Roo log, no web component is managed in my case)
Can you provide any help for the 1.1.1 version? At this moment we can't try the snapshot version.
Do you still want a JIRA issue?
Thank you. |
|