[JBoss JIRA] (ISPN-2783) Query on Invalidation cache fails in case of non-InfinispanDirectoryProvider
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-2783?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on ISPN-2783:
---------------------------------------
Thanks Anna,
this can be tracked back to an old design problem: we need the class information of indexed entities to discover the indexes, but if nothing was added to a node we don't know which classes could exist; the extreme case is no mapped entities are known, in which case you get this exception.
I don't think we should support Invalidation, nor caches having stateRetrieval=false as you would get the same problem.
> Query on Invalidation cache fails in case of non-InfinispanDirectoryProvider
> ----------------------------------------------------------------------------
>
> Key: ISPN-2783
> URL: https://issues.jboss.org/browse/ISPN-2783
> Project: Infinispan
> Issue Type: Bug
> Components: Querying
> Affects Versions: 5.2.0.Final
> Reporter: Anna Manukyan
> Assignee: Sanne Grinovero
> Fix For: 5.2.1, 5.3.0.Final
>
> Attachments: ClusteredInvalidationCacheTest.java
>
>
> Assume that node1 contains entries, node2 doesn't. And assume, that the cache on both nodes is configured as:
> {code}
> ConfigurationBuilder cacheCfg = getDefaultClusteredCacheConfig(CacheMode.INVALIDATION_SYNC, false);
> cacheCfg.indexing()
> .enable()
> .indexLocalOnly(true)
> .addProperty("default.directory_provider", "ram")
> .addProperty("lucene_version", "LUCENE_CURRENT") ;
>
> List<Cache<String, Person>> caches = createClusteredCaches(2, cacheCfg);
> {code}
> If I'm running the query on node1, then the query proceeds properly.
> If I'm running the query on node2, then I'm getting the following exception:
> {code}
> org.hibernate.search.SearchException: There are no mapped entities. Don't forget to add @Indexed to at least one class.
> at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:534)
> at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:511)
> at org.hibernate.search.query.engine.impl.HSQueryImpl.queryEntityInfos(HSQueryImpl.java:249)
> at org.infinispan.query.impl.CacheQueryImpl.list(CacheQueryImpl.java:170)
> at org.infinispan.query.blackbox.ClusteredInvalidationCacheTest.testSimple(ClusteredInvalidationCacheTest.java:119)
> {code}
> You can find the test attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2783) Query on Invalidation cache fails in case of non-InfinispanDirectoryProvider
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-2783?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero reassigned ISPN-2783:
-------------------------------------
Assignee: (was: Sanne Grinovero)
> Query on Invalidation cache fails in case of non-InfinispanDirectoryProvider
> ----------------------------------------------------------------------------
>
> Key: ISPN-2783
> URL: https://issues.jboss.org/browse/ISPN-2783
> Project: Infinispan
> Issue Type: Bug
> Components: Querying
> Affects Versions: 5.2.0.Final
> Reporter: Anna Manukyan
> Fix For: 5.2.1, 5.3.0.Final
>
> Attachments: ClusteredInvalidationCacheTest.java
>
>
> Assume that node1 contains entries, node2 doesn't. And assume, that the cache on both nodes is configured as:
> {code}
> ConfigurationBuilder cacheCfg = getDefaultClusteredCacheConfig(CacheMode.INVALIDATION_SYNC, false);
> cacheCfg.indexing()
> .enable()
> .indexLocalOnly(true)
> .addProperty("default.directory_provider", "ram")
> .addProperty("lucene_version", "LUCENE_CURRENT") ;
>
> List<Cache<String, Person>> caches = createClusteredCaches(2, cacheCfg);
> {code}
> If I'm running the query on node1, then the query proceeds properly.
> If I'm running the query on node2, then I'm getting the following exception:
> {code}
> org.hibernate.search.SearchException: There are no mapped entities. Don't forget to add @Indexed to at least one class.
> at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:534)
> at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:511)
> at org.hibernate.search.query.engine.impl.HSQueryImpl.queryEntityInfos(HSQueryImpl.java:249)
> at org.infinispan.query.impl.CacheQueryImpl.list(CacheQueryImpl.java:170)
> at org.infinispan.query.blackbox.ClusteredInvalidationCacheTest.testSimple(ClusteredInvalidationCacheTest.java:119)
> {code}
> You can find the test attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2770) Wrong format arguments in trace log message
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-2770?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-2770:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1633
> Wrong format arguments in trace log message
> -------------------------------------------
>
> Key: ISPN-2770
> URL: https://issues.jboss.org/browse/ISPN-2770
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.CR2
> Reporter: Michal Linhard
> Assignee: Adrian Nistor
> Fix For: 5.2.1, 5.3.0.Final
>
>
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
> {code}
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.logging.ErrorManager: 5: Formatting error
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.MissingFormatArgumentException: Format specifier 's'
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2432)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2367)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.lang.String.format(String.java:2769)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:434)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:397)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:358)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.logRaw(Logger.java:721)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.log(Logger.java:672)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.Logger.logf(Logger.java:2126)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:134)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterCacheStatus.addMember(ClusterCacheStatus.java:106)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.recoverClusterStatus(ClusterTopologyManagerImpl.java:460)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:231)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at java.lang.reflect.Method.invoke(Method.java:597)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.lang.Thread.run(Thread.java:662)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2770) Wrong format arguments in trace log message
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-2770?page=com.atlassian.jira.plugin.... ]
Adrian Nistor reassigned ISPN-2770:
-----------------------------------
Assignee: Adrian Nistor (was: Mircea Markus)
> Wrong format arguments in trace log message
> -------------------------------------------
>
> Key: ISPN-2770
> URL: https://issues.jboss.org/browse/ISPN-2770
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.CR2
> Reporter: Michal Linhard
> Assignee: Adrian Nistor
> Fix For: 5.2.1, 5.3.0.Final
>
>
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
> {code}
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.logging.ErrorManager: 5: Formatting error
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.MissingFormatArgumentException: Format specifier 's'
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2432)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2367)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.lang.String.format(String.java:2769)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:434)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:397)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:358)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.logRaw(Logger.java:721)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.log(Logger.java:672)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.Logger.logf(Logger.java:2126)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:134)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterCacheStatus.addMember(ClusterCacheStatus.java:106)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.recoverClusterStatus(ClusterTopologyManagerImpl.java:460)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:231)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at java.lang.reflect.Method.invoke(Method.java:597)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.lang.Thread.run(Thread.java:662)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2719) Tx complete notification and prepare crossing leads to failed transaction
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-2719?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-2719:
----------------------------------------
[~mircea.markus] Did you check the attached logs?
> Tx complete notification and prepare crossing leads to failed transaction
> -------------------------------------------------------------------------
>
> Key: ISPN-2719
> URL: https://issues.jboss.org/browse/ISPN-2719
> Project: Infinispan
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 5.2.0.CR2
> Reporter: Galder Zamarreño
> Assignee: Mircea Markus
> Priority: Critical
> Fix For: 5.2.1, 5.3.0.Final
>
> Attachments: testRemoteCacheListener-5.log
>
>
> {code}testRemoteCacheListener(org.infinispan.replication.SyncCacheListenerTest) Time elapsed: 0.059 sec <<< FAILURE!
> org.infinispan.CacheException: Could not commit implicit transaction
> at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1159)
> at org.infinispan.CacheImpl.removeInternal(CacheImpl.java:310)
> at org.infinispan.CacheImpl.remove(CacheImpl.java:304)
> at org.infinispan.CacheImpl.remove(CacheImpl.java:298)
> at org.infinispan.replication.SyncCacheListenerTest.testRemoteCacheListener(SyncCacheListenerTest.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
> at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
> at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
> at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1156)
> ... 25 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2770) Wrong format arguments in trace log message
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2770?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-2770:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=907500
> Wrong format arguments in trace log message
> -------------------------------------------
>
> Key: ISPN-2770
> URL: https://issues.jboss.org/browse/ISPN-2770
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.CR2
> Reporter: Michal Linhard
> Assignee: Mircea Markus
> Fix For: 5.2.1, 5.3.0.Final
>
>
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
> {code}
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.logging.ErrorManager: 5: Formatting error
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.MissingFormatArgumentException: Format specifier 's'
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2432)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2367)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.lang.String.format(String.java:2769)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:434)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:397)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:358)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.logRaw(Logger.java:721)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.log(Logger.java:672)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.Logger.logf(Logger.java:2126)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:134)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterCacheStatus.addMember(ClusterCacheStatus.java:106)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.recoverClusterStatus(ClusterTopologyManagerImpl.java:460)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:231)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at java.lang.reflect.Method.invoke(Method.java:597)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.lang.Thread.run(Thread.java:662)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2770) Wrong format arguments in trace log message
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2770?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-2770:
-----------------------------------------------
Michal Linhard <mlinhard(a)redhat.com> made a comment on [bug 907500|https://bugzilla.redhat.com/show_bug.cgi?id=907500]
https://issues.jboss.org/browse/ISPN-2770
> Wrong format arguments in trace log message
> -------------------------------------------
>
> Key: ISPN-2770
> URL: https://issues.jboss.org/browse/ISPN-2770
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.CR2
> Reporter: Michal Linhard
> Assignee: Mircea Markus
> Fix For: 5.2.1, 5.3.0.Final
>
>
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
> {code}
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.logging.ErrorManager: 5: Formatting error
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.MissingFormatArgumentException: Format specifier 's'
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2432)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.util.Formatter.format(Formatter.java:2367)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at java.lang.String.format(String.java:2769)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:434)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:397)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:358)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
> node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.logRaw(Logger.java:721)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logmanager.Logger.log(Logger.java:672)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.Logger.logf(Logger.java:2126)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:134)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterCacheStatus.addMember(ClusterCacheStatus.java:106)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.recoverClusterStatus(ClusterTopologyManagerImpl.java:460)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:231)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) at java.lang.reflect.Method.invoke(Method.java:597)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) at java.lang.Thread.run(Thread.java:662)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2787) NPE after ReplaceCommand
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2787?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-2787:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=907499
> NPE after ReplaceCommand
> ------------------------
>
> Key: ISPN-2787
> URL: https://issues.jboss.org/browse/ISPN-2787
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.Final
> Reporter: Michal Linhard
> Assignee: Mircea Markus
> Fix For: 5.3.0.Final
>
>
> (from https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EDG6/view/EDG-REPOR...)
> {code}
> 05:11:10,804 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[Resteasy]] (http-/172.18.1.7:8080-15) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
> at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:351) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:220) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:196) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:551) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:513) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]
> Caused by: java.lang.NullPointerException
> at org.infinispan.CacheImpl.replaceInternal(CacheImpl.java:828) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.CacheImpl.replace(CacheImpl.java:822) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.CacheImpl.replace(CacheImpl.java:817) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.AbstractDelegatingCache.replace(AbstractDelegatingCache.java:153) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.rest.Server.putOrReplace(Server.scala:186) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.org$infinispan$rest$Server$$putInCache(Server.scala:157) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server$$anonfun$putEntry$1.apply(Server.scala:133) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server$$anonfun$putEntry$1.apply(Server.scala:120) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.protectCacheNotFound(Server.scala:254) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.putEntry(Server.scala:120) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.6.0_38]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_38]
> at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_38]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:536) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> ... 18 more
> {code}
> Seems like the NPE is caused by ReplaceCommand.perform returning null:
> https://github.com/infinispan/infinispan/blob/5.2.0.Final/core/src/main/j...
> Made possible here:
> https://github.com/infinispan/infinispan/blob/5.2.0.Final/core/src/main/j...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2787) NPE after ReplaceCommand
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2787?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-2787:
-----------------------------------------------
Michal Linhard <mlinhard(a)redhat.com> made a comment on [bug 907499|https://bugzilla.redhat.com/show_bug.cgi?id=907499]
https://issues.jboss.org/browse/ISPN-2787
> NPE after ReplaceCommand
> ------------------------
>
> Key: ISPN-2787
> URL: https://issues.jboss.org/browse/ISPN-2787
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.0.Final
> Reporter: Michal Linhard
> Assignee: Mircea Markus
> Fix For: 5.3.0.Final
>
>
> (from https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EDG6/view/EDG-REPOR...)
> {code}
> 05:11:10,804 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[Resteasy]] (http-/172.18.1.7:8080-15) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
> at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:351) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:220) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:196) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:551) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:513) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]
> Caused by: java.lang.NullPointerException
> at org.infinispan.CacheImpl.replaceInternal(CacheImpl.java:828) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.CacheImpl.replace(CacheImpl.java:822) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.CacheImpl.replace(CacheImpl.java:817) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.AbstractDelegatingCache.replace(AbstractDelegatingCache.java:153) [infinispan-core-5.2.0.CR3-redhat-1.jar:5.2.0.CR3-redhat-1]
> at org.infinispan.rest.Server.putOrReplace(Server.scala:186) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.org$infinispan$rest$Server$$putInCache(Server.scala:157) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server$$anonfun$putEntry$1.apply(Server.scala:133) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server$$anonfun$putEntry$1.apply(Server.scala:120) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.protectCacheNotFound(Server.scala:254) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at org.infinispan.rest.Server.putEntry(Server.scala:120) [infinispan-server-rest-5.2.0.CR3-redhat-1-classes.jar:]
> at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.6.0_38]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_38]
> at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_38]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:536) [resteasy-jaxrs-2.3.4.Final-redhat-2.jar:2.3.4.Final-redhat-2]
> ... 18 more
> {code}
> Seems like the NPE is caused by ReplaceCommand.perform returning null:
> https://github.com/infinispan/infinispan/blob/5.2.0.Final/core/src/main/j...
> Made possible here:
> https://github.com/infinispan/infinispan/blob/5.2.0.Final/core/src/main/j...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (ISPN-2720) StateTransferPessimisticTest.testStateTransfer fails randomly
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-2720?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-2720:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1633
> StateTransferPessimisticTest.testStateTransfer fails randomly
> -------------------------------------------------------------
>
> Key: ISPN-2720
> URL: https://issues.jboss.org/browse/ISPN-2720
> Project: Infinispan
> Issue Type: Bug
> Components: State transfer
> Affects Versions: 5.2.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Adrian Nistor
> Labels: testsuite_stability
> Fix For: 5.2.1, 5.3.0.Alpha1
>
> Attachments: testStateTransfer-6.tgz
>
>
> {code}testStateTransfer(org.infinispan.statetransfer.StateTransferPessimisticTest) Time elapsed: 0.174 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.failNotEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:128)
> at org.junit.Assert.assertEquals(Assert.java:472)
> at org.junit.Assert.assertEquals(Assert.java:456)
> at org.infinispan.statetransfer.StateTransferPessimisticTest.testStateTransfer(StateTransferPessimisticTest.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680){code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months