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 191107 - [70cat] NullPointerException at org.netbeans.modules.web.el.ELTypeUtilities$3.run
Summary: [70cat] NullPointerException at org.netbeans.modules.web.el.ELTypeUtilities$3...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Editing infrastructure (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 22:04 UTC by marvin.charles
Modified: 2010-11-27 06:23 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172959


Attachments
stacktrace (6.07 KB, text/plain)
2010-10-18 22:04 UTC, marvin.charles
Details
stacktrace (5.05 KB, text/plain)
2010-10-19 21:08 UTC, Exceptions Reporter
Details
stacktrace (5.94 KB, text/plain)
2010-10-26 21:47 UTC, michbarsinai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marvin.charles 2010-10-18 22:04:45 UTC
This issue was reported manually by marvin.charles.
It already has 4 duplicates 


Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
padreati: edit jsf facelets files

averri: Opening a XHTML file.

GUEST: working in jsf 2 xhtml files




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.el.ELTypeUtilities$3.run(ELTypeUtilities.java:173)
   at org.netbeans.modules.web.el.ELTypeUtilities$3.run(ELTypeUtilities.java:170)
   at org.netbeans.api.java.source.JavaSource$MimeTask.run(JavaSource.java:550)
   at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:378)
   at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:362)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:199)
Comment 1 marvin.charles 2010-10-18 22:04:52 UTC
Created attachment 102464 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-10-19 21:08:17 UTC
Created attachment 102497 [details]
stacktrace
Comment 3 michbarsinai 2010-10-26 21:47:47 UTC
Created attachment 102659 [details]
stacktrace

Auto-complete on a JSF page
Comment 4 mithridates 2010-11-18 09:36:53 UTC
Given Exception is thrown often in rather complex webproject.
Alas, i did not find a way to securely reproduce it.
Exception is thrown when:
- opening a page in editor
- closing a page in editor
- forcing cc (ctrl-space)
Exeption is often thrown 3 times in series.

It seems that exception is thrown especially after opening a page and forcing cc while the parsing hasn't ended (while one cpu-core is at ~100%). The bigger the page the higher the chance to get the error. Most of our pages are ~200-300 lines.

BTW: Project uses CDI-Beans instead of JSF-Managed-Beans. 

I'll be glad to to provide any further information you might need to nail this thing down. ;-)

Build 201011180001
----
Added [7cat] to summary and raised priority to p2 as this is a very annoying one, which makes current builds nearly unusable with complex pages/projects.
Comment 5 Marek Fukala 2010-11-26 12:33:24 UTC
fixed in web-main#1505716ce210
Comment 6 Quality Engineering 2010-11-27 06:23:52 UTC
Integrated into 'main-golden', will be available in build *201011270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1505716ce210
User: Marek Fukala <mfukala@netbeans.org>
Log: #191107 -  [70cat] NullPointerException at org.netbeans.modules.web.el.ELTypeUtilities$3.run