net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file C:\Users\Username\Java_programm.jar:myPackage.path/**SampleClass.java at line 1, column 1. Encountered: "\ufeff" (65279), after : ""**

pmd | milch1l | 6 months ago
  1. 0

    [java] Issue with Byte Order Mark

    pmd | 6 months ago | milch1l
    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file C:\Users\Username\Java_programm.jar:myPackage.path/**SampleClass.java at line 1, column 1. Encountered: "\ufeff" (65279), after : ""**
  2. 0

    Error while processing PLSQL file with BOM

    pmd | 3 years ago | safebuster2
    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file D:\pmd_reports\test.pkb at line 1, column 1. Encountered: "\ufeff" (65279), after : ""
  3. 0

    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file xxx.cpp

    pmd | 2 years ago | kuro
    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file C:\work\common\app\wrapper\a.cpp at line 1, column 1. Encountered: "\ufffd" (65533), after : ""
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parsing LLVM

    pmd | 4 years ago | nicklasbo
    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file .../helloworld.cpp at line 5, column 26. Encountered: "\\" (92), after : ""
  6. 0

    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file xxx.cpp

    pmd | 2 years ago | kuro
    net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file /home/Lukasz/Dokumenty/cpd_issue/example.cpp at line 5, column 23. Encountered: "\u0105" (261), after : "\""

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sourceforge.pmd.lang.ast.TokenMgrError

      Lexical error in file C:\Users\Username\Java_programm.jar:myPackage.path/**SampleClass.java at line 1, column 1. Encountered: "\ufeff" (65279), after : ""**

      at net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager.getNextToken()
    2. PMD Java
      AbstractJavaParser.parse
      1. net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager.getNextToken(JavaParserTokenManager.java:2263)
      2. net.sourceforge.pmd.lang.java.ast.JavaParser.<init>(JavaParser.java:10903)
      3. net.sourceforge.pmd.lang.java.AbstractJavaParser.createJavaParser(AbstractJavaParser.java:42)
      4. net.sourceforge.pmd.lang.java.Java18Parser.createJavaParser(Java18Parser.java:23)
      5. net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:56)
      5 frames
    3. PMD
      SourceCodeProcessor.processSourceCode
      1. net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:91)
      2. net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:138)
      3. net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:76)
      4. net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:43)
      4 frames
    4. PMD Core
      PmdRunnable.call
      1. net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:79)
      2. net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:25)
      2 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3 frames