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 250951 - AssertionError: default
Summary: AssertionError: default
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 04:44 UTC by Diver
Modified: 2015-09-12 16:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215891


Attachments
stacktrace (2.70 KB, text/plain)
2015-03-06 04:44 UTC, Diver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diver 2015-03-06 04:44:09 UTC
Build: NetBeans IDE Dev (Build 201503040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
Diver: Compiling javafx example WebViewBrowser




Stacktrace: 
java.lang.AssertionError: default
   at org.netbeans.modules.python.project.gsf.BootClassPathImplementation.getUrls(BootClassPathImplementation.java:128)
   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:369)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:741)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.getRootPathIds(PathRegistry.java:605)
Comment 1 Diver 2015-03-06 04:44:11 UTC
Created attachment 152425 [details]
stacktrace
Comment 2 Lou Dasaro 2015-03-06 08:03:48 UTC
Reporter: Did you install Python support from the Development Update Center in NetBeans IDE? 

When the exception occurred, was a Python Project open at the time?
Comment 3 Lou Dasaro 2015-03-06 08:50:01 UTC
Reporter: Suggest you uninstall Python support for the moment. We are diligently working to improve it for NetBeans 8.1, but it's not ready yet.

At the time of this writing, the only _working_ Python support can be had in NetBeans 8.0.2, and using ONLY using the instructions at this link: https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81

I will work this ticket and your use case, and update it when the anomaly has been corrected.
Comment 4 Lou Dasaro 2015-05-24 20:51:13 UTC
Unable to replicate using NetBeans IDE Dev 201505170001
Likely fixed as a result of the GSF-to-CSL port, based on your stacktrace. Therefore marking as FIXED.
Comment 5 Lou Dasaro 2015-09-12 16:23:52 UTC
Unfortunately, it would appear you attempted to use the OLD Python plugin (version 0.107) with NetBeans IDE 8.1, Beta or from Development. Use of the OLD Python plugin is NOT supported.

Please make sure you install the Python plugin from the DEVELOPMENT Update Center, or at least install version 0.150812
Thank you from the folks at nbpython.org