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 251660 - NullPointerException at org.netbeans.modules.web.project.Utils.isLibraryDirectoryBased
Summary: NullPointerException at org.netbeans.modules.web.project.Utils.isLibraryDirec...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 09:37 UTC by pratikbansal15
Modified: 2015-05-23 08:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187960


Attachments
stacktrace (3.98 KB, text/plain)
2015-04-05 09:37 UTC, pratikbansal15
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pratikbansal15 2015-04-05 09:37:00 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: I am investigating why a project continues looking for lib jstl11

pratikbansal15: hiihiii

GUEST: struts2 pluhin

GUEST: Error occurred when select a PrimeFaces lib in "compile-time Libraries window:  Project Properties -> Compile -> Compile-time Libraries

GUEST: dasd




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.project.Utils.isLibraryDirectoryBased(Utils.java:466)
   at org.netbeans.modules.web.project.ui.customizer.ClassPathTableModel.setValueAt(ClassPathTableModel.java:119)
   at javax.swing.JTable.setValueAt(JTable.java:2741)
   at javax.swing.JTable.editingStopped(JTable.java:4723)
   at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
   at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:368)
Comment 1 pratikbansal15 2015-04-05 09:37:02 UTC
Created attachment 153045 [details]
stacktrace
Comment 2 Tomas Mysik 2015-05-22 07:03:44 UTC
Seems to me that the library is corrupted since it does not have any classpath. Should be fixed now, please verify if possible.

Thanks.

http://hg.netbeans.org/web-main/rev/faeae9bd3a30
Comment 3 Quality Engineering 2015-05-23 08:00:59 UTC
Integrated into 'main-silver', will be available in build *201505230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/faeae9bd3a30
User: Tomas Mysik <tmysik@netbeans.org>
Log: #251660 - NullPointerException at org.netbeans.modules.web.project.Utils.isLibraryDirectoryBased