java.lang.RuntimeException: A comment can not be commented

GitHub | matozoid | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 404#236257552

    GitHub | 9 months ago | matozoid
    java.lang.RuntimeException: A comment can not be commented

    Root Cause Analysis

    1. java.lang.RuntimeException

      A comment can not be commented

      at com.github.javaparser.ast.Node.setComment()
    2. com.github.javaparser
      Bla.woefjwe
      1. com.github.javaparser.ast.Node.setComment(Node.java:237)
      2. com.github.javaparser.CommentsInserter.attributeLineCommentToNodeOrChild(CommentsInserter.java:201)
      3. com.github.javaparser.CommentsInserter.attributeLineCommentToNodeOrChild(CommentsInserter.java:212)
      4. com.github.javaparser.CommentsInserter.insertCommentsInNode(CommentsInserter.java:149)
      5. com.github.javaparser.CommentsInserter.insertCommentsInNode(CommentsInserter.java:138)
      6. com.github.javaparser.CommentsInserter.insertCommentsInNode(CommentsInserter.java:138)
      7. com.github.javaparser.CommentsInserter.insertCommentsInNode(CommentsInserter.java:138)
      8. com.github.javaparser.CommentsInserter.insertCommentsInCu(CommentsInserter.java:106)
      9. com.github.javaparser.CommentsInserter.insertComments(CommentsInserter.java:58)
      10. com.github.javaparser.JavaParser.parse(JavaParser.java:174)
      11. com.github.javaparser.JavaParser.parse(JavaParser.java:165)
      12. com.github.javaparser.Bla.woefjwe(Bla.java:10)
      12 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14. org.junit.runners.Suite.runChild(Suite.java:128)
      15. org.junit.runners.Suite.runChild(Suite.java:27)
      16. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      17. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      18. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      19. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      20. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      21. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      22. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      22 frames
    5. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    6. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame