java.lang.ClassCastException: net.jxta.impl.membership.none.NoneMembershipService$NoneAuthenticator cannot be cast to net.jxta.impl.membership.pse.StringAuthenticator

XWiki.org JIRA | Stéphane Laurière | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    (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

    XWiki.org JIRA | 8 years ago | Stéphane Laurière
    java.lang.ClassCastException: net.jxta.impl.membership.none.NoneMembershipService$NoneAuthenticator cannot be cast to net.jxta.impl.membership.pse.StringAuthenticator

    Root Cause Analysis

    1. 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()
    2. org.xwoot.jxta
      JxtaPeer.createNewGroup
      1. org.xwoot.jxta.JxtaPeer.authenticateMembership(JxtaPeer.java:1269)
      2. org.xwoot.jxta.JxtaPeer.createNewGroup(JxtaPeer.java:664)
      2 frames
    3. org.xwoot.xwootApp
      BootstrapGroup.service
      1. org.xwoot.xwootApp.XWoot3.createNewGroup(XWoot3.java:1030)
      2. org.xwoot.xwootApp.web.servlets.BootstrapGroup.service(BootstrapGroup.java:126)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    5. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
      2 frames
    6. org.xwoot.xwootApp
      BaseFilter.doFilter
      1. org.xwoot.xwootApp.web.filters.BaseFilter.doFilter(BaseFilter.java:156)
      1 frame
    7. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:746)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      16 frames
    8. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      1 frame