[JBoss JIRA] (HIBERNATE-154) SubqueryExpression throws NullpointerException in toSqlString(...) where getLoadQueryInfluencers() is getting null. in hibernate 3.6.9 version.
by Steve Ebersole (JIRA)
[ https://issues.jboss.org/browse/HIBERNATE-154?page=com.atlassian.jira.plu... ]
Steve Ebersole commented on HIBERNATE-154:
------------------------------------------
I don't know if "we" did ;) I know I did not look at this.
# 3.6 has not been supported for roughly 6 years
# This Jira is for reporting bugs in WildFly's integration with Hibernate (that's why the project is called "Hibernate Integration", not "Hibernate"). Use Hibernate's Jira (https://hibernate.atlassian.net/browse/HHH) for reporting problems with Hibernate.
So I suggest you:
# try to reproduce this using a supported release (5.x), and
# if you can reproduce, open a ticket in the proper Jira (linked above)
> SubqueryExpression throws NullpointerException in toSqlString(...) where getLoadQueryInfluencers() is getting null. in hibernate 3.6.9 version.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIBERNATE-154
> URL: https://issues.jboss.org/browse/HIBERNATE-154
> Project: Hibernate Integration
> Issue Type: Bug
> Environment: Hibernate 3.6.9.Final
> Reporter: Santhakumar Appandairaj
> Assignee: Steve Ebersole
> Priority: Blocker
>
> We are getting below exception when I try to list some data.
> I have also tried debugging where its exactly occurring we are getting issue in the LoadqueryInflucers object is getting as null
> ~_public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException {
> SessionFactoryImplementor factory = criteriaQuery.getFactory();
> OuterJoinLoadable persister = (OuterJoinLoadable) factory
> .getEntityPersister(this.criteriaImpl.getEntityOrClassName());
> createAndSetInnerQuery(criteriaQuery, factory);
> this.criteriaImpl.setSession(deriveRootSession(criteria));
> CriteriaJoinWalker walker = new CriteriaJoinWalker(persister, this.innerQuery, factory, this.criteriaImpl,
> this.criteriaImpl.getEntityOrClassName(), this.criteriaImpl.getSession().getLoadQueryInfluencers(),
> this.innerQuery.getRootSQLALias());_~
> *Exception*
> Caused by: java.lang.NullPointerException
> at org.hibernate.criterion.SubqueryExpression.toSqlString(SubqueryExpression.java:72)
> at org.hibernate.criterion.LogicalExpression.toSqlString(LogicalExpression.java:62)
> at org.hibernate.criterion.Junction.toSqlString(Junction.java:82)
> at org.hibernate.loader.criteria.CriteriaQueryTranslator.getWhereCondition(CriteriaQueryTranslator.java:380)
> at org.hibernate.loader.criteria.CriteriaJoinWalker.<init>(CriteriaJoinWalker.java:102)
> at org.hibernate.loader.criteria.CriteriaJoinWalker.<init>(CriteriaJoinWalker.java:82)
> at org.hibernate.loader.criteria.CriteriaLoader.<init>(CriteriaLoader.java:92)
> Can any of you please check and let me know.
> We are trying to upgrade hibernate and other 3rd party jar upgrade
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ELY-1084) CS tool, There is success message when we try to remove non-existents entry from storage file.
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/ELY-1084?page=com.atlassian.jira.plugin.s... ]
Michal Petrov reassigned ELY-1084:
----------------------------------
Assignee: Michal Petrov (was: Darran Lofthouse)
> CS tool, There is success message when we try to remove non-existents entry from storage file.
> ----------------------------------------------------------------------------------------------
>
> Key: ELY-1084
> URL: https://issues.jboss.org/browse/ELY-1084
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Reporter: Hynek Švábek
> Assignee: Michal Petrov
>
> When we try remove non-existent alias entry from credential store storage file then we get success message.
> There is expected error message.
> *How to reproduce:*
> Create credential store storage file and add there alias
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> {code}
> We run command for remove alias from storage and in both cases we get success message:
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFLY-8630) Tests broken as part of WildFly Core 3.0.0.Beta16
by Martin Švehla (JIRA)
[ https://issues.jboss.org/browse/WFLY-8630?page=com.atlassian.jira.plugin.... ]
Martin Švehla edited comment on WFLY-8630 at 4/24/17 6:45 AM:
--------------------------------------------------------------
[~kabirkhan] I'll create JBEAP clone so we can process this during DR17 or later, depending which version of Core lands in DR17
was (Author: msvehla):
[~kabirkhan] I'll create JBEAP clone so we can process this during DR17
> Tests broken as part of WildFly Core 3.0.0.Beta16
> -------------------------------------------------
>
> Key: WFLY-8630
> URL: https://issues.jboss.org/browse/WFLY-8630
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Brian Stansberry
> Assignee: Darran Lofthouse
>
> Tests shown here are going to be ignored or otherwise modified in order to get the core 3.0.0.Beta16 release integrated.
> org.jboss.as.test.integration.domain.elytron.SlaveHostControllerElytronAuthenticationTestCase.testSlaveRegistration
> org.jboss.as.test.integration.ejb.container.interceptor.security.SwitchIdentityTestCase.testClientLoginModule
> org.jboss.as.test.integration.ejb.container.interceptor.security.api.SwitchIdentityTestCase.testClientLoginModule
> org.jboss.as.test.integration.security.perimeter.CLISecurityTestCase.testConnect
> Failure examples: http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=113878&buildTy...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFLY-8633) Tests broken as part of WildFly Core 3.0.0.Beta16
by Martin Švehla (JIRA)
Martin Švehla created WFLY-8633:
-----------------------------------
Summary: Tests broken as part of WildFly Core 3.0.0.Beta16
Key: WFLY-8633
URL: https://issues.jboss.org/browse/WFLY-8633
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Martin Švehla
Assignee: Darran Lofthouse
Tests shown here are going to be ignored or otherwise modified in order to get the core 3.0.0.Beta16 release integrated.
org.jboss.as.test.integration.domain.elytron.SlaveHostControllerElytronAuthenticationTestCase.testSlaveRegistration
org.jboss.as.test.integration.ejb.container.interceptor.security.SwitchIdentityTestCase.testClientLoginModule
org.jboss.as.test.integration.ejb.container.interceptor.security.api.SwitchIdentityTestCase.testClientLoginModule
org.jboss.as.test.integration.security.perimeter.CLISecurityTestCase.testConnect
Failure examples: http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=113878&buildTy...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBJCA-1346) IronJacamar isn't compatible with picketbox version used in WildFly
by Stefano Maestri (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1346?page=com.atlassian.jira.plugin... ]
Stefano Maestri resolved JBJCA-1346.
------------------------------------
Release Notes Text: Included in IJ 1.4.4
Resolution: Done
> IronJacamar isn't compatible with picketbox version used in WildFly
> -------------------------------------------------------------------
>
> Key: JBJCA-1346
> URL: https://issues.jboss.org/browse/JBJCA-1346
> Project: IronJacamar
> Issue Type: Bug
> Components: Build
> Affects Versions: WildFly/IronJacamar 1.4.2.Final
> Reporter: Martin Simka
> Assignee: Stefano Maestri
>
> Ironjacamar is compiled with Picketbox 4.0.19.Final and WildFly comes with 5.0.1.Final. These versions are not binary compatible, I'm getting
> {noformat}
> Caused by: java.lang.NoSuchMethodError: org.jboss.security.identity.RoleGroup.getRoles()Ljava/util/List;
> at org.jboss.jca.core.security.picketbox.PicketBoxSecurityContext.getRoles(PicketBoxSecurityContext.java:76)
> at org.jboss.as.test.integration.jca.security.WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase$MyWork.run(WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase.java:304)
> at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)
> ... 6 more
> {noformat}
> signature changed in this case from {{List<Role> getRoles()}} to {{Collection<Role> getRoles()}}
> I tried to compile IJ with 5.0.1 and my test then works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years