Bug #168

NullPointerException in default document handler

Added by Thomas Rüdesheim 1080 days ago. Updated 923 days ago.

Status:Closed Start:02/19/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

Scan process stops because of NullPointerException while indexing .properties or .php files. See extracts of log file below:

Extract 1:
2009-02-17 19:22:33,387|INFO|main|supose.scan.ScanRepository||FileName: '/LING/Build/products.properties'
2009-02-17 19:22:33,387|DEBUG|main|supose.scan.ScanRepository||The /LING/Build/products.properties is a file entry.
2009-02-17 19:22:33,418|INFO|main|supose.utility.FileExtensionProperty||There is no property entry defined for the file extension 'properties'
2009-02-17 19:22:33,418|INFO|main|scan.document.ScanDefaultDocument||Scanning document
2009-02-17 19:22:33,418|DEBUG|main|scan.document.ScanDefaultDocument||We scan the contents, cause it's text.
2009-02-17 19:22:33,418|ERROR|main|supose.scan.ScanRepository||something wrong: java.lang.NullPointerException
2009-02-17 19:22:33,418|DEBUG|main|supose.repository.Repository||Trying to close the repository Session.
2009-02-17 19:22:33,418|DEBUG|main|supose.repository.Repository||Repository session closes.
2009-02-17 19:22:33,418|INFO|main|supose.cli.SuposeCLI||Scanning ready.

Extract 2:
2009-02-18 09:10:54,833|INFO|main|supose.scan.ScanRepository||FileName: '/Tools/mantis/manage_user_create.php'
2009-02-18 09:10:54,833|DEBUG|main|supose.scan.ScanRepository||The /Tools/mantis/manage_user_create.php is a file entry.
2009-02-18 09:10:54,833|INFO|main|supose.utility.FileExtensionProperty||There is no property entry defined for the file extension 'php'
2009-02-18 09:10:54,833|INFO|main|scan.document.ScanDefaultDocument||Scanning document
2009-02-18 09:10:54,833|DEBUG|main|scan.document.ScanDefaultDocument||We scan the contents, cause it's text.
2009-02-18 09:10:54,849|ERROR|main|supose.scan.ScanRepository||something wrong: java.lang.NullPointerException
2009-02-18 09:10:54,849|DEBUG|main|supose.repository.Repository||Trying to close the repository Session.
2009-02-18 09:10:54,849|DEBUG|main|supose.repository.Repository||Repository session closes.
2009-02-18 09:10:54,849|INFO|main|supose.cli.SuposeCLI||Scanning ready.


Related issues

related to SupoSE - Bug #215 README will not correctly recognized Closed 06/19/2009

History

Updated by Karl Heinz Marbaise 923 days ago

Hi Thomas,

there had been a problem with the implementation of the file extension etc. and recognition of this.
This should be solved by the related bug #215.

So i close this bug.

Many thanks for your support.

Kind regards
Karl Heinz Marbaise

Updated by Karl Heinz Marbaise 923 days ago

  • Status changed from New to Closed

Also available in: Atom PDF