[JBoss JIRA] (HRJS-12) java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/HRJS-12?page=com.atlassian.jira.plugin.sy... ]
Dan Berindei updated HRJS-12:
-----------------------------
Description:
An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
The code is:
{code}
// mode=local,language=javascript,datatype='text/plain; charset=utf-8'
cache.put("բարեվ", "բարեվ");
cache.get("բարեվ");
{code}
The exception is:
{noformat}
15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
{noformat}
was:
An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
The code is:
{code}
// mode=local,language=javascript,datatype='text/plain; charset=utf-8'
cache.put("բարեվ", "բարեվ");
cache.get("բարեվ");
{code}
The exception is:
{{15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
}}
> java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
> ------------------------------------------------------------------------------------------------------
>
> Key: HRJS-12
> URL: https://issues.jboss.org/browse/HRJS-12
> Project: Infinispan Javascript client
> Issue Type: Bug
> Affects Versions: 0.2.0
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 0.3.0
>
>
> An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
> The code is:
> {code}
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.put("բարեվ", "բարեվ");
> cache.get("բարեվ");
> {code}
> The exception is:
> {noformat}
> 15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
> at scala.collection.immutable.List.foreach(List.scala:381)
> at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
> at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
> at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6685) Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Description:
{noformat}
2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datagrid-infinispan-endpoint"),
("hotrod-connector" => "hotrod-connector")
]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
Caused by: java.lang.NullPointerException"}}
2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
{noformat}
was:
This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
{noformat}
2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datagrid-infinispan-endpoint"),
("hotrod-connector" => "hotrod-connector")
]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
Caused by: java.lang.NullPointerException"}}
2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
{noformat}
> Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
> ----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying, Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Fix For: 9.0.0.Alpha3, 8.2.3.Final
>
> Attachments: server.log
>
>
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (HRJS-14) Support multiple CLI script locations
by Galder Zamarreño (JIRA)
Galder Zamarreño created HRJS-14:
------------------------------------
Summary: Support multiple CLI script locations
Key: HRJS-14
URL: https://issues.jboss.org/browse/HRJS-14
Project: Infinispan Javascript client
Issue Type: Enhancement
Affects Versions: 0.2.0
Reporter: Galder Zamarreño
Support multiple locations for CLI script used to reset cluster-wide statistics.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6519) Management console doesn't work on Internet Explorer
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6519?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-6519.
--------------------------------
Fix Version/s: 9.0.0.Alpha3
Assignee: Pedro Zapata (was: Vladimir Blagojevic)
Resolution: Done
> Management console doesn't work on Internet Explorer
> ----------------------------------------------------
>
> Key: ISPN-6519
> URL: https://issues.jboss.org/browse/ISPN-6519
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Roman Macor
> Assignee: Pedro Zapata
> Fix For: 9.0.0.Alpha3
>
> Attachments: Screenshot-managementConsoleIE.png, server_trace_logs.zip
>
>
> On Windows machine:
> - add admin user
> - start Infinispan server in domain mode
> - start Internet Explorer
> - go to http://localhost:9990/console
> - enter username and password
> - click Log in button
> -> result: nothing happens, IE console says: InvalidStateError
> Tested with Windows 2012 and IE 10/11
> Please see attached screenshot.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPRK-26) ClassCastException with InfinispanInputDstream with cache in compatiblity mode
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPRK-26:
--------------------------------------
Summary: ClassCastException with InfinispanInputDstream with cache in compatiblity mode
Key: ISPRK-26
URL: https://issues.jboss.org/browse/ISPRK-26
Project: Infinispan Spark
Issue Type: Bug
Components: Streaming
Affects Versions: 0.3
Reporter: Gustavo Fernandes
Fix For: 0.4
{noformat}
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=21 returned server error (status=0x85): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:56)
at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:32)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPRK-26) ClassCastException with InfinispanInputDstream with cache in compatiblity mode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPRK-26?page=com.atlassian.jira.plugin.s... ]
Gustavo Fernandes reassigned ISPRK-26:
--------------------------------------
Assignee: Gustavo Fernandes
> ClassCastException with InfinispanInputDstream with cache in compatiblity mode
> ------------------------------------------------------------------------------
>
> Key: ISPRK-26
> URL: https://issues.jboss.org/browse/ISPRK-26
> Project: Infinispan Spark
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 0.3
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 0.4
>
>
> {noformat}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=21 returned server error (status=0x85): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:32)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months