java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout

Oracle Community | 501244 | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    db:: 5.96::error 26 at 00000000009E83 1k

    hivmr.com | 1 year ago
    java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
  2. 0

    Unable to start OC4J server - Oracle SOA suite 10.1.3.5

    Oracle Community | 6 years ago | 501244
    java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
  3. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout

      at org.apache.log4j.xml.DOMConfigurator.parseLayout()
    2. Apache Log4j
      DOMConfigurator.parseCategory
      1. org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:446)
      2. org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:186)
      3. org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
      4. org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      5. org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      6. org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
      6 frames
    3. com.collaxa
      ServerLoggerManager$DOMConfigurator.parseCategory
      1. com.collaxa.ServerLoggerManager$DOMConfigurator.parseCategory(ServerLoggerManager.java:464)
      1 frame
    4. Apache Log4j
      DOMConfigurator.doConfigure
      1. org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
      2. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      3. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      4. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
      4 frames
    5. com.collaxa
      ServerLoggerManager.init
      1. com.collaxa.ServerLoggerManager.init(ServerLoggerManager.java:69)
      1 frame
    6. oracle.bpel.services
      TaskQueryService.authenticate
      1. oracle.bpel.services.common.ServicesLogger.initLoging(ServicesLogger.java:602)
      2. oracle.bpel.services.common.ServicesLogger.getLogger(ServicesLogger.java:183)
      3. oracle.bpel.services.common.ServicesLogger.canLog(ServicesLogger.java:373)
      4. oracle.bpel.services.workflow.util.LogUtil.isLoggingEnabled(LogUtil.java:56)
      5. oracle.bpel.services.workflow.util.LogUtil.isDebugLoggingEnabled(LogUtil.java:67)
      6. oracle.bpel.services.workflow.util.LogUtil.verifyAndLogDebugMessage(LogUtil.java:138)
      7. oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:157)
      7 frames
    7. com.abc.workflow
      ABCTaskServiceSOAPPortBinding_Tie.processingHook
      1. com.abc.workflow.task.service.ABCTaskService.getWorkFlowContext(ABCTaskService.java:2011)
      2. com.abc.workflow.task.service.ABCTaskService.customTaskAction(ABCTaskService.java:1647)
      3. com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.invoke_customTaskAction(ABCTaskServiceSOAPPortBinding_Tie.java:910)
      4. com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.processingHook(ABCTaskServiceSOAPPortBinding_Tie.java:1474)
      4 frames
    8. oracle.j2ee.ws
      WebServiceServlet.doPost
      1. oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
      2. oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
      3. oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:379)
      4. oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
      5. oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      6. oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
      7. oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      7 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    10. com.evermind.server
      AJPRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      3. com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      4. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      5. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      6. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      6 frames
    11. oracle.oc4j.network
      ServerSocketReadHandler$SafeRunnable.run
      1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      1 frame
    12. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame