Announcement Announcement Module
Collapse
No announcement yet.
Error in spring-roo-1.1.0.M1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in spring-roo-1.1.0.M1

    Hello Experts,
    I am evaluating spring-roo-1.1.0.M1 with spring-flex-1.5.0.M1-dist flex add on plugin in windows 7. I am using the roo version M1 because in M2 and M3 the flex code is broken .

    I am getting the below error when i am giving the " flex remoting all --package ~.service"

    Created SRC_MAIN_JAVA\org\company\troubleticketmgmt\servic e
    Created SRC_MAIN_JAVA\org\company\troubleticketmgmt\servic e\TroubleTicketCallsSer
    vice.java
    Created ROOT\src\main\flex\org\company\troubleticketmgmt\d omain
    Created ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\TroubleTicketCall
    s.as
    Created ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Actions.as
    Created ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Customers.as
    Created ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Issues.as
    Undo create ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Issues.as
    Undo create ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Customers.as
    Undo create ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\Actions.as
    Undo create ROOT\src\main\flex\org\company\troubleticketmgmt\d omain\TroubleTicket
    Calls.as
    Undo create ROOT\src\main\flex\org\company\troubleticketmgmt\d omain
    Undo create SRC_MAIN_JAVA\org\company\troubleticketmgmt\servic e\TroubleTicketCall
    sService.java
    Undo create SRC_MAIN_JAVA\org\company\troubleticketmgmt\servic e
    NullPointerException at org.springframework.flex.roo.addon.entity.ActionSc riptEn
    tityMetadataProvider.createActionScriptMirrorClass (ActionScriptEntityMetadataPro
    vider.java:146)


    This error is coming on below entity. The only thing i could see the in that entity i have used so many reference fields. For other entities where there is only one reference field there i man not getting error.

    entity --class ~.domain.TroubleTicketCalls --testAutomatically
    field string --fieldName charged
    field reference --fieldName actions --type ~.domain.Actions
    field string --fieldName status
    field set --fieldName issues --element ~.domain.Issues
    field reference --fieldName customer --type ~.domain.Customers
    field reference --fieldName technician --type ~.domain.Technicians
    field number --fieldName serviceOrderNumber --type java.lang.Number
    field date --fieldName dateOfCall --type java.util.Date

    Please help.

    Also when the next release of Roo is coming ?

    Thanks in advance.
    Aj
Working...
X