Menu

#2 Cannot parse empty class

v1.2.0
closed
None
5
2013-11-04
2011-07-25
Likid
No

A fully commented class cannot be parsed and stops the process, displaying the following log output:

Program launched at Mon Jul 25 09:25:58 CEST 2011
25 juil. 2011 09:25:58 net.sourceforge.plantuml.dependency.main.option.output.PlantUMLDependencyOutputOptionExecution execute GRAVE: [error-plantuml-dependency-026] : Severe parsing errors have occurred while reading the source file "L:\DEV\workspace\EbeeSafeModules\EbeeSpaceModules\EbeeSpaceWeb\src\main\java\com\almerys\cleyris\ebee\web\action\EBeeDocumentActionsBean.java", the file will be ignored
net.sourceforge.plantuml.dependency.exception.PlantUMLDependencyException: [error-plantuml-dependency-026] : Severe parsing errors have occurred while reading the source file "L:\DEV\workspace\EbeeSafeModules\EbeeSpaceModules\EbeeSpaceWeb\src\main\java\com\almerys\cleyris\ebee\web\action\EBeeDocumentActionsBean.java", the file will be ignored
at net.sourceforge.plantuml.dependency.main.option.output.PlantUMLDependencyOutputOptionExecution.readDependenciesMapFromFiles(PlantUMLDependencyOutputOptionExecution.java:219)
at net.sourceforge.plantuml.dependency.main.option.output.PlantUMLDependencyOutputOptionExecution.execute(PlantUMLDependencyOutputOptionExecution.java:134)
at net.sourceforge.mazix.cli.program.execution.impl.JavaProgramExecutionImpl.execute(JavaProgramExecutionImpl.java:139)
at net.sourceforge.plantuml.dependency.main.program.PlantUMLDependencyProgram.process(PlantUMLDependencyProgram.java:129)
at net.sourceforge.plantuml.dependency.main.program.PlantUMLDependencyProgram.main(PlantUMLDependencyProgram.java:100)
Caused by: net.sourceforge.plantuml.dependency.exception.PlantUMLDependencyException: [error-plantuml-dependency-015] : The java type can't be extracted from the content ""
at net.sourceforge.plantuml.dependency.main.option.programminglanguage.argument.JavaProgrammingLanguage.readJavaRawDependencyFromPreparedFile(JavaProgrammingLanguage.java:836)
at net.sourceforge.plantuml.dependency.main.option.programminglanguage.argument.JavaProgrammingLanguage.readDependencyFromPreparedFile(JavaProgrammingLanguage.java:792)
at net.sourceforge.plantuml.dependency.main.option.programminglanguage.argument.JavaProgrammingLanguage.readDependencyFromFile(JavaProgrammingLanguage.java:767)
at net.sourceforge.plantuml.dependency.main.option.output.PlantUMLDependencyOutputOptionExecution.readDependencyFromFile(PlantUMLDependencyOutputOptionExecution.java:249)
at net.sourceforge.plantuml.dependency.main.option.output.PlantUMLDependencyOutputOptionExecution.readDependenciesMapFromFiles(PlantUMLDependencyOutputOptionExecution.java:217)
... 4 more
Program finished at Mon Jul 25 09:25:58 CEST 2011

The text file is not generated, but the commented file should be ignored.

Discussion

  • Benjamin Croizet

    • assigned_to: nobody --> graffity2199
    • status: open --> open-accepted
     
  • Benjamin Croizet

    Indeed, there is a bug when plantuml-dependency is parsing an empty file
    It will be corrected in the next release

     
  • Benjamin Croizet

    • Group: --> v1.2.0
     
  • Benjamin Croizet

    • status: open-accepted --> closed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.