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.
Summary: | NullPointerException at org.netbeans.modules.web.core.syntax.JSPProcessor.getImportsFromJspParser | ||
---|---|---|---|
Product: | javaee | Reporter: | mjreged <mjreged> |
Component: | JSP | Assignee: | Tomasz Slota <tslota> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | deyringer, doctorlux, eventlistener, ezemontes, fkjaekel, im_dan, jpleed3, pedalshoe, rdelaplante, rptmaestro, stenlee, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=151988 | ||
Issue Type: | DEFECT | Exception Reporter: | 151988 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
mjreged
2009-06-09 22:48:34 UTC
Created attachment 83369 [details]
stacktrace
This issue already has 12 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=151988 This issue already has 14 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=151988 Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: Editing facelets .xhtml pages? Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.syntax.JSPProcessor.getImportsFromJspParser(JSPProcessor.java:319) at org.netbeans.modules.web.core.syntax.JSPProcessor.createImplicitImportStatements(JSPProcessor.java:295) at org.netbeans.modules.web.core.syntax.SimplifiedJspServlet.renderProcess(SimplifiedJspServlet.java:201) at org.netbeans.modules.web.core.syntax.JSPProcessor$2.run(JSPProcessor.java:272) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1371) at org.netbeans.modules.web.core.syntax.JSPProcessor.process(JSPProcessor.java:268) Created attachment 83510 [details]
stacktrace
Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: editing facelets files? Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.syntax.JSPProcessor.getImportsFromJspParser(JSPProcessor.java:319) at org.netbeans.modules.web.core.syntax.JSPProcessor.createImplicitImportStatements(JSPProcessor.java:295) at org.netbeans.modules.web.core.syntax.SimplifiedJspServlet.renderProcess(SimplifiedJspServlet.java:201) at org.netbeans.modules.web.core.syntax.JSPProcessor$2.run(JSPProcessor.java:272) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1371) at org.netbeans.modules.web.core.syntax.JSPProcessor.process(JSPProcessor.java:268) Created attachment 83511 [details]
stacktrace
Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: I'm editing facelets files in 6.7 RC2. The code completiong for facelets and jsf tags is not working and when I make changes to the page I keep getting an exception. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j"> Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.syntax.JSPProcessor.getImportsFromJspParser(JSPProcessor.java:319) at org.netbeans.modules.web.core.syntax.JSPProcessor.createImplicitImportStatements(JSPProcessor.java:295) at org.netbeans.modules.web.core.syntax.SimplifiedJspServlet.renderProcess(SimplifiedJspServlet.java:201) at org.netbeans.modules.web.core.syntax.JSPProcessor$2.run(JSPProcessor.java:272) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1371) at org.netbeans.modules.web.core.syntax.JSPProcessor.process(JSPProcessor.java:268) Created attachment 83512 [details]
stacktrace
corrected fix: http://hg.netbeans.org/web-main/rev/7eb707a6da05 Integrated into 'main-golden', will be available in build *200906230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7eb707a6da05 User: Tomasz Slota <tslota@netbeans.org> Log: #166817: NPE @ JSPProcessor.getImportsFromJspParser (corrected fix) Can't reproduce in the latest trunk build for .xhtml pages. Can't this fix be sent down through the updater? The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/94e1f71ef571 the fix will be accessible through the updater next week verified NetBeans IDE 6.7.1 RC (Build 200907150227) |