karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manohar Gandra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3746) cluster:feature-install issue- HazelcastSerializationException: Problem when serializing type 1
Date Thu, 28 May 2015 14:55:18 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563023#comment-14563023
] 

Manohar Gandra commented on KARAF-3746:
---------------------------------------

This issue is fixed with the following code change. 

> cluster:feature-install issue- HazelcastSerializationException: Problem when serializing
type 1
> -----------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3746
>                 URL: https://issues.apache.org/jira/browse/KARAF-3746
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-hazelcast
>    Affects Versions: cellar-2.3.6
>         Environment: CentOS -6.6
>            Reporter: Manohar Gandra
>            Priority: Blocker
>
> we are setting up the cellar 2.3.6 with apache servicemix 5.3.2. we are installing the
features on cluster and seeing issues. We also tried the same with cellar 2.3.5 and apache
servicemix 5.3.0 and seeing same issue.
> 1. cluster:feature-url-add default <maven feature url>
>     This is working fine.
> 2. cluster:feature-install default <feature name>
>    This command is failing with following exception. 
>    Any help is appreciated.
> 2015-05-27 09:22:15,144 | ERROR | l Console Thread | Console                        
 | ?                                   ? | 20 - org.apache.karaf.shell.console - 2.4.0 | Exception
caught while executing command
> com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 1
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:128)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:156)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.Serializer.readObject(Serializer.java:75)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:135)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:163)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.impl.base.KeyValue.getValue(KeyValue.java:85)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.impl.Entries$EntryIterator.setHasNext(Entries.java:134)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.impl.Entries$EntryIterator.hasNext(Entries.java:125)[195:com.hazelcast:2.6.9]
> 	at org.apache.karaf.cellar.features.shell.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:70)[202:org.apache.karaf.cellar.features:2.3.5]
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.karaf.shell.console.jline.Console.run(Console.java:196)[20:org.apache.karaf.shell.console:2.4.0]
> 	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[20:org.apache.karaf.shell.console:2.4.0]
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.cellar.features.FeatureState
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)[:1.7.0_79]
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)[:1.7.0_79]
> 	at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_79]
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)[:1.7.0_79]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)[:1.7.0_79]
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[:1.7.0_79]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_79]
> 	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:81)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:56)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.AbstractSerializer$1.resolveClass(AbstractSerializer.java:91)[195:com.hazelcast:2.6.9]
> 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)[:1.7.0_79]
> 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)[:1.7.0_79]
> 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)[:1.7.0_79]
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)[:1.7.0_79]
> 	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:460)[:1.7.0_79]
> 	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.readNormal(DefaultSerializer.java:410)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.read(DefaultSerializer.java:380)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:138)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:32)[195:com.hazelcast:2.6.9]
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)[195:com.hazelcast:2.6.9]
> 	... 19 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message