java.lang.ArrayStoreException: java.lang.Integer

Stack Overflow | M H Rasel | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Creating generic Java class having a 2D generic array field

    Stack Overflow | 9 months ago | M H Rasel
    java.lang.ArrayStoreException: java.lang.Integer

    Root Cause Analysis

    1. java.lang.ArrayStoreException

      java.lang.Integer

      at hexGrid.HexGrid.AssignValues()
    2. hexGrid
      Test.main
      1. hexGrid.HexGrid.AssignValues(HexGrid.java:46)
      2. hexGrid.HexGrid.LoadData(HexGrid.java:35)
      3. hexGrid.HexGrid.<init>(HexGrid.java:13)
      4. hexGrid.Test.main(Test.java:12)
      4 frames