[JBoss JIRA] Created: (JBIDE-7969) Empty error message from KB validator
by Max Andersen (JIRA)
Empty error message from KB validator
-------------------------------------
Key: JBIDE-7969
URL: https://issues.jboss.org/browse/JBIDE-7969
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Reporter: Max Andersen
Assignee: Alexey Kazakov
Fix For: 3.2.0.CR1
Not sure what triggered it but got about 10 of these in my error log:
The error message is empty in the error log view; only the stack trace reveals details.
org.eclipse.jface.text.BadLocationException
at org.eclipse.jface.text.ListLineTracker.getLineNumberOfOffset(ListLineTracker.java:140)
at org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTracker.java:161)
at org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:915)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineOfOffset(SynchronizableDocument.java:398)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:223)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:259)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:175)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:126)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:140)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateInjectionPoint(CDICoreValidator.java:1213)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateBean(CDICoreValidator.java:440)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateAll(CDICoreValidator.java:268)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateAll(ValidatorManager.java:116)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-8280) Content assist for JSF 2 should not add managed beans annotated with @ManagedBean when faces-config@metadata-complete="true" in WEB-INF/faces-config.xml
by Denis Golovin (JIRA)
Content assist for JSF 2 should not add managed beans annotated with @ManagedBean when faces-config@metadata-complete="true" in WEB-INF/faces-config.xml
--------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-8280
URL: https://issues.jboss.org/browse/JBIDE-8280
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JSF
Affects Versions: 3.2.0.CR1, 3.3.0.M1
Reporter: Denis Golovin
Assignee: Alexey Kazakov
Fix For: 3.3.x
According faces-config 2.0 scheme:
"Attribute : metadata-complete
The metadata-complete attribute defines whether this JavaServer Faces application is complete, or
whether the class files available to this module and packaged with this application should be examined
for annotations that specify configuration information. This attribute is only inspected on the application
configuration resource file located at "WEB-INF/faces-config.xml". The presence of this attribute on any
application configuration resource other than the one located at "WEB-INF/faces-config.xml", including any
files named using the javax.faces.CONFIG_FILES attribute, must be ignored. If metadata-complete is set
to "true", the JavaServer Faces runtime must ignore any annotations that specify configuration
information, which might be present in the class files of the application. If metadata-complete is not
specified or is set to "false", the JavaServer Faces runtime must examine the class files of the application
for annotations, as specified by the specification. If "WEB-INF/faces-config.xml" is not present, the
JavaServer Faces runtime will assume metadata-complete to be "false". The value of this attribute will
have no impact on runtime annotations such as @ResourceDependency or @ListenerFor.
Data Type : boolean
Enumerated Values :
- true
- false"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months