Want more features on Pastebin? Sign Up, it's FREE!
Guest

stacktrace-play

By: a guest on Sep 30th, 2011  |  syntax: None  |  size: 5.84 KB  |  views: 60  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Response response = POST("/itemss/address/"+userCart.getCustomer().getId().toString(),addressParams);
  2.  
  3. java.lang.RuntimeException: java.util.concurrent.ExecutionException: play.exceptions.JavaExecutionException
  4.         at play.test.FunctionalTest.makeRequest(FunctionalTest.java:291)
  5.         at play.test.FunctionalTest.makeRequest(FunctionalTest.java:297)
  6.         at play.test.FunctionalTest.POST(FunctionalTest.java:149)
  7.         at play.test.FunctionalTest.POST(FunctionalTest.java:197)
  8.         at play.test.FunctionalTest.POST(FunctionalTest.java:164)
  9.         at ApplicationTest.testAddValidAddressWorks(ApplicationTest.java:223)
  10.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  11.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  12.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  13.         at java.lang.reflect.Method.invoke(Method.java:597)
  14.         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  15.         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  16.         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  17.         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  18.         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  19.         at play.test.PlayJUnitRunner$StartPlay$2$1.evaluate(PlayJUnitRunner.java:98)
  20.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
  21.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  22.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  23.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  24.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  25.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  26.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  27.         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  28.         at play.test.PlayJUnitRunner.run(PlayJUnitRunner.java:48)
  29.         at org.junit.runners.Suite.runChild(Suite.java:128)
  30.         at org.junit.runners.Suite.runChild(Suite.java:24)
  31.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  32.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  33.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  34.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  35.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  36.         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  37.         at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
  38.         at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
  39.         at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
  40.         at play.test.TestEngine.run(TestEngine.java:101)
  41.         at controllers.TestRunner.run(TestRunner.java:67)
  42.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  43.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  44.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  45.         at java.lang.reflect.Method.invoke(Method.java:597)
  46.         at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:546)
  47.         at play.mvc.ActionInvoker.invoke(ActionInvoker.java:500)
  48.         at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:476)
  49.         at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:471)
  50.         at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
  51.         at play.server.PlayHandler$NettyInvocation.execute(PlayHandler.java:220)
  52.         at play.Invoker$Invocation.run(Invoker.java:265)
  53.         at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:200)
  54.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  55.         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  56.         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  57.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
  58.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
  59.         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  60.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  61.         at java.lang.Thread.run(Thread.java:619)
  62. Caused by: java.util.concurrent.ExecutionException: play.exceptions.JavaExecutionException
  63.         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
  64.         at java.util.concurrent.FutureTask.get(FutureTask.java:91)
  65.         at play.test.FunctionalTest.makeRequest(FunctionalTest.java:278)
  66.         ... 57 more
  67. Caused by: play.exceptions.JavaExecutionException
  68.         at play.mvc.ActionInvoker.invoke(ActionInvoker.java:229)
  69.         at play.test.FunctionalTest$1.execute(FunctionalTest.java:265)
  70.         at play.Invoker$Invocation.run(Invoker.java:265)
  71.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  72.         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  73.         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  74.         ... 3 more
  75. Caused by: java.lang.NullPointerException
  76.         at play.db.jpa.GenericModel$JPAQuery.bind(GenericModel.java:332)
  77.         at controllers.Account.findOrCreateAddress(Account.java:207)
  78.         at controllers.Account.setCustomerAddressDetails(Account.java:159)
  79.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  80.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  81.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  82.         at java.lang.reflect.Method.invoke(Method.java:597)
  83.         at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:546)
  84.         at play.mvc.ActionInvoker.invoke(ActionInvoker.java:500)
  85.         at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:476)
  86.         at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:471)
  87.         at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
  88.         ... 8 more
  89.    
  90.  
clone this paste RAW Paste Data