locked
Query Table Operation Error message RRS feed

  • Question

  • java.lang.IllegalArgumentException: Class type must contain contain a nullary constructor.
        at com.microsoft.azure.storage.core.Utility.checkNullaryCtor(Utility.java:1412)

    Above error message has word "contain" two times. I am from java background and new to azure so not sure actually thats how this error message is or its a typo error.

    Sunday, December 16, 2018 3:36 PM

All replies

  • Hi,

    Could you please explain you issue bit detailed so we can help you out.

    Regards,

    Sammani

    Monday, December 17, 2018 6:18 AM
  • @pkj02 Could you provide us with which steps you were able to produce this error message ? Which SDK version were you using ?
    Friday, December 28, 2018 10:10 PM
  • Hi,

    I am experiencing the same error when I attempt to retrieve all of the entities in a partition. I am using azure-storage-8.0.0.jar and azure-storage-queue-10.0.0-Preview.jar

    My exact error is java.lang.IllegalArgumentException: Class type must contain contain a nullary constructor.

    This occured with the code:

    TableQuery<UserEntity> partitionQuery =
                TableQuery.from(UserEntity.class)
                .where(partitionFilter);

    I am confused since my UserEntity class contains a nullary constructor. 

    Thank you.

    Friday, January 4, 2019 5:49 AM