This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 221722 - NPE in AttributeValidatingStrategy found in Error Log
Summary: NPE in AttributeValidatingStrategy found in Error Log
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jsf inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 14:45 EST by Gerry Kessler CLA
Modified: 2008-03-10 16:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2008-03-06 14:45:19 EST
Using I20080305091544

After creating a simple jsp page with a couple of JSF HTML tags in a new project and workspace and then validating, the page yielded 2 identical errors in the log.   This may be a first time only thing.   I was not able to reproduce this again, even after restarting the workspace.  The JSF validation ran successfully.


java.lang.NullPointerException
at org.eclipse.jst.jsf.validation.internal.strategy.AttributeValidatingStrategy.validate(AttributeValidatingStrategy.java:90)
at org.eclipse.jst.jsf.validation.internal.XMLViewDefnValidator.validateTag(XMLViewDefnValidator.java:87)
at org.eclipse.jst.jsf.validation.internal.XMLViewDefnValidator.validateRegions(XMLViewDefnValidator.java:163)
at org.eclipse.jst.jsf.validation.internal.XMLViewDefnValidator.validateView(XMLViewDefnValidator.java:152)
at org.eclipse.jst.jsf.ui.internal.validation.JSFValidator.validate(JSFValidator.java:92)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:339)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:246)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:96)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:228)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:183)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:252)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:633)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Gerry Kessler CLA 2008-03-06 15:55:04 EST
Found the steps to reproduce:

0) display error log view
1) create JSP page and drop commandButton
2) in source pane, start typing "value" attribute

Note will get error log entry for every keystroke if you type slow enough
Comment 2 Gerry Kessler CLA 2008-03-10 16:35:57 EDT
fixed 3/10/08