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.
org.netbeans.modules.java.j2seproject.classpath.ClassPathProviderImpl:202 can end up in AIOOB because getType can return -1, but line 202 does cache[type] without further checking. How to reproduce (probably bad usage, but the IDE should either survive or prevent me from doing it): Create a j2se project, make a lib dir under its project root, copy some external library there, create a library definition from that folder and add that library to the project classpath. About any parser inquiry will cause the exception.
Old issue; current code does not appear to have such a problem.