[JBoss JIRA] Created: (JBDS-1642) RichFaces based JSF Portlet doesn't deploy correctly
by Jan Jamrich (JIRA)
RichFaces based JSF Portlet doesn't deploy correctly
----------------------------------------------------
Key: JBDS-1642
URL: https://issues.jboss.org/browse/JBDS-1642
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Affects Versions: 4.0.0.GA
Environment: JBoss EPP 5.1.1.DEV1, JBDS-4.0.0.GA
Reporter: Jan Jamrich
When create JSF portlet and add richfaces into pages (declare namespace and write some richfaces tags into JSP page), an error appear on deploy.
Its caused by missing RichFaces libraries in deployed WAR file (discovered by exporting to WAR and checking for basic dependencies) even I have checked option "Add/Change Richfaces Libraries" in "JBoss JSF Portlet Capabilities" dialog which appear after added "JSF capabilities" in "Project Facets" project's properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9218) JPA: Null text range in HibernateQuery validation process
by Dmitry Geraskov (JIRA)
JPA: Null text range in HibernateQuery validation process
---------------------------------------------------------
Key: JBIDE-9218
URL: https://issues.jboss.org/browse/JBIDE-9218
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.3.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.3.0.M2, 3.3.0.M3
Test case:
create an entity with 2 queries:
@javax.persistence.NamedQuery(name="nn", query = "SELECT qq.id3 FROM JustData qq")
@org.hibernate.annotations.NamedQuery(name = "nn", query = "")
Observe the exception:
java.lang.NullPointerException: Null text range for message ID: QUERY_STATEMENT_UNDEFINED
at org.eclipse.jpt.jpa.core.internal.validation.DefaultJpaValidationMessages.buildMessage(DefaultJpaValidationMessages.java:52)
at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaQuery.validateQuery(AbstractJavaQuery.java:236)
at org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaQuery.validate(AbstractJavaQuery.java:216)
at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validate(AbstractPersistenceUnit.java:2433)
at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validateQueries(AbstractPersistenceUnit.java:2398)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9216) JPA: Null text range in GenericGenerator validation process
by Dmitry Geraskov (JIRA)
JPA: Null text range in GenericGenerator validation process
-----------------------------------------------------------
Key: JBIDE-9216
URL: https://issues.jboss.org/browse/JBIDE-9216
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.3.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.3.0.M3
Test Case:
Create entity with 2 generator annotations: @GenericGenerator, @SequesnceGenerator with the same name
Observe exception:
java.lang.NullPointerException: Null text range for message ID: GENERATOR_DUPLICATE_NAME
at org.eclipse.jpt.jpa.core.internal.validation.DefaultJpaValidationMessages.buildMessage(DefaultJpaValidationMessages.java:52)
at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.checkForDuplicateGenerators(AbstractPersistenceUnit.java:2362)
at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validateGenerators(AbstractPersistenceUnit.java:2350)
at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validate(AbstractPersistenceUnit.java:2232)
at org.jboss.tools.hibernate.jpt.core.internal.context.HibernatePersistenceUnit.validate(HibernatePersistenceUnit.java:174)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months