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 129498 - NullPointerException at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run
Summary: NullPointerException at org.netbeans.modules.web.core.jsploader.TagLibParseSu...
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
: 131900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-07 06:11 UTC by ozguy
Modified: 2008-04-07 14:29 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 19692


Attachments
stacktrace (317 bytes, text/plain)
2008-03-07 06:11 UTC, ozguy
Details
stacktrace (317 bytes, text/plain)
2008-03-07 10:54 UTC, facilityderek
Details
stacktrace (317 bytes, text/plain)
2008-03-07 20:20 UTC, _ alexlamsl
Details
stacktrace (317 bytes, text/plain)
2008-03-07 20:24 UTC, _ alexlamsl
Details
stacktrace (317 bytes, text/plain)
2008-03-08 03:30 UTC, deepakjacob
Details
stacktrace (317 bytes, text/plain)
2008-03-10 18:33 UTC, javydreamercsw
Details
stacktrace (317 bytes, text/plain)
2008-03-11 08:50 UTC, m1k0
Details
stacktrace (317 bytes, text/plain)
2008-03-13 22:52 UTC, spaquet
Details
stacktrace (317 bytes, text/plain)
2008-03-14 11:57 UTC, spaquet
Details
stacktrace (317 bytes, text/plain)
2008-03-24 07:58 UTC, shivakottana
Details
stacktrace (317 bytes, text/plain)
2008-03-25 14:22 UTC, adam_myatt
Details
stacktrace (317 bytes, text/plain)
2008-03-26 03:07 UTC, jimyjoshi
Details
stacktrace (317 bytes, text/plain)
2008-03-26 18:32 UTC, jimyjoshi
Details
stacktrace (317 bytes, text/plain)
2008-04-02 15:39 UTC, _ bernihuber
Details
final patch (1.88 KB, text/plain)
2008-04-05 09:09 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ozguy 2008-03-07 06:11:36 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 ozguy 2008-03-07 06:11:44 UTC
Created attachment 57938 [details]
stacktrace
Comment 2 facilityderek 2008-03-07 10:54:19 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows 2000, 5.0, x86

User Comments: 
Reopening a Web App project
Comment 3 facilityderek 2008-03-07 10:54:22 UTC
Created attachment 57965 [details]
stacktrace
Comment 4 _ alexlamsl 2008-03-07 20:20:26 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2000, 5.0, x86

User Comments: 
opening a JSP file
Comment 5 _ alexlamsl 2008-03-07 20:20:29 UTC
Created attachment 57999 [details]
stacktrace
Comment 6 _ alexlamsl 2008-03-07 20:24:30 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2000, 5.0, x86

User Comments: 
opening a JSP file
Comment 7 _ alexlamsl 2008-03-07 20:24:34 UTC
Created attachment 58001 [details]
stacktrace
Comment 8 Exceptions Reporter 2008-03-07 23:47:23 UTC
This issue has already 5 duplicates 
Comment 9 deepakjacob 2008-03-08 03:30:29 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 11.0-b11
OS: Windows XP, 5.1, x86

User Comments: 
Comment 10 deepakjacob 2008-03-08 03:30:33 UTC
Created attachment 58011 [details]
stacktrace
Comment 11 javydreamercsw 2008-03-10 18:33:51 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
Comment 12 javydreamercsw 2008-03-10 18:33:54 UTC
Created attachment 58088 [details]
stacktrace
Comment 13 m1k0 2008-03-11 08:50:43 UTC
Build: NetBeans IDE 6.0.1 (Build 200801291616)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-gentoo-r9, i386

User Comments: 
Comment 14 m1k0 2008-03-11 08:50:48 UTC
Created attachment 58116 [details]
stacktrace
Comment 15 spaquet 2008-03-13 22:52:31 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-121
OS: Mac OS X, 10.4.11, i386

User Comments: 
Relaunching Netbeans with a single Web Maven Project.
Using JSF + icefaces + hibernate 3
Comment 16 spaquet 2008-03-13 22:52:34 UTC
Created attachment 58357 [details]
stacktrace
Comment 17 spaquet 2008-03-14 11:57:42 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-121
OS: Mac OS X, 10.4.11, i386

User Comments: 
Just modifying a JPS page in JSF with Icefaces 1.6.2 support.
IceFaces jar are provided by Maven (compiled scope) and have been locally uploaded.
Comment 18 spaquet 2008-03-14 11:57:45 UTC
Created attachment 58380 [details]
stacktrace
Comment 19 shivakottana 2008-03-24 07:58:44 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_09-b03
OS: Windows XP, 5.1, x86

User Comments: 
Comment 20 shivakottana 2008-03-24 07:58:47 UTC
Created attachment 58907 [details]
stacktrace
Comment 21 adam_myatt 2008-03-25 14:22:34 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
in projects window, right-clicked a project, selected CVS  > revert modifications. modifications were reverted in several files. after end of operation got error
Comment 22 adam_myatt 2008-03-25 14:22:37 UTC
Created attachment 59018 [details]
stacktrace
Comment 23 jimyjoshi 2008-03-26 03:07:32 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Comment 24 jimyjoshi 2008-03-26 03:07:35 UTC
Created attachment 59097 [details]
stacktrace
Comment 25 jimyjoshi 2008-03-26 18:32:48 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Comment 26 jimyjoshi 2008-03-26 18:32:51 UTC
Created attachment 59158 [details]
stacktrace
Comment 27 _ bernihuber 2008-04-02 15:39:41 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 
Comment 28 _ bernihuber 2008-04-02 15:39:45 UTC
Created attachment 59557 [details]
stacktrace
Comment 29 Petr Hejl 2008-04-04 15:44:39 UTC
Now I am able to reproduce.

1) create web project with struts
2) edit WEB-INF/web.xml to contain just x for example (completely invalid)
3) edit welcomeStruts.jsp taglib tags to be:

<%@ taglib uri="tags-bean.tld" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

I'm not sure if the last step is necessary. On ide start with this page open (or when opening it after restart) NPE or
assertion will appear.
Comment 30 Petr Hejl 2008-04-04 15:45:17 UTC
Fixed in main repo - 1e6ced5e1c9c.
Comment 31 Petr Hejl 2008-04-04 15:47:20 UTC
QA, is this candidate for 61_HR_FIX?
Comment 32 Martin Schovanek 2008-04-04 15:59:53 UTC
Approved for release61 integration by QE.
Comment 33 Petr Hejl 2008-04-04 16:15:36 UTC
*** Issue 131900 has been marked as a duplicate of this issue. ***
Comment 34 Petr Hejl 2008-04-04 16:26:55 UTC
I suppose this is P1 then...
Comment 35 Petr Hejl 2008-04-05 09:08:44 UTC
Attaching the final patch pushed to main as 7f50691525dc. After short discussion with Jesse we decided to use this old
and proven approach for 61.

QE please verify in trunk build.
Comment 36 Petr Hejl 2008-04-05 09:09:30 UTC
Created attachment 59725 [details]
final patch
Comment 37 Martin Schovanek 2008-04-07 09:51:40 UTC
Verified by QE in the trunk build #200804060002. Please transplant into release61.
Comment 38 Petr Hejl 2008-04-07 10:01:15 UTC
Fixed in release clone:

6807e8b7bc35
c533d0a79357
Comment 39 Martin Schovanek 2008-04-07 12:54:59 UTC
Verified at release61.