[JBoss JIRA] (ISPN-12148) Hibernate-cache NullPointerException in CacheMgmtInterceptor
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12148?page=com.atlassian.jira.plugi... ]
Dan Berindei commented on ISPN-12148:
-------------------------------------
The return value can be null when the lock acquisition fails, because of the {{FAIL_SILENTLY}} flag.
> Hibernate-cache NullPointerException in CacheMgmtInterceptor
> ------------------------------------------------------------
>
> Key: ISPN-12148
> URL: https://issues.redhat.com/browse/ISPN-12148
> Project: Infinispan
> Issue Type: Bug
> Components: Hibernate Cache
> Affects Versions: 11.0.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.0.0.Dev01
>
>
> There is a mismatch between the {{command.hasAnyFlag(FlagBitSets.SKIP_STATISTICS)}} check in {{CacheMgmtInterceptor}} and the {{Param.StatisticsMode.isSkip(command.getParams())}} check in {{CallInterceptor}}, causing the return value to be {{null}} when {{CacheMgmtInterceptor}} expects a {{StatisticsEnvelope}} instance.
>
> {noformat}
> 17:02:05,601 ERROR (Executor-2:[]) [InvocationContextInterceptor] ISPN000136: Error executing command ReadWriteKeyCommand on Cache 'org.infinispan.test.hibernate.cache.commons.functional.entities.Item', writing keys [7]
> java.lang.NullPointerException: null
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.lambda$updateStatisticsReadWrite$10(CacheMgmtInterceptor.java:372) ~[classes/:?]
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) ~[classes/:?]
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStatisticsReadWrite(CacheMgmtInterceptor.java:368) ~[classes/:?]
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitReadWriteKeyCommand(CacheMgmtInterceptor.java:396) ~[classes/:?]
> at org.infinispan.commands.functional.ReadWriteKeyCommand.acceptVisitor(ReadWriteKeyCommand.java:91) ~[classes/:?]
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) ~[classes/:?]
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) ~[classes/:?]
> at org.infinispan.interceptors.DDAsyncInterceptor.visitReadWriteKeyCommand(DDAsyncInterceptor.java:200) ~[classes/:?]
> at org.infinispan.commands.functional.ReadWriteKeyCommand.acceptVisitor(ReadWriteKeyCommand.java:91) ~[classes/:?]
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) ~[classes/:?]
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) ~[classes/:?]
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) ~[classes/:?]
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) ~[classes/:?]
> at org.infinispan.interceptors.DDAsyncInterceptor.visitReadWriteKeyCommand(DDAsyncInterceptor.java:200) ~[classes/:?]
> at org.infinispan.commands.functional.ReadWriteKeyCommand.acceptVisitor(ReadWriteKeyCommand.java:91) ~[classes/:?]
> at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) ~[classes/:?]
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:226) ~[classes/:?]
> at org.infinispan.functional.impl.AbstractFunctionalMap.invokeAsync(AbstractFunctionalMap.java:131) ~[classes/:?]
> at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56) ~[classes/:?]
> at org.infinispan.hibernate.cache.commons.access.NonStrictAccessDelegate.putFromLoad(NonStrictAccessDelegate.java:118) ~[classes/:?]
> at org.infinispan.hibernate.cache.v53.impl.ReadOnlyEntityDataAccess.putFromLoad(ReadOnlyEntityDataAccess.java:30) ~[classes/:?]
> at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:254) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:160) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.performTwoPhaseLoad(AbstractRowReader.java:252) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.finishUp(AbstractRowReader.java:215) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.loader.plan.exec.process.internal.ResultSetProcessorImpl.extractResults(ResultSetProcessorImpl.java:133) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:107) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java:188) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4289) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:597) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:565) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:226) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:122) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:93) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.internal.SessionImpl.fireLoadNoChecks(SessionImpl.java:1277) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.internal.SessionImpl.immediateLoad(SessionImpl.java:1119) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:178) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:309) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor.intercept(ByteBuddyInterceptor.java:45) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.hibernate.proxy.ProxyConfiguration$InterceptorDispatcher.intercept(ProxyConfiguration.java:95) ~[hibernate-core-5.3.17.Final.jar:5.3.17.Final]
> at org.infinispan.test.hibernate.cache.commons.functional.entities.Item$HibernateProxy$vC8GnuyS.getName(Unknown Source) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.functional.AbstractNonInvalidationTest.lambda$removeFlushWait$2(AbstractNonInvalidationTest.java:127) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.util.TxUtil.withResourceLocalTx(TxUtil.java:105) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.util.TxUtil.lambda$withTxSessionApply$5(TxUtil.java:56) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.util.TxUtil.withSessionApply(TxUtil.java:72) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.util.TxUtil.withTxSessionApply(TxUtil.java:56) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.functional.SingleNodeTest.withTxSessionApply(SingleNodeTest.java:43) ~[test-classes/:?]
> at org.infinispan.test.hibernate.cache.commons.functional.AbstractNonInvalidationTest.lambda$removeFlushWait$3(AbstractNonInvalidationTest.java:124) ~[test-classes/:?]
> {noformat}
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-12151) Add error count metric
by Dan Berindei (Jira)
Dan Berindei created ISPN-12151:
-----------------------------------
Summary: Add error count metric
Key: ISPN-12151
URL: https://issues.redhat.com/browse/ISPN-12151
Project: Infinispan
Issue Type: Feature Request
Components: Analytics
Affects Versions: 11.0.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.0.0.Final, 12.0.0.Dev01
{{CacheMgmtInterceptor}} has metrics for the different kind of key operations, but errors are not tracked. We should add a metric to count errors, and perhaps a histogram for the duration of failed invocations as well.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-12150) Improve CLI server report to work with MacOs
by Gustavo Lira Silva (Jira)
Gustavo Lira Silva created ISPN-12150:
-----------------------------------------
Summary: Improve CLI server report to work with MacOs
Key: ISPN-12150
URL: https://issues.redhat.com/browse/ISPN-12150
Project: Infinispan
Issue Type: Enhancement
Components: CLI
Affects Versions: 11.0.1.Final
Reporter: Gustavo Lira Silva
Assignee: Gustavo Lira Silva
Currently CLI {{server report}} command is only working with linux.
Would be good to have {{server report}} command working with other OS like MacOs and Windows
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-12137) Protostream files bug
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12137?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12137:
--------------------------------
Status: Open (was: New)
> Protostream files bug
> ---------------------
>
> Key: ISPN-12137
> URL: https://issues.redhat.com/browse/ISPN-12137
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 11.0.1.Final
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Creating a cache with protostream with quarkus, we can't list the protostream files correctement and we get 404
>
> [http://localhost:11222/rest/v2/schemas]
> {
> name: "MonitoringAppContextInitializer.proto",
> error: null
> },
> {
> name: "org/infinispan/protostream/message-wrapping.proto",
> error: null
> },
> {
> name: "org/infinispan/query/remote/client/query.proto",
> error: null
> }
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-12149) Update tcp::MPING::bind_addr to SITE_LOCAL
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12149?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12149:
---------------------------------
Description:
With the default values, a cluster cannot be formed without setting {{jgroups.bind.address}} when using the tcp stack
{noformat}
./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
Update tcp::MPING::bind_addr to SITE_LOCAL
was:
With the default values, a cluster cannot be formed without setting {{jgroups.bind.address}}
{noformat}
./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
Update tcp::MPING::bind_addr to SITE_LOCAL
> Update tcp::MPING::bind_addr to SITE_LOCAL
> ------------------------------------------
>
> Key: ISPN-12149
> URL: https://issues.redhat.com/browse/ISPN-12149
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.1.Final, 12.0.0.Dev01
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> With the default values, a cluster cannot be formed without setting {{jgroups.bind.address}} when using the tcp stack
> {noformat}
> ./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
>
> Update tcp::MPING::bind_addr to SITE_LOCAL
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-12149) Update tcp::MPING::bind_addr to SITE_LOCAL
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12149?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12149:
---------------------------------
Description:
With the default values, a cluster cannot be formed without setting {{jgroups.bind.address}}
{noformat}
./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
Update tcp::MPING::bind_addr to SITE_LOCAL
was:
With the default values, a cluster cannot be formed without
{noformat}
./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
Update tcp::MPING::bind_addr to SITE_LOCAL
> Update tcp::MPING::bind_addr to SITE_LOCAL
> ------------------------------------------
>
> Key: ISPN-12149
> URL: https://issues.redhat.com/browse/ISPN-12149
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.1.Final, 12.0.0.Dev01
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> With the default values, a cluster cannot be formed without setting {{jgroups.bind.address}}
> {noformat}
> ./server.sh -Djgroups.bind.address=SITE_LOCAL -j tcp{noformat}
>
> Update tcp::MPING::bind_addr to SITE_LOCAL
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months