[JBoss JIRA] (ISPN-6191) Provide Externalizers for (Double|Long|Int)SummaryStatistics
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6191?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6191:
----------------------------------
Fix Version/s: 8.2.0.Beta2
8.2.0.Final
8.1.2.Final
> Provide Externalizers for (Double|Long|Int)SummaryStatistics
> ------------------------------------------------------------
>
> Key: ISPN-6191
> URL: https://issues.jboss.org/browse/ISPN-6191
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 8.2.0.Beta2, 8.2.0.Final, 8.1.2.Final
>
>
> The summary statistics classes are used directly by the new streams. Unfortunately they aren't Serializable by default, which can cause issues when using these methods in a distributed cache.
> The summaryStatistics methods on the (Double|Long|Int)Stream use a hack of forcing an iterator to get these results, but this cannot be applied with the Collectors methods.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-5211) NPE on NumericVersionGenerator.start() when JGroups configuration resource not found
by Vladimir Dzhuvinov (JIRA)
[ https://issues.jboss.org/browse/ISPN-5211?page=com.atlassian.jira.plugin.... ]
Vladimir Dzhuvinov commented on ISPN-5211:
------------------------------------------
I just noticed we got the same or similar NPE in our logs today with 7.2.5:
{{
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000080: Disconnecting JGroups channel ISPN
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000082: Stopping the RpcDispatcher for channel ISPN
Exception in thread "pool-4-thread-1" org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.container.versioning.NumericVersionGenerator.start() on object of type NumericVersionGenerator
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:853)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:599)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
at org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:822)
at com.nimbusds.openid.connect.provider.InfinispanConfigTest$1.run(InfinispanConfigTest.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.infinispan.container.versioning.NumericVersionGenerator.start(NumericVersionGenerator.java:61)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 14 more}}
> NPE on NumericVersionGenerator.start() when JGroups configuration resource not found
> ------------------------------------------------------------------------------------
>
> Key: ISPN-5211
> URL: https://issues.jboss.org/browse/ISPN-5211
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.1.0.Final
> Reporter: Sanne Grinovero
> Fix For: 8.2.0.Beta2
>
>
> This is easy to reproduce: start a {{CacheManager}} which has a {{Transport}} configured with a non-existent resource name for the JGroups configuration.
> Would be great to have a better error message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-5211) NPE on NumericVersionGenerator.start() when JGroups configuration resource not found
by Vladimir Dzhuvinov (JIRA)
[ https://issues.jboss.org/browse/ISPN-5211?page=com.atlassian.jira.plugin.... ]
Vladimir Dzhuvinov edited comment on ISPN-5211 at 2/10/16 5:20 AM:
-------------------------------------------------------------------
I just noticed we got the same or similar NPE in our logs today with 7.2.5:\
{{
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000080: Disconnecting JGroups channel ISPN
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000082: Stopping the RpcDispatcher for channel ISPN
Exception in thread "pool-4-thread-1" org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.container.versioning.NumericVersionGenerator.start() on object of type NumericVersionGenerator
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:853)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:599)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
at org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:822)
at com.nimbusds.openid.connect.provider.InfinispanConfigTest$1.run(InfinispanConfigTest.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.infinispan.container.versioning.NumericVersionGenerator.start(NumericVersionGenerator.java:61)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 14 more
}}
was (Author: vdzhuvinov):
I just noticed we got the same or similar NPE in our logs today with 7.2.5:
{{
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000080: Disconnecting JGroups channel ISPN
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000082: Stopping the RpcDispatcher for channel ISPN
Exception in thread "pool-4-thread-1" org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.container.versioning.NumericVersionGenerator.start() on object of type NumericVersionGenerator
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:853)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:599)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
at org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:822)
at com.nimbusds.openid.connect.provider.InfinispanConfigTest$1.run(InfinispanConfigTest.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.infinispan.container.versioning.NumericVersionGenerator.start(NumericVersionGenerator.java:61)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 14 more}}
> NPE on NumericVersionGenerator.start() when JGroups configuration resource not found
> ------------------------------------------------------------------------------------
>
> Key: ISPN-5211
> URL: https://issues.jboss.org/browse/ISPN-5211
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.1.0.Final
> Reporter: Sanne Grinovero
> Fix For: 8.2.0.Beta2
>
>
> This is easy to reproduce: start a {{CacheManager}} which has a {{Transport}} configured with a non-existent resource name for the JGroups configuration.
> Would be great to have a better error message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6193) ExampleConfigsIT.testHotrodMultipleConfig fails
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-6193:
-------------------------------------
Summary: ExampleConfigsIT.testHotrodMultipleConfig fails
Key: ISPN-6193
URL: https://issues.jboss.org/browse/ISPN-6193
Project: Infinispan
Issue Type: Bug
Components: Server, Test Suite - Server
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
The server endpoint schema and examples still refer to a removed cache-suffix attribute. It should be marked as deprecated and ignored.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6131) ScriptingManager.removeScript throws ISPN026005 exception when the script exists
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6131?page=com.atlassian.jira.plugin.... ]
Anna Manukyan commented on ISPN-6131:
-------------------------------------
UPDATE:
After 7d0aa92 commit pushed, the exception is not thrown any more. But when removing an existent script, it is only removed from the compiled scripts. The script is still present in the Script cache.
The same situation refers to the clear() action on Script cache. When the command given below is called, the cache is not cleared only the compiled scripts map is cleared.
{code}
cacheManager.getCache(ScriptingManager.SCRIPT_CACHE)
{code}
> ScriptingManager.removeScript throws ISPN026005 exception when the script exists
> ---------------------------------------------------------------------------------
>
> Key: ISPN-6131
> URL: https://issues.jboss.org/browse/ISPN-6131
> Project: Infinispan
> Issue Type: Bug
> Reporter: Anna Manukyan
> Assignee: Tristan Tarrant
>
> ScriptingManager.removeScript() method call with existing script name throws following exception:
> org.infinispan.commons.CacheException: ISPN026005: No script named 'test.js'
> at org.infinispan.scripting.impl.ScriptingManagerImpl.removeScript(ScriptingManagerImpl.java:121)
> at org.infinispan.scripting.ScriptingTest.testRemovingScript(ScriptingTest.java:61)
> 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:497)
> ...
> The test code for script removing is:
> {code:java}
> public void testRemovingScript() throws Exception {
> assertNotNull(cacheManager.getCache(ScriptingManager.SCRIPT_CACHE).get("test.js"));
> scriptingManager.removeScript("test.js");
> assertNull(cacheManager.getCache(ScriptingManager.SCRIPT_CACHE).get("test.js"));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month