krishna44 / ext-doc

Automatically exported from code.google.com/p/ext-doc
0 stars 0 forks source link

NullPointerException at file processing #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy the attached source file into the samples folder:
samples/ext/sources. Remove everything else from there.
2. Run sample script "ext-doc.sh".
3.

What is the expected output? What do you see instead?
The steps above reproduce a NullPointerException in class
"extdoc.jsdoc.processor.FileProcessor". Here is the stacktrace: 

Processing: Repository.js
Exception in thread "main" java.lang.NullPointerException
        at
extdoc.jsdoc.processor.FileProcessor.processEvent(FileProcessor.java:476)
        at
extdoc.jsdoc.processor.FileProcessor.processComment(FileProcessor.java:535)
        at
extdoc.jsdoc.processor.FileProcessor.processFile(FileProcessor.java:618)
        at
extdoc.jsdoc.processor.FileProcessor.processDir(FileProcessor.java:772)
        at
extdoc.jsdoc.processor.FileProcessor.processDir(FileProcessor.java:768)
        at extdoc.jsdoc.processor.FileProcessor.process(FileProcessor.java:811)
        at extdoc.Main.main(Main.java:80)

What version of the product are you using? On what operating system?

I'm using the latest snapshot from 2009-10-19:
http://ext-doc.org/upload/ext-doc-1.0-SNAPSHOT.zip

Please provide any additional information below.

Original issue reported on code.google.com by mi.koel...@googlemail.com on 19 Oct 2009 at 12:23

Attachments:

GoogleCodeExporter commented 9 years ago
The attached patch solved the Problem for me.

Best regards,
Michael

Original comment by mi.koel...@googlemail.com on 19 Oct 2009 at 2:10

Attachments: