[Jadclipse-develop] [ jadclipse-Bugs-2804230 ] Class without package causes NPE
Status: Beta
Brought to you by:
vovikg
|
From: SourceForge.net <no...@so...> - 2009-11-15 22:06:28
|
Bugs item #2804230, was opened at 2009-06-10 15:11 Message generated for change (Settings changed) made by jgyger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=2804230&group_id=40205 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: None Group: None Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Johann Gyger (jgyger) Summary: Class without package causes NPE Initial Comment: JadClipse 3.4, when I open class file that is in package root folder, I get NPE because net.sf.jdtdecompiler.jad.JadDecompiler.extractPackagePath(String) returns null and new File(rootPath, null) results in NPE, you should use rootPath in this case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=2804230&group_id=40205 |