Uploaded image for project: 'Spring Roo Flex Add-on'
  1. Spring Roo Flex Add-on
  2. ROOFLEX-43

NPE when using full package names in "flex remoting" Roo command

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      SpringSource Tool Suite Version: 2.6.0.RELEASE Build Id: 201103161000
      org.springframework.flex.roo.addon-1.0.0.BUILD-20110321.091025-255.jar
      org.springframework.flex.roo.annotations-1.0.0.BUILD-20100630.171021-1.jar

      Description

      when using the Roo "flex remoting" command with full package names... it throws a NPE. Using the ~ shortcut seemd to work ok though

      Roo console output:

      roo> flex remoting all --package be.tradelec.security.eid.service
      Created SRC_MAIN_JAVAbetradelecsecurityeidservice
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService.java
      Created ROOTsrcmainflexbetradelecsecurityeidmodel
      Created ROOTsrcmainflexbetradelecsecurityeidmodelEidAddress.as
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidIdentityService.java
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidserviceEidIdentityService.java
      Undo create ROOTsrcmainflexbetradelecsecurityeidmodelEidAddress.as
      Undo create ROOTsrcmainflexbetradelecsecurityeidmodel
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService.java
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidservice
      NullPointerException at org.springframework.flex.roo.addon.as.model.ActionScriptMappingUtils.toActionScriptType(ActionScriptMappingUtils.java:88)
      roo> flex remoting all --package be.tradelec.security.eid.service
      Created SRC_MAIN_JAVAbetradelecsecurityeidservice
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService.java
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidIdentityService.java
      Updated ROOTsrcmainflexTradServer_scaffold.mxml
      Updated ROOTsrcmainflexTradServer_scaffold-config.xml
      Created ROOTsrcmainflexbetradelecpresentationeidaddress
      Created ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressEvent.as
      Created ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressView.mxml
      Created ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressForm.mxml
      Updated ROOTsrcmainflexTradServer_scaffold.mxml
      Updated ROOTsrcmainflexTradServer_scaffold-config.xml
      Created ROOTsrcmainflexbetradelecpresentationeididentity
      Created ROOTsrcmainflexbetradelecpresentationeididentityEidIdentityEvent.as
      Undo create ROOTsrcmainflexbetradelecpresentationeididentityEidIdentityEvent.as
      Undo create ROOTsrcmainflexbetradelecpresentationeididentity
      Undo manage ROOTsrcmainflexTradServer_scaffold-config.xml
      Undo manage ROOTsrcmainflexTradServer_scaffold.mxml
      Undo manage ROOTsrcmainflexTradServer_scaffold-config.xml
      Undo manage ROOTsrcmainflexTradServer_scaffold.mxml
      Undo create ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressForm.mxml
      Undo create ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressView.mxml
      Undo create ROOTsrcmainflexbetradelecpresentationeidaddressEidAddressEvent.as
      Undo create ROOTsrcmainflexbetradelecpresentationeidaddress
      Undo manage ROOTsrcmainflexTradServer_scaffold-config.xml
      Undo manage ROOTsrcmainflexTradServer_scaffold.mxml
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidserviceEidIdentityService.java
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService.java
      Undo create SRC_MAIN_JAVAbetradelecsecurityeidservice
      NullPointerException at org.springframework.flex.roo.addon.ui.FlexUIMetadataProvider.getElegibleListFields(FlexUIMetadataProvider.java:399)
      roo>
      required --package: The package in which new services will be placed; no default value
      roo> flex remoting all --package ~.security.eid.service
      Created SRC_MAIN_JAVAbetradelecsecurityeidservice
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService.java
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidIdentityService.java
      Created SRC_MAIN_JAVAbetradelecsecurityeidserviceEidAddressService_Roo_Service.aj

        Attachments

          Activity

            People

            • Assignee:
              jeremyg484 Jeremy Grelle
              Reporter:
              prefabsoft Jochen Szostek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: