InvocationTargetException à gonfler un xml - android

J'ai un code qui fonctionne 99% du temps depuis est de déployer dans beaucoup de clients, mais parfois j'ai l'suivantes:

java.lang.de réfléchir.InvocationTargetException
android.widget de.LinearLayout.(LinearLayout.java:92)
java.lang.de réfléchir.Constructeur.constructNative(Native method)
java.lang.de réfléchir.Constructeur.newInstance(Constructeur.java:446)
android.vue.LayoutInflater.createView(LayoutInflater.java:499)
com.android.interne.politique.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
android.vue.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
android.vue.LayoutInflater.rInflate(LayoutInflater.java:617)
android.vue.LayoutInflater.gonfler(LayoutInflater.java:407)
android.vue.LayoutInflater.gonfler(LayoutInflater.java:320)
com.mycode.mycode.MyClass.tirage(xxxxxxx)
.....

et sur mon code j'ai:

LayoutInflater li = (LayoutInflater) ce
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
theview = li.inflate(R. layout.partofthescreen,
somecontainer, false);

la question est donc pourquoi je suis InvocationTargetException.

Grâce

OriginalL'auteur Daniel Benedykt | 2010-03-10