java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to rmc.entity.UserEntity

Stack Overflow | Yashik | 8 months 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

    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to rmc.entity.UserEntity

    Stack Overflow | 8 months ago | Yashik
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to rmc.entity.UserEntity

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object; cannot be cast to rmc.entity.UserEntity

      at rmc.dao.LoginDAOImpl.getUserDetails()
    2. rmc.dao
      LoginDAOImpl.getUserDetails
      1. rmc.dao.LoginDAOImpl.getUserDetails(LoginDAOImpl.java:32)
      1 frame
    3. rmc.test
      UserInterface.main
      1. rmc.test.UserInterface.main(UserInterface.java:9)
      1 frame