Announcement Announcement Module
Collapse
No announcement yet.
Perhaps a little bug using full package names in "flex remoting" Roo command? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Perhaps a little bug using full package names in "flex remoting" Roo command?

    Aloha!

    I might have discovered a little bug... when using the Roo "flex remoting" command with full package names... it throws a NPE. Using the ~ shortcut seemd to work ok though:

    PHP Code:
    rooflex remoting all --package be.tradelec.security.eid.service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService.java
    Created ROOT
    \src\main\flex\be\tradelec\security\eid\model
    Created ROOT
    \src\main\flex\be\tradelec\security\eid\model\EidAddress.as
    Created SRC_MAIN_JAVA\be\tradelec\security\eid\service\EidIdentityService.java
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidIdentityService.java
    Undo create ROOT
    \src\main\flex\be\tradelec\security\eid\model\EidAddress.as
    Undo create ROOT\src\main\flex\be\tradelec\security\eid\model
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService.java
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service
    NullPointerException at org
    .springframework.flex.roo.addon.as.model.ActionScriptMappingUtils.toActionScriptType(ActionScriptMappingUtils.java:88)
    rooflex remoting all --package be.tradelec.security.eid.service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService.java
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidIdentityService.java
    Updated ROOT
    \src\main\flex\TradServer_scaffold.mxml
    Updated ROOT
    \src\main\flex\TradServer_scaffold-config.xml
    Created ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress
    Created ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress\EidAddressEvent.as
    Created ROOT\src\main\flex\be\tradelec\presentation\eidaddress\EidAddressView.mxml
    Created ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress\EidAddressForm.mxml
    Updated ROOT
    \src\main\flex\TradServer_scaffold.mxml
    Updated ROOT
    \src\main\flex\TradServer_scaffold-config.xml
    Created ROOT
    \src\main\flex\be\tradelec\presentation\eididentity
    Created ROOT
    \src\main\flex\be\tradelec\presentation\eididentity\EidIdentityEvent.as
    Undo create ROOT\src\main\flex\be\tradelec\presentation\eididentity\EidIdentityEvent.as
    Undo create ROOT\src\main\flex\be\tradelec\presentation\eididentity
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold-config.xml
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold.mxml
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold-config.xml
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold.mxml
    Undo create ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress\EidAddressForm.mxml
    Undo create ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress\EidAddressView.mxml
    Undo create ROOT
    \src\main\flex\be\tradelec\presentation\eidaddress\EidAddressEvent.as
    Undo create ROOT\src\main\flex\be\tradelec\presentation\eidaddress
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold-config.xml
    Undo manage ROOT
    \src\main\flex\TradServer_scaffold.mxml
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidIdentityService.java
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService.java
    Undo create SRC_MAIN_JAVA
    \be\tradelec\security\eid\service
    NullPointerException at org
    .springframework.flex.roo.addon.ui.FlexUIMetadataProvider.getElegibleListFields(FlexUIMetadataProvider.java:399)
    roo
    required --packageThe package in which new services will be placedno default value
    roo
    flex remoting all --package ~.security.eid.service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService.java
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidIdentityService.java
    Created SRC_MAIN_JAVA
    \be\tradelec\security\eid\service\EidAddressService_Roo_Service.aj 

  • #2
    Indeed, seems like a bug. Would you mind opening a Jira? https://jira.springsource.org/browse/ROOFLEX

    Comment


    • #3
      Originally posted by jeremyg484 View Post
      Indeed, seems like a bug. Would you mind opening a Jira? https://jira.springsource.org/browse/ROOFLEX
      Wouldn't mind at all...always glad being able to return something to the community.

      https://jira.springsource.org/browse/ROOFLEX-43

      Comment


      • #4
        This doesn't been to be related to the full package name I noticed...problem also occurs when using the "~" shortcut.

        Will further investigate today and update Jira accordingly.

        Comment

        Working...
        X