[SrcML] [ srcml-Bugs-1372834 ] absolute paths in windows not working
Status: Beta
Brought to you by:
crashchaos
From: SourceForge.net <no...@so...> - 2005-12-06 09:36:00
|
Bugs item #1372834, was opened at 2005-12-04 14:46 Message generated for change (Comment added) made by crashchaos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=641278&aid=1372834&group_id=105448 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Parser Group: None >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Raiser Frank (crashchaos) Assigned to: Raiser Frank (crashchaos) Summary: absolute paths in windows not working Initial Comment: From mailinglist post by Icaro: https://sourceforge.net/mailarchive/forum.php?thread_id=9126384&forum_id=44402 C:\>java -classpath "C:\cartella condivisa\Software Downloads\dev\SrcML\srcml-0.2.2.jar" de.srcml.parser.Parser c:\Policy.java (note the *c:\* ) I obtain the following Exception: java.lang.NullPointerException at de.srcml.parser.java.Preprocessor.read(Unknown Source) at de.srcml.parser.java.Preprocessor.filterReader(Unknown Source) at de.srcml.parser.java.Preprocessor.(Unknown Source) at de.srcml.parser.java.ParserJava.parseFile(Unknown Source) at de.srcml.parser.java.ParserJava.parse(Unknown Source) at de.srcml.parser.Parser.parse(Unknown Source) at de.srcml.parser.Parser.main(Unknown Source) de.srcml.parser.ParserException: Exception occured while parsing: java.lang.NullPointerException at de.srcml.parser.java.ParserJava.parseFile(Unknown Source) at de.srcml.parser.java.ParserJava.parse(Unknown Source) at de.srcml.parser.Parser.parse(Unknown Source) at de.srcml.parser.Parser.main(Unknown Source) ---------------------------------------------------------------------- >Comment By: Raiser Frank (crashchaos) Date: 2005-12-06 10:36 Message: Logged In: YES user_id=298908 This was caused by using a StringTokenizer for the key:value pairs passed on the commandline (which would also split strings like C:\file.java). It has been fixed for all platforms. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=641278&aid=1372834&group_id=105448 |