java.lang.IllegalArgumentException: @Marshaler org.robovm.apple.foundation.NSSet$AsStringListMarshaler specified for return type of @Bridge method <org.robovm.apple.uikit.UIBarButtonItem: java.util.Set $m$possibleTitles(org.robovm.apple.uikit.UIBarButtonItem,org.robovm.objc.Selector)> can not be used to marshal java.util.Set

GitHub | florianf | 6 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

    GitHub comment 41#247804453

    GitHub | 6 months ago | florianf
    java.lang.IllegalArgumentException: @Marshaler org.robovm.apple.foundation.NSSet$AsStringListMarshaler specified for return type of @Bridge method <org.robovm.apple.uikit.UIBarButtonItem: java.util.Set $m$possibleTitles(org.robovm.apple.uikit.UIBarButtonItem,org.robovm.objc.Selector)> can not be used to marshal java.util.Set
  2. 0

    Internal compilation error

    Google Groups | 1 year ago | Philippe Riand
    java.lang.IllegalArgumentException: Type mismatch

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      @Marshaler org.robovm.apple.foundation.NSSet$AsStringListMarshaler specified for return type of @Bridge method <org.robovm.apple.uikit.UIBarButtonItem: java.util.Set $m$possibleTitles(org.robovm.apple.uikit.UIBarButtonItem,org.robovm.objc.Selector)> can not be used to marshal java.util.Set

      at org.robovm.compiler.MarshalerLookup.findMarshalerMethod()
    2. RoboVM Compiler
      AppCompiler.build
      1. org.robovm.compiler.MarshalerLookup.findMarshalerMethod(MarshalerLookup.java:156)
      2. org.robovm.compiler.BroMethodCompiler.getReturnType(BroMethodCompiler.java:451)
      3. org.robovm.compiler.BroMethodCompiler.getBridgeOrCallbackFunctionType(BroMethodCompiler.java:531)
      4. org.robovm.compiler.BroMethodCompiler.getBridgeFunctionType(BroMethodCompiler.java:523)
      5. org.robovm.compiler.BridgeMethodCompiler.doCompile(BridgeMethodCompiler.java:291)
      6. org.robovm.compiler.AbstractMethodCompiler.compile(AbstractMethodCompiler.java:77)
      7. org.robovm.compiler.ClassCompiler.compileMethod(ClassCompiler.java:1395)
      8. org.robovm.compiler.ClassCompiler.bridgeMethod(ClassCompiler.java:1413)
      9. org.robovm.compiler.ClassCompiler.compile(ClassCompiler.java:747)
      10. org.robovm.compiler.ClassCompiler.compile(ClassCompiler.java:292)
      11. org.robovm.compiler.AppCompiler.compile(AppCompiler.java:308)
      12. org.robovm.compiler.AppCompiler.compile(AppCompiler.java:391)
      13. org.robovm.compiler.AppCompiler.compile(AppCompiler.java:451)
      14. org.robovm.compiler.AppCompiler.build(AppCompiler.java:768)
      14 frames
    3. org.robovm.eclipse
      AppCompilerThread.run
      1. org.robovm.eclipse.internal.AppCompilerThread.doCompile(AppCompilerThread.java:60)
      2. org.robovm.eclipse.internal.AppCompilerThread.run(AppCompilerThread.java:66)
      2 frames