Announcement Announcement Module
Collapse
No announcement yet.
StackOverflowError updating Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • StackOverflowError updating

    How do I go about diagnosing the following. It happens when Roo starts in STS. Circular Reference? I tried deleting aj files for the corresponding java files but it gave StackOverflowError at com.github.antlrjavaparser.api.expr.EnclosedExpr.< init>(EnclosedExpr.java:34) error

    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.2.5.RELEASE [rev 8341dc2]


    Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
    roo> Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/FeatureRule.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/Listing.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/FeatureRule.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/Listing.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/FeatureRule.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/Listing.java
    Updated SRC_MAIN_JAVA/com/demo/soa/service/property/domain/FeatureRule.java

    StackOverflowError at com.github.antlrjavaparser.Java7Parser$AdditiveExp ressionContext.multiplicativeExpression(Java7Parse r.java:6879)

  • #2
    Both files mentioned had methods with switch on Enum. Roo was modifying them adding parenthesis like crazy while running update command. After I removed these methods, it worked. Very strange. I am running java 1.6
    switch(((((((((((((((((((((((((((((((((((((((((((( (((((((((((((((((((((((((((((((((((((((((((((((((( ((((((((((((((((((((((((((((((((((((((((orderby))) )))))))))))))))))))))))))))))))))))))))))))))))))) )))))))))))))))))))))))))))))))))))))))))))))))))) ))))))))))))))))))))))))))))))) {
    case listDate:
    orderbyField = "o.listDate";
    break;
    case listPrice:
    orderbyField = "o.listPrice";
    break;

    Comment

    Working...
    X