JavaNCSS

TokenMgrError for Umlauts

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 30.51
  • Fix Version/s: 32.53
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

The file had a german umlaut as variable name at line 72:
String $18KgwErfüllt = "...";

Workaround: Change the name of the variable
String $18KgwErfuellt = "...";

[INFO] [javancss:report]
TokenMgrError in D:\svn\xxx-ratingplatform\tags\xxx-ratingplatform-0.1.0\src\main\java\de\xxx\xxx\rating\report\RatingReport.java
Lexical error at line 72, column 24. Encountered: "\u00bc" (188), after : ""

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar

Embedded error: Unable to execute mojo
Lexical error at line 72, column 24. Encountered: "\u00bc" (188), after : ""
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

Activity

Hide
Herve Boutemy added a comment -

fixed in r154

Show
Herve Boutemy added a comment - fixed in r154

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: