Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1522

Expenses Scaffold App: Saving an Expense or a Report with a blank Created field throws an NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      The new expense is still saved, but can't be edited b/c selecting it throws another NPE.

      [ERROR] Thu Oct 07 16:02:30 EDT 2010 org.springsource.roo.extrack.client.scaffold.Scaffold
      [ERROR] SEVERE: null
      [ERROR] java.lang.NullPointerException: null
      [ERROR] at com.google.gwt.i18n.client.DateTimeFormat.format(DateTimeFormat.java:912)
      [ERROR] at org.springsource.roo.extrack.client.scaffold.generated.ExpenseDetailsView.setValue(ExpenseDetailsView.java:91)
      [ERROR] at org.springsource.roo.extrack.client.scaffold.generated.ExpenseDetailsView.setValue(ExpenseDetailsView.java:1)
      [ERROR] at org.springsource.roo.extrack.client.ui.ExpenseDetailsActivity$2.onSuccess(ExpenseDetailsActivity.java:77)
      [ERROR] at org.springsource.roo.extrack.client.ui.ExpenseDetailsActivity$2.onSuccess(ExpenseDetailsActivity.java:1)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.succeed(AbstractRequest.java:214)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestFactory$2.handleResult(AbstractRequestFactory.java:114)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:111)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:390)
      [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.java:140)
      [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
      [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
      [ERROR] at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:616)
      [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
      [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
      [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
      [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
      [ERROR] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:616)
      [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
      [ERROR] at java.lang.Thread.run(Thread.java:636)
      [ERROR] Oct 7, 2010 4:02:30 PM com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer
      [ERROR] SEVERE:
      [ERROR] java.lang.Throwable:
      [ERROR] at com.google.gwt.i18n.client.DateTimeFormat.format(DateTimeFormat.java:912)
      [ERROR] at org.springsource.roo.extrack.client.scaffold.generated.ExpenseDetailsView.setValue(ExpenseDetailsView.java:91)
      [ERROR] at org.springsource.roo.extrack.client.scaffold.generated.ExpenseDetailsView.setValue(ExpenseDetailsView.java:1)
      [ERROR] at org.springsource.roo.extrack.client.ui.ExpenseDetailsActivity$2.onSuccess(ExpenseDetailsActivity.java:77)
      [ERROR] at org.springsource.roo.extrack.client.ui.ExpenseDetailsActivity$2.onSuccess(ExpenseDetailsActivity.java:1)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.succeed(AbstractRequest.java:214)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestFactory$2.handleResult(AbstractRequestFactory.java:114)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:111)
      [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:390)
      [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.java:140)
      [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
      [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
      [ERROR] at sun.reflect.GeneratedMethodAccessor37.invoke()
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:616)
      [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562)
      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
      [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
      [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
      [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
      [ERROR] at sun.reflect.GeneratedMethodAccessor34.invoke()
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:616)
      [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
      [ERROR] at java.lang.Thread.run(Thread.java:636)

        Attachments

          Activity

            People

            Assignee:
            jtyrrell James Tyrrell
            Reporter:
            sbrubaker Stephanie Brubaker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: