java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • (Fabio, I let you dispatch the issue to its component owner..) While trying to create a new group (named "mandriva") from the "Group bootstrap" panel, without any password, I get the error below in the log file, and the message "Failed creating a group "Can't create group:Failed to create new group."). Should I edit the properties in a config file instead, as for the bootstrap panel? {code:none} INFO: [urn:jxta:uuid-0F5933E540D641868ADD94AFE671AE9B02[0] / urn:jxta:jxta-NetGroup "NetPeerGroup"[2] / urn:jxta:jxta-WorldGroup "World PeerGroup"[1]] : Initialized pipeResolverSrdi 23 mars 2009 11:01:57 net.jxta.impl.cm.SrdiIndex startGC INFO: [urn:jxta:uuid-0F5933E540D641868ADD94AFE671AE9B02[0] / urn:jxta:jxta-NetGroup "NetPeerGroup"[2] / urn:jxta:jxta-WorldGroup "World PeerGroup"[1]] : Starting SRDI GC Thread for pipeResolverSrdi 23 mars 2009 11:01:58 net.jxta.impl.peergroup.GenericPeerGroup loadModule INFO: Loaded module : General Purpose Peer Group Implementation (net.jxta.impl.peergroup.StdPeerGroup) 23 mars 2009 11:01:58 net.jxta.impl.peergroup.GenericPeerGroup getInterface INFO: [urn:jxta:uuid-0F5933E540D641868ADD94AFE671AE9B02] GROUP REF COUNT INCREMENTED TO: 1 by net.jxta.impl.peergroup.PeerGroupInterface.newGroup(PeerGroupInterface.java:322) 23 mars 2009 11:01:58,077 [14161796@qtp0-7] INFO org.xwoot.jxta.JxtaPeer -=- Current Membership service: net.jxta.impl.membership.none.NoneMembershipService@6d12a9 23 mars 2009 11:01:58,080 [14161796@qtp0-7] ERROR org.xwoot.xwootApp.XWoot3 -=- xwoota : Failed to create new group. java.lang.ClassCastException: net.jxta.impl.membership.none.NoneMembershipService$NoneAuthenticator cannot be cast to net.jxta.impl.membership.pse.StringAuthenticator at org.xwoot.jxta.JxtaPeer.authenticateMembership(JxtaPeer.java:1269) at org.xwoot.jxta.JxtaPeer.createNewGroup(JxtaPeer.java:664) at org.xwoot.xwootApp.XWoot3.createNewGroup(XWoot3.java:1030) at org.xwoot.xwootApp.web.servlets.BootstrapGroup.service(BootstrapGroup.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) at org.xwoot.xwootApp.web.filters.BaseFilter.doFilter(BaseFilter.java:156) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:746) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) 2009-03-23 11:01:58.082:/xwootApp:INFO: Errors occured or invalid group choice. 2009-03-23 11:01:58.085:/xwootApp:INFO: Available groups: [<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jxta:PGA> <jxta:PGA xml:space="default" xmlns:jxta="http://jxta.org"> <GID> urn:jxta:uuid-0F5933E540D641868ADD94AFE671AE9B02 </GID> <MSID> urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000010306 </MSID> <Name> mandriva </Name> <Desc> Mandriva network </Desc> </jxta:PGA> {code} Stéphane
    via by Stéphane Laurière,
    • java.lang.ClassCastException: net.jxta.impl.membership.none.NoneMembershipService$NoneAuthenticator cannot be cast to net.jxta.impl.membership.pse.StringAuthenticator at org.xwoot.jxta.JxtaPeer.authenticateMembership(JxtaPeer.java:1269) at org.xwoot.jxta.JxtaPeer.createNewGroup(JxtaPeer.java:664) at org.xwoot.xwootApp.XWoot3.createNewGroup(XWoot3.java:1030) at org.xwoot.xwootApp.web.servlets.BootstrapGroup.service(BootstrapGroup.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) at org.xwoot.xwootApp.web.filters.BaseFilter.doFilter(BaseFilter.java:156) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:746) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    No Bugmate found.