C# invoke

ab -  
sky13 Messages postés 28 Statut Membre -
lorsque j'appelle une methode j;utilise invoke(control,null), puis cela revoie un objet ou uhn string avec toString() a la fin. or ma methode renvoie elle un string[]. comment le caster svp
A voir également:
  • Java.lang.nullpointerexception: attempt to invoke virtual method 'android.content.res.configuration android.content.res.resources.getconfiguration()' on a null object reference at android.app.activitythread.updatelocalelistfromappcontext(activitythread.java:5630) at android.app.activitythread.handlebindapplication(activitythread.java:5868) at android.app.activitythread.access$1200(activitythread.java:201) at android.app.activitythread$h.handlemessage(activitythread.java:1679) at android.os.handler.dispatchmessage(handler.java:106) at android.os.looper.loop(looper.java:201) at android.app.activitythread.main(activitythread.java:6861) at java.lang.reflect.method.invoke(native method) at com.android.internal.os.runtimeinit$methodandargscaller.run(runtimeinit.java:547) at com.android.internal.os.zygoteinit.main(zygoteinit.java:873)
  • Arrival at transport hub traduction - <a href="https://forums.commentcamarche.net/forum/consommation-internet-301">Forum Consommation & Internet</a>
  • This is the mail system at host traduction - <a href="https://forums.commentcamarche.net/forum/reseaux-sociaux-10">Forum Réseaux sociaux</a>
  • Processed at transit facility - <a href="https://forums.commentcamarche.net/forum/consommation-internet-301">Forum Consommation & Internet</a>
  • At the local depot - <a href="https://forums.commentcamarche.net/forum/consommation-internet-301">Forum Consommation & Internet</a>
  • Traduction your message could not be be delivered - <a href="https://forums.commentcamarche.net/forum/windows-11">Forum Windows</a>

1 réponse

sky13 Messages postés 28 Statut Membre
 
Regarde dans l'API de java sur
java.sun.com
Tu devrais trouver la solution
meme si ce n'est pas du c#
0