[JBoss JIRA] (ISPN-9682) NullPointerException when put to JCache
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9682?page=com.atlassian.jira.plugin.... ]
Katia Aresti reassigned ISPN-9682:
----------------------------------
Assignee: Katia Aresti
> NullPointerException when put to JCache
> ---------------------------------------
>
> Key: ISPN-9682
> URL: https://issues.jboss.org/browse/ISPN-9682
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 9.4.0.Final, 9.4.1.Final
> Reporter: Andrei Arkaev
> Assignee: Katia Aresti
> Priority: Blocker
>
> After upgrade from 9.4.0.RC3 to 9.4.0.Final (and 9.4.1.Final too) I have an error
> java.lang.NullPointerException: null
> at org.infinispan.functional.impl.AbstractFunctionalMap.invokeAsync(AbstractFunctionalMap.java:127)
> at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:70)
> at org.infinispan.jcache.embedded.JCache.put(JCache.java:409)
> Cache configuration
> <local-cache
> name="SomeGlobalCache"
> simple-cache="true"
> statistics="false"
> statistics-available="false">
> <transaction mode="NONE"/>
> </local-cache>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-6728) Add ability to override maxClauseCount
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-6728?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes commented on ISPN-6728:
-----------------------------------------
I can confirm that running a server task it's possible to increase the limit. Sample code and instructions are on https://github.com/gustavonalle/lucene-task.
This workaround has some issues: it needs to be done in every node of the cluster, and it does not survives restart.
> Add ability to override maxClauseCount
> ---------------------------------------
>
> Key: ISPN-6728
> URL: https://issues.jboss.org/browse/ISPN-6728
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Querying, Server
> Reporter: Van Halbert
> Assignee: Adrian Nistor
> Priority: Minor
>
> We are using the Hotrod client, and need the ability to specify or override the maxClauseCount setting, otherwise, we get the following error message:
> - org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 setting
> This will occur when there are more than 1024 "IN" conditions specified on the query builder.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9675) Hibernate local simple tutorial query hit assertion error
by Gustavo Lira (Jira)
[ https://issues.jboss.org/browse/ISPN-9675?page=com.atlassian.jira.plugin.... ]
Gustavo Lira closed ISPN-9675.
------------------------------
Duplicates ISPN-9677
> Hibernate local simple tutorial query hit assertion error
> ---------------------------------------------------------
>
> Key: ISPN-9675
> URL: https://issues.jboss.org/browse/ISPN-9675
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Affects Versions: 9.4.0.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Major
> Fix For: 9.4.2.Final
>
>
> {code}
> [INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ infinispan-simple-tutorials-hibernate-cache-local ---
> ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
> Event entity cache puts: 3 (expected 3)
> Found entity: Event{id=1, name='Caught a pokemon!', time=2018-11-05T14:03:23.155}
> Event entity cache hits: 1 (expected 1)
> Updated entity: Event{id=1, name='Caught a Snorlax!!', time=2018-11-05T14:03:23.155}
> Event entity cache hits: 1 (expected 1)
> Event entity cache puts: 1 (expected 1)
> Found entity: Event{id=1, name='Caught a Snorlax!!', time=2018-11-05T14:03:23.155}
> Event entity cache hits: 1 (expected 1)
> Found entity: Event{id=1, name='Caught a Snorlax!!', time=2018-11-05T14:03:23.155}
> Event entity cache miss: 1 (expected 1)
> Event entity cache puts: 1 (expected 1)
> Event entity cache hits: 1 (expected 1)
> Queried events: [Event{id=2, name='Hatched an egg', time=2018-11-05T14:03:23.168}, Event{id=3, name='Became a gym leader', time=2018-11-05T14:03:23.169}]
> Query cache miss: 1 (expected 1)
> Query cache put: 1 (expected 1)
> Queried events: [Event{id=2, name='Hatched an egg', time=2018-11-05T14:03:23.168}, Event{id=3, name='Became a gym leader', time=2018-11-05T14:03:23.169}]
> Event entity cache hits: 0 (expected 2)
> Exception in thread "main" java.lang.AssertionError: Expected: 2, actual: 0
> at org.infinispan.tutorial.simple.hibernate.cache.local.InfinispanHibernateCacheLocal.printfAssert(InfinispanHibernateCacheLocal.java:263)
> at org.infinispan.tutorial.simple.hibernate.cache.local.InfinispanHibernateCacheLocal.main(InfinispanHibernateCacheLocal.java:95)
> [ERROR] Command execution failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
> at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:804)
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:751)
> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:313)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month