Created
February 24, 2013 08:59
-
-
Save mattelacchiato/5023172 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
at org.robolectric.res.ViewNode.constructView(ViewNode.java:162) | |
at org.robolectric.res.ViewNode.create(ViewNode.java:90) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:28) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:31) | |
at org.robolectric.res.RoboLayoutInflater.inflateView(RoboLayoutInflater.java:48) | |
at org.robolectric.shadows.ShadowLayoutInflater.inflate(ShadowLayoutInflater.java:49) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java) | |
at de.splitstudio.utils.ObjectListAdapter.getView(ObjectListAdapter.java:43) | |
at org.robolectric.shadows.ShadowAdapterView.addViews(ShadowAdapterView.java:314) | |
at org.robolectric.shadows.ShadowListView.addViews(ShadowListView.java:167) | |
at org.robolectric.shadows.ShadowAdapterView.update(ShadowAdapterView.java:302) | |
at org.robolectric.shadows.ShadowAdapterView.access$100(ShadowAdapterView.java:19) | |
at org.robolectric.shadows.ShadowAdapterView$1.run(ShadowAdapterView.java:85) | |
at org.robolectric.util.Scheduler.postDelayed(Scheduler.java:36) | |
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:162) | |
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:52) | |
at org.robolectric.shadows.ShadowHandler.post(ShadowHandler.java:47) | |
at android.os.Handler.post(Handler.java) | |
at org.robolectric.shadows.ShadowAdapterView.invalidateAndScheduleUpdate(ShadowAdapterView.java:81) | |
at org.robolectric.shadows.ShadowAdapterView.setAdapter(ShadowAdapterView.java:45) | |
at org.robolectric.shadows.ShadowListView.setAdapter(ShadowListView.java:83) | |
at android.widget.ListView.setAdapter(ListView.java) | |
at org.robolectric.shadows.ShadowListActivity.setListAdapter(ShadowListActivity.java:57) | |
at android.app.ListActivity.setListAdapter(ListActivity.java) | |
at de.splitstudio.fastbudget3.OverviewActivity.onCreate(OverviewActivity.java:36) | |
at de.splitstudio.fastbudget3.OverviewActivityWith3Categories.setUp(OverviewActivityWith3Categories.java:35) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) | |
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:106) | |
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:236) | |
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) | |
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | |
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | |
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | |
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | |
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | |
Caused by: java.lang.reflect.InvocationTargetException | |
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:525) | |
at org.robolectric.res.ViewNode.constructView(ViewNode.java:149) | |
at org.robolectric.res.ViewNode.create(ViewNode.java:90) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:28) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:31) | |
at org.robolectric.res.RoboLayoutInflater.inflateView(RoboLayoutInflater.java:48) | |
at org.robolectric.shadows.ShadowLayoutInflater.inflate(ShadowLayoutInflater.java:49) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java) | |
at de.splitstudio.utils.ObjectListAdapter.getView(ObjectListAdapter.java:43) | |
at org.robolectric.shadows.ShadowAdapterView.addViews(ShadowAdapterView.java:314) | |
at org.robolectric.shadows.ShadowListView.addViews(ShadowListView.java:167) | |
at org.robolectric.shadows.ShadowAdapterView.update(ShadowAdapterView.java:302) | |
at org.robolectric.shadows.ShadowAdapterView.access$100(ShadowAdapterView.java:19) | |
at org.robolectric.shadows.ShadowAdapterView$1.run(ShadowAdapterView.java:85) | |
at org.robolectric.util.Scheduler.postDelayed(Scheduler.java:36) | |
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:162) | |
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:52) | |
at org.robolectric.shadows.ShadowHandler.post(ShadowHandler.java:47) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.os.Handler.post(Handler.java) | |
at org.robolectric.shadows.ShadowAdapterView.invalidateAndScheduleUpdate(ShadowAdapterView.java:81) | |
at org.robolectric.shadows.ShadowAdapterView.setAdapter(ShadowAdapterView.java:45) | |
at org.robolectric.shadows.ShadowListView.setAdapter(ShadowListView.java:83) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.widget.ListView.setAdapter(ListView.java) | |
at org.robolectric.shadows.ShadowListActivity.setListAdapter(ShadowListActivity.java:57) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.app.ListActivity.setListAdapter(ListActivity.java) | |
at de.splitstudio.fastbudget3.OverviewActivity.onCreate(OverviewActivity.java:36) | |
at de.splitstudio.fastbudget3.OverviewActivityWith3Categories.setUp(OverviewActivityWith3Categories.java:35) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
... 20 more | |
Caused by: java.lang.RuntimeException: java.lang.NullPointerException | |
at org.robolectric.res.PackageResourceLoader.init(PackageResourceLoader.java:72) | |
at org.robolectric.res.PackageResourceLoader.hasAttributeFor(PackageResourceLoader.java:240) | |
at org.robolectric.res.RoutingResourceLoader.hasAttributeFor(RoutingResourceLoader.java:110) | |
at org.robolectric.tester.android.util.TestAttributeSet.isEnum(TestAttributeSet.java:72) | |
at org.robolectric.tester.android.util.TestAttributeSet.getAttributeIntValue(TestAttributeSet.java:53) | |
at org.robolectric.shadows.ShadowProgressBar.applyAttributes(ShadowProgressBar.java:20) | |
at org.robolectric.shadows.ShadowView.__constructor__(ShadowView.java:112) | |
at org.robolectric.shadows.ShadowView.__constructor__(ShadowView.java:104) | |
at android.widget.ProgressBar.__constructor__(ProgressBar.java) | |
at android.widget.ProgressBar.<init>(ProgressBar.java) | |
at org.robolectric.res.ViewNode.constructView(ViewNode.java:149) | |
at org.robolectric.res.ViewNode.create(ViewNode.java:90) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:28) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:31) | |
at org.robolectric.res.RoboLayoutInflater.inflateView(RoboLayoutInflater.java:48) | |
at org.robolectric.shadows.ShadowLayoutInflater.inflate(ShadowLayoutInflater.java:49) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java) | |
at de.splitstudio.utils.ObjectListAdapter.getView(ObjectListAdapter.java:43) | |
at org.robolectric.shadows.ShadowAdapterView.addViews(ShadowAdapterView.java:314) | |
at org.robolectric.shadows.ShadowListView.addViews(ShadowListView.java:167) | |
at org.robolectric.shadows.ShadowAdapterView.update(ShadowAdapterView.java:302) | |
at org.robolectric.shadows.ShadowAdapterView.access$100(ShadowAdapterView.java:19) | |
at org.robolectric.shadows.ShadowAdapterView$1.run(ShadowAdapterView.java:85) | |
at org.robolectric.util.Scheduler.postDelayed(Scheduler.java:36) | |
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:162) | |
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:52) | |
at org.robolectric.shadows.ShadowHandler.post(ShadowHandler.java:47) | |
at android.os.Handler.post(Handler.java) | |
at org.robolectric.shadows.ShadowAdapterView.invalidateAndScheduleUpdate(ShadowAdapterView.java:81) | |
at org.robolectric.shadows.ShadowAdapterView.setAdapter(ShadowAdapterView.java:45) | |
at org.robolectric.shadows.ShadowListView.setAdapter(ShadowListView.java:83) | |
at android.widget.ListView.setAdapter(ListView.java) | |
at org.robolectric.shadows.ShadowListActivity.setListAdapter(ShadowListActivity.java:57) | |
at android.app.ListActivity.setListAdapter(ListActivity.java) | |
at de.splitstudio.fastbudget3.OverviewActivity.onCreate(OverviewActivity.java:36) | |
at de.splitstudio.fastbudget3.OverviewActivityWith3Categories.setUp(OverviewActivityWith3Categories.java:35) | |
... 20 more | |
Caused by: java.lang.NullPointerException | |
at org.robolectric.res.DocumentLoader.loadResourceXmlSubDirs(DocumentLoader.java:30) | |
at org.robolectric.res.PackageResourceLoader.loadEverything(PackageResourceLoader.java:80) | |
at org.robolectric.res.PackageResourceLoader.init(PackageResourceLoader.java:68) | |
at org.robolectric.res.PackageResourceLoader.hasAttributeFor(PackageResourceLoader.java:240) | |
at org.robolectric.res.RoutingResourceLoader.hasAttributeFor(RoutingResourceLoader.java:110) | |
at org.robolectric.tester.android.util.TestAttributeSet.isEnum(TestAttributeSet.java:72) | |
at org.robolectric.tester.android.util.TestAttributeSet.getAttributeIntValue(TestAttributeSet.java:53) | |
at org.robolectric.shadows.ShadowProgressBar.applyAttributes(ShadowProgressBar.java:20) | |
at org.robolectric.shadows.ShadowView.__constructor__(ShadowView.java:112) | |
at org.robolectric.shadows.ShadowView.__constructor__(ShadowView.java:104) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.widget.ProgressBar.__constructor__(ProgressBar.java) | |
at android.widget.ProgressBar.<init>(ProgressBar.java) | |
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:525) | |
at org.robolectric.res.ViewNode.constructView(ViewNode.java:149) | |
at org.robolectric.res.ViewNode.create(ViewNode.java:90) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:28) | |
at org.robolectric.res.RoboLayoutInflater.doInflate(RoboLayoutInflater.java:31) | |
at org.robolectric.res.RoboLayoutInflater.inflateView(RoboLayoutInflater.java:48) | |
at org.robolectric.shadows.ShadowLayoutInflater.inflate(ShadowLayoutInflater.java:49) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java) | |
at de.splitstudio.utils.ObjectListAdapter.getView(ObjectListAdapter.java:43) | |
at org.robolectric.shadows.ShadowAdapterView.addViews(ShadowAdapterView.java:314) | |
at org.robolectric.shadows.ShadowListView.addViews(ShadowListView.java:167) | |
at org.robolectric.shadows.ShadowAdapterView.update(ShadowAdapterView.java:302) | |
at org.robolectric.shadows.ShadowAdapterView.access$100(ShadowAdapterView.java:19) | |
at org.robolectric.shadows.ShadowAdapterView$1.run(ShadowAdapterView.java:85) | |
at org.robolectric.util.Scheduler.postDelayed(Scheduler.java:36) | |
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:162) | |
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:52) | |
at org.robolectric.shadows.ShadowHandler.post(ShadowHandler.java:47) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.os.Handler.post(Handler.java) | |
at org.robolectric.shadows.ShadowAdapterView.invalidateAndScheduleUpdate(ShadowAdapterView.java:81) | |
at org.robolectric.shadows.ShadowAdapterView.setAdapter(ShadowAdapterView.java:45) | |
at org.robolectric.shadows.ShadowListView.setAdapter(ShadowListView.java:83) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.widget.ListView.setAdapter(ListView.java) | |
at org.robolectric.shadows.ShadowListActivity.setListAdapter(ShadowListActivity.java:57) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.robolectric.bytecode.ShadowWrangler.methodInvoked(ShadowWrangler.java:116) | |
at org.robolectric.bytecode.RobolectricInternals.methodInvoked(RobolectricInternals.java:112) | |
at android.app.ListActivity.setListAdapter(ListActivity.java) | |
at de.splitstudio.fastbudget3.OverviewActivity.onCreate(OverviewActivity.java:36) | |
at de.splitstudio.fastbudget3.OverviewActivityWith3Categories.setUp(OverviewActivityWith3Categories.java:35) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
... 20 more | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment