Skip to content

java.lang.IllegalStateException: getInt() only legal on Variants of type VariantInt, not 8 #4

Description

@GoogleCodeExporter
hi,
I am using Win7 64bit.


x=new AutoItX();
x.controlListViewGetItemCount("", "", "[CLASS:SysTreeView32; INSTANCE:1]");

i am getting :
java.lang.IllegalStateException: getInt() only legal on Variants of type 
VariantInt, not 8
    at com.jacob.com.Variant.getInt(Variant.java:650)
    at demo.winstarter.AutoItX.controlListViewInt(AutoItX.java:1650)
    at demo.winstarter.AutoItX.controlListViewGetItemCount(AutoItX.java:1678)
    at demo.winstarter.Base.main(Base.java:61)


For every function of that return void, i don't have any problem to run ,
Other functions that return String / int the above error is appear.

Original issue reported on code.google.com by erez...@gmail.com on 23 Jul 2014 at 1:10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions