This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251656 - NullPointerException at org.netbeans.modules.python.project.gsf.BootClassPathImplementation.getUrls
Summary: NullPointerException at org.netbeans.modules.python.project.gsf.BootClassPath...
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 04:45 UTC by siripuramrk
Modified: 2015-05-26 04:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214625


Attachments
stacktrace (2.21 KB, text/plain)
2015-04-05 04:46 UTC, siripuramrk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description siripuramrk 2015-04-05 04:45:58 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 8

User Comments:
GUEST: after start netbeans

GUEST: I don't know

GUEST: <Please provide a description of the problem or the steps to reproduce>x

siripuramrk: sample project has an error

GUEST: Installed the Python Plugin as detailed per this video: https://www.youtube.com/watch?t=10&v=QsfnhJ-ABDc
and once installed the plugin, tried to create a Python project which causing the Bottom of the screen getting message in red color: Wrong Python Platform




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.python.project.gsf.BootClassPathImplementation.getUrls(BootClassPathImplementation.java:129)
   at org.netbeans.modules.python.project.gsf.BootClassPathImplementation.getResources(BootClassPathImplementation.java:82)
   at org.netbeans.modules.java.classpath.ProxyClassPathImplementation.getResources(ProxyClassPathImplementation.java:94)
   at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:351)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:712)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:294)
Comment 1 siripuramrk 2015-04-05 04:46:01 UTC
Created attachment 153043 [details]
stacktrace
Comment 2 Lou Dasaro 2015-04-05 05:38:51 UTC
Fixed as part of GSF to CSL conversion in Development. 
To retest, make sure you are using a recent DEVELOPMENT version of NetBeans IDE from 
http://bits.netbeans.org/download/trunk/nightly/latest/
AND with Python plugin installed from "Latest Build" update center at 
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
Comment 3 Lou Dasaro 2015-05-26 04:44:41 UTC
Correction: Please use the DEVELOPMENT UC at http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz