- Points
- 58
- Digest
- 0
- R.P.
- 20
- Joined
- 2011-7-27
- Last visit
- 2011-9-20
- Posts
- 8

|
Last edited by Fede on 2011-9-20 22:59
I am making an app with papaya, and i am having problems using PapayaEntranceView. After it, i tried to use it in a new empty project, but i still have the same problems. The program throws a NullPointerException. I am using the EntranceView from the xml, but also tried creating it from the code, and both ways throws the same error.
Can someone help me with this?
Here is the error from the error log:- com.papaya.social.PPYEntranceView failed to instantiate.
- java.lang.NullPointerException
- at com.papaya.social.PPYEntranceView._intBannerView(Unknown Source)
- at com.papaya.social.PPYEntranceView.<init>(Unknown Source)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
- at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.instantiateClass(ProjectCallback.java:396)
- at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:164)
- at com.android.layoutlib.bridge.android.BridgeInflater.loadCustomView(BridgeInflater.java:205)
- at com.android.layoutlib.bridge.android.BridgeInflater.createViewFromTag(BridgeInflater.java:133)
- at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:83)
- at android.view.LayoutInflater.rInflate(LayoutInflater.java:702)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:367)
- ...
Copy Thanks for the help
Edit: The problem is with the entrance view inside a Tab, but in my test project now it is working... I will try to make the same in my main project.
Edit2: Problem solved... I don't know what it was.
|
|