[JBoss JIRA] (DROOLS-3716) drools-constraint-parser module cannot be built with JDK 11
by Tibor Zimányi (Jira)
Tibor Zimányi created DROOLS-3716:
-------------------------------------
Summary: drools-constraint-parser module cannot be built with JDK 11
Key: DROOLS-3716
URL: https://issues.jboss.org/browse/DROOLS-3716
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.18.0.Final
Reporter: Tibor Zimányi
Assignee: Tibor Zimányi
When building drools-constraint-parser with JDK 11, it fails on compilation errors, not having annotation classes on classpath.
This should be added to the dependencies list of the module:
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (DROOLS-3715) Zipkiemodule nullpointerexception
by Łukasz Szmolke (Jira)
Łukasz Szmolke created DROOLS-3715:
--------------------------------------
Summary: Zipkiemodule nullpointerexception
Key: DROOLS-3715
URL: https://issues.jboss.org/browse/DROOLS-3715
Project: Drools
Issue Type: Bug
Affects Versions: 7.17.0.Final, 7.16.0.Final
Reporter: Łukasz Szmolke
Assignee: Mario Fusco
o During ZipKieModule loading in “org.drools.compiler.kie.builder.impl.ZipKieModule:142” nullpointerexception is thrown:
urlPath = urlPath.substring( urlPath.lastIndexOf( '!' ) + 1 );
ArrayList<ZipEntry> entries = new ArrayList<>();
// read jar file from uber-jar
InputStream in = this.getClass().getResourceAsStream(urlPath); // nullpointerexception
For example full UrlPath on windows to internal .jar is:
C:\Users\xbbnv0c\IdeaProjects\ais-data-exchange\data-exchange-app\target\data-exchange-app-1.0.1-SNAPSHOT.jar!\BOOT-INF\lib\data-exchange-brms-1.0.1-SNAPSHOT.jar
So the result of this first line will be:
\BOOT-INF\lib\data-exchange-brms-1.0.1-SNAPSHOT.jar
It will be perfect, but during accessing internal resource file separator should be “/” not “\”. So InputStream in = null.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11013) Hash encoding Exception when using @DatabaseIdentityStoreDefinition
by Martin Choma (Jira)
[ https://issues.jboss.org/browse/WFLY-11013?page=com.atlassian.jira.plugin... ]
Martin Choma commented on WFLY-11013:
-------------------------------------
[~f_marchioni] have you resolve this? Can we close the ticket?
> Hash encoding Exception when using @DatabaseIdentityStoreDefinition
> -------------------------------------------------------------------
>
> Key: WFLY-11013
> URL: https://issues.jboss.org/browse/WFLY-11013
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 14.0.0.Final
> Environment: WildFly 14. Generic Linux. JDK 8/9
> Reporter: Francesco Marchioni
> Assignee: Darran Lofthouse
> Priority: Major
> Fix For: 17.0.0.Beta1
>
> Attachments: javaee8-secure-servlet.zip
>
>
> When deploying one application using @DatabaseIdentityStoreDefinition, upon successful login, the following exception is thrown
> {code:java}
> java.lang.IllegalArgumentException: Bad hash encoding
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl$EncodedPasswordHash.decode(Pbkdf2PasswordHashImpl.java:209)
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl$EncodedPasswordHash.<init>(Pbkdf2PasswordHashImpl.java:191)
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl.verify(Pbkdf2PasswordHashImpl.java:147)
> at org.glassfish.soteria.identitystores.DatabaseIdentityStore.validate(DatabaseIdentityStore.java:121)
> at org.glassfish.soteria.identitystores.DatabaseIdentityStore.validate(DatabaseIdentityStore.java:101)
> at org.jboss.weldx.security.enterprise.identitystore.IdentityStore$635317201$Proxy$_$$_WeldClientProxy.validate(Unknown Source)
> at org.glassfish.soteria.cdi.DefaultIdentityStoreHandler.validate(DefaultIdentityStoreHandler.java:97)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months