java.lang.RuntimeException: invalid (blank) timeString

Kuali JIRA | Gayathri Athreya | 4 years ago
  1. 0

    On filling any date field with a space and saving, the following stack trace is thrown. Dates are checked for blank fields in the DateTimeServiceImpl in the following lines {code} public java.sql.Date convertToSqlDate(String dateString) throws ParseException { if (StringUtils.isBlank(dateString)) { throw new IllegalArgumentException("invalid (blank) timeString"); } Date date = parseAgainstFormatArray(dateString, stringToDateFormats); return new java.sql.Date(date.getTime()); } {code} When the date field contains a space, the StringUtils.isBlank comes back true and the exception is thrown. Since this piece of code runs before the validation rules kick in, this cannot be fixed on the client end. Also since this happens on every date field, a Rice fix is required. {code} java.lang.RuntimeException: invalid (blank) timeString at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:239) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:172) at org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:111) at org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:181) at org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62) at org.kuali.kra.web.struts.form.KraTransactionalDocumentFormBase.populate(KraTransactionalDocumentFormBase.java:87) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:283) at org.kuali.kra.web.struts.action.KraRequestProcessor.processPopulate(KraRequestProcessor.java:90) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355) at org.kuali.kra.web.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:97) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.PerformanceLoggingFilter.doFilter(PerformanceLoggingFilter.java:73) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.IllegalArgumentException: invalid (blank) timeString at org.kuali.rice.core.impl.datetime.DateTimeServiceImpl.convertToSqlDate(DateTimeServiceImpl.java:172) at org.kuali.rice.core.web.format.DateFormatter.convertToObject(DateFormatter.java:70) at org.kuali.rice.core.web.format.Formatter.convertFromPresentationFormat(Formatter.java:424) at org.kuali.rice.krad.util.ObjectUtils.setObjectProperty(ObjectUtils.java:444) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:212) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:172) at org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:111) at org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:181) at org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62) at org.kuali.kra.web.struts.form.KraTransactionalDocumentFormBase.populate(KraTransactionalDocumentFormBase.java:87) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:283) at org.kuali.kra.web.struts.action.KraRequestProcessor.processPopulate(KraRequestProcessor.java:90) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355) at org.kuali.kra.web.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:97) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.PerformanceLoggingFilter.doFilter(PerformanceLoggingFilter.java:73) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:679) {code}

    Kuali JIRA | 4 years ago | Gayathri Athreya
    java.lang.RuntimeException: invalid (blank) timeString
  2. 0

    On filling any date field with a space and saving, the following stack trace is thrown. Dates are checked for blank fields in the DateTimeServiceImpl in the following lines {code} public java.sql.Date convertToSqlDate(String dateString) throws ParseException { if (StringUtils.isBlank(dateString)) { throw new IllegalArgumentException("invalid (blank) timeString"); } Date date = parseAgainstFormatArray(dateString, stringToDateFormats); return new java.sql.Date(date.getTime()); } {code} When the date field contains a space, the StringUtils.isBlank comes back true and the exception is thrown. Since this piece of code runs before the validation rules kick in, this cannot be fixed on the client end. Also since this happens on every date field, a Rice fix is required. {code} java.lang.RuntimeException: invalid (blank) timeString at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:239) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:172) at org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:111) at org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:181) at org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62) at org.kuali.kra.web.struts.form.KraTransactionalDocumentFormBase.populate(KraTransactionalDocumentFormBase.java:87) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:283) at org.kuali.kra.web.struts.action.KraRequestProcessor.processPopulate(KraRequestProcessor.java:90) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355) at org.kuali.kra.web.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:97) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.PerformanceLoggingFilter.doFilter(PerformanceLoggingFilter.java:73) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.IllegalArgumentException: invalid (blank) timeString at org.kuali.rice.core.impl.datetime.DateTimeServiceImpl.convertToSqlDate(DateTimeServiceImpl.java:172) at org.kuali.rice.core.web.format.DateFormatter.convertToObject(DateFormatter.java:70) at org.kuali.rice.core.web.format.Formatter.convertFromPresentationFormat(Formatter.java:424) at org.kuali.rice.krad.util.ObjectUtils.setObjectProperty(ObjectUtils.java:444) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:212) at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:172) at org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:111) at org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:181) at org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62) at org.kuali.kra.web.struts.form.KraTransactionalDocumentFormBase.populate(KraTransactionalDocumentFormBase.java:87) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:283) at org.kuali.kra.web.struts.action.KraRequestProcessor.processPopulate(KraRequestProcessor.java:90) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355) at org.kuali.kra.web.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:97) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.PerformanceLoggingFilter.doFilter(PerformanceLoggingFilter.java:73) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.kra.web.filter.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:679) {code}

    Kuali JIRA | 4 years ago | Gayathri Athreya
    java.lang.RuntimeException: invalid (blank) timeString
  3. 0

    Crash at start

    GitHub | 1 year ago | nake90
    java.lang.RuntimeException: Unable to resume activity {sk.baka.aedict3/sk.baka.aedict3.search.MainActivity}: java.lang.IllegalArgumentException: value: blank
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    http://jira.arizona.edu/browse/KITT-2351 A Credit Memo (CM) can be applied using 3 different options. 1) against a PREQ 2) against a PO 3) against a Vendor This issue is when a CM is being applied against the PO. When trying to create a CM against a PO, if any of the PO lines have not been invoiced against the system displays an error "The specified PO has no items that have been invoiced". I then added and submitted a PREQ. Without approving the PREQ, I then tried to add a CM and the system allowed that for whatever qty was on the PREQ.The PREQ can be canceled and the credit taken. Would like the similar logic that does not allow a CM if the invoice qty is on a PREQ that has not been approved. Also display a warning when canceling a PREQ where the qty credited will now be more than the expensed qty. JIRA COMMENTS {QUOTE} Chenise Patterson added a comment - 07/Dec/12 4:01 PM Not reviewed by the SME group at this time. Barb Sutton added a comment - 13/Mar/13 5:15 PM Hi Karyn, I changed this back to Functional Proposal Unspecified since it has not yet been reviewed according to Chenise's comment from Dec. This contribution is slated for 5.0.3 and needs to be reviewed by the SME team ASAP. Thanks. Karyn Pearl added a comment - 14/Mar/13 1:13 PM I retested the and received a stack trace error when trying to process a VCM on a PO that had a pending PREQ payment. java.lang.RuntimeException: Document number is blank/null. Unable to load a WorkflowDocument at org.kuali.kfs.sys.businessobject.FinancialSystemDocumentHeader.getWorkflowDocument(FinancialSystemDocumentHeader.java:168) at org.kuali.kfs.sec.service.impl.SecDocumentDictionaryServiceImpl.getBusinessRulesClass(SecDocumentDictionaryServiceImpl.java:40) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.getBusinessRulesInstance(KualiRuleServiceImpl.java:163) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:67) Bryan Hutchinson added a comment - 15/Mar/13 4:44 PM Karyn, Did you re-test this in INT? What you encountered sounds like a separate (new?) bug that should be reported if there isn't a JIRA for it already. Thanks, Bryan Barb Sutton added a comment - 26/Mar/13 12:07 PM I moved this to proposal accepted since both functional and technical teams accepted the contribution. Karyn, did you see Bryan's previous comment regarding the stack trace error you received? Today in INT, I was able to create a CM (1019) against PO 1118 which had a PREQ (1141) awaiting FO approval today and did not get a stack trace. Do you want to try again? If you do get a stack trace, please create a new JIRA and be sure to record your exact steps, since you must be doing something different than what I did. Thanks! Heather Elyea added a comment - 01/May/13 3:03 PM Changing the Target KFS Version to TBD (with UoA's approval) since this issue will not be completed in time for 5.0.3. UoA will update as they are ready to commit to a current release. Amy Dougherty (Inactive) added a comment - 19/Jul/13 4:49 PM I tested in cntrb, build release 5-0-5 and created PO 1091/10122 and then created PREQ 1140/10134 and submitted it. Before fiscal officer approval I initiated a CM and when I clicked the continue button, received the error message "Credit Memo total must not exceed the specified PO's approved payments total of 0.00" Amy Dougherty (Inactive) added a comment - 01/Oct/13 3:45 PM See notes on KFSMI-9908. I think this contribution should be pulled. Thanks. Barb Sutton added a comment - 01/Oct/13 3:55 PM Thanks, Amy. Bryan will need to pull this code from 5.0.5. Do you think UA will do more work on this and contribute later? If so, we can keep move this KFSCNTRB issue back to project acceptance and change the target KFS release to TBD. When it's ready to go again, we'll change to the current patch release. If you don't think it will be contributed, we should cancel the contribution. If you let me know what UA decides, I can take care of the JIRA administration. Amy Dougherty (Inactive) added a comment - 01/Oct/13 3:58 PM I will try this week to find out if UA will do more work on this and contribute later. Amy Dougherty (Inactive) added a comment - 03/Oct/13 7:51 PM Barb, UA will do more work on this and contribute it later (our ticket KATTS-1966). Barb Sutton added a comment - 07/Oct/13 10:16 AM Thanks Amy. I changed the Target KFS Release & Source Branch to TBD. When you're ready to contribute updated code, just let us know and/or change the Target KFS Release to the current bug fix release. Barb Sutton added a comment - 07/Oct/13 2:41 PM - edited Bryan, the code for this needs to be pulled from the 5.0.5 branch. In the future I won't change the KFS Target release on the KFSCNTRB issue until after you have done that Bryan Hutchinson added a comment - 07/Oct/13 4:43 PM This has been pulled from the 5.0.5 branch. Charlie Sinex added a comment - 17/Feb/14 2:45 PM It is common at Indiana University that a routed payment request will be put on hold until the fiscal officer observes that the offsetting credit memo has been processed. I believe the error message documented for the PO scenario is a bug. I believe SME review of the proposal is in order (at a future date). The logic proposed in this JIRA is contrary to our business practice. Barb Sutton added a comment - 23/Sep/14 6:36 PM Reverting functional and technical proposal acceptance since this was deferred to a future patch release. It can be reviewed again when the fix is ready to be contributed. {QUOTE}

    Kuali JIRA | 4 years ago | Sam Rawlins
    java.lang.RuntimeException: Document number is blank/null. Unable to load a WorkflowDocument

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      invalid (blank) timeString

      at org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty()
    2. org.kuali.rice
      KualiTransactionalDocumentFormBase.populate
      1. org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:239)
      2. org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:172)
      3. org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:111)
      4. org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:181)
      5. org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62)
      5 frames
    3. org.kuali.kra
      KraTransactionalDocumentFormBase.populate
      1. org.kuali.kra.web.struts.form.KraTransactionalDocumentFormBase.populate(KraTransactionalDocumentFormBase.java:87)
      1 frame
    4. org.kuali.rice
      KualiRequestProcessor.processPopulate
      1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:283)
      1 frame
    5. org.kuali.kra
      KraRequestProcessor.processPopulate
      1. org.kuali.kra.web.struts.action.KraRequestProcessor.processPopulate(KraRequestProcessor.java:90)
      1 frame
    6. org.kuali.rice
      KualiRequestProcessor.process
      1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:208)
      2. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202)
      3. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89)
      3 frames
    7. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355)
      2 frames
    10. org.kuali.kra
      RequestLoggingFilter.doFilter
      1. org.kuali.kra.web.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:97)
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    12. org.kuali.rice
      UserPreferencesFilter.doFilter
      1. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78)
      2. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62)
      2 frames
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    14. org.kuali.rice
      UserLoginFilter.doFilter
      1. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89)
      2. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77)
      2 frames
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    16. org.kuali.rice
      BootstrapFilter.doFilter
      1. org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271)
      2. org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96)
      3. org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55)
      4. org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264)
      5. org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162)
      5 frames
    17. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    18. org.kuali.kra
      PerformanceLoggingFilter.doFilter
      1. org.kuali.kra.web.filter.PerformanceLoggingFilter.doFilter(PerformanceLoggingFilter.java:73)
      1 frame
    19. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    20. org.kuali.kra
      SessionExpiredFilter.doFilter
      1. org.kuali.kra.web.filter.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:46)
      1 frame
    21. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    22. Display tag library
      ResponseOverrideFilter.doFilter
      1. org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      1 frame
    23. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    24. org.kuali.rice
      HideWebInfFilter.doFilter
      1. org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69)
      1 frame
    25. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      1 frame
    26. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      2 frames
    27. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      14. org.eclipse.jetty.server.Server.handle(Server.java:349)
      15. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
      16. org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921)
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784)
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223)
      19. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
      19 frames
    28. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
      2 frames
    29. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
      2 frames
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)
      1 frame