Announcement Announcement Module
Collapse
No announcement yet.
NullPointerException with "web gwt all" when --activeRecord false Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • NullPointerException with "web gwt all" when --activeRecord false

    Hi,

    I run into this problem, whenever I create and entity with the option "--activeRecord false", it will fail with the following message:

    NullPointerException at org.springframework.roo.addon.gwt.locator.GwtLocat orMetadataProviderImpl.getFindMethod(GwtLocatorMet adataProviderImpl.java:159)

    I wrote the next script to reproduce it:
    Code:
    project --topLevelPackage com.kokobit.pasarela
    persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT 
    
    entity --class ~.server.domain.BasePage --testAutomatically --activeRecord false
    field string --fieldName name --notNull --sizeMin 1 --unique
    
    web gwt setup
    web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request
    I didn't try with other gwt commands, but my guess is that it's failing in the proxies creation.

    David

  • #2
    https://jira.springsource.org/browse/ROO-2888 resolved - see note in ticket

    Comment

    Working...
    X