OUCH!
I'm sorry, but you have encountered a bug or missing nice display of an error message in the application. If you can't guess the problem from the error message, please contact Hans-Peter Störr (www.stoerr.net [email protected]) with a copy of this page, or open an issue on https://github.com/stoerr/GrokConstructor/issues .
Please remember that you can always press the back button to fix what was wrong - there is no state on the server, only in the page shown in the browser.
Error message: java.util.NoSuchElementException: None.get
Request Info:
http://grokconstructor.appspot.com/do/constructionstep?null:
{"grokadditional":[""],"submit":["Continue!"],"pattern":["\A2015-09-28 09:50:48 [http-bio-80-exec-13] DEBUG com.weitoo.server.aspect.LogAspect -{ip:183.16.4.40,url:http://api\.weitoo\.com/server/sc/commodity/getOnlineCommodity,param:\{\"shopId\":1000001,\"needCategory\":false,\"needCommodityTotal\":false,\"searchCommodityId\":1002001}"],"multiline":[""],"nameOfNextPart":[""],"loglines":["2015-09-28 09:50:48 [http-bio-80-exec-13] DEBUG com.weitoo.server.aspect.LogAspect -{ip:183.16.4.40,url:http://api.weitoo.com/server/sc/commodity/getOnlineCommodity,param:{\"shopId\":1000001,\"needCategory\":false,\"needCommodityTotal\":false,\"searchCommodityId\":1002001},return:{\"status\":1,\"data\":{\"commodityDTO\":[{\"id\":1002001,\"shopId\":1000001,\"categoryId\":13,\"barcode\":\"6953252600013\",\"name\":\"????????\",\"price\":8.00,\"stock\":10000,\"unit\":\"\",\"picId\":61327,\"picPath\":\"/Uploads/Shoppic/2015/04/20/5534900cb9f9f.jpg\",\"status\":1,\"addType\":0}],\"commoditySize\":1,\"commodityTotal\":1,\"categoryCount\":0}},cost:3.911ms}"],"nextPartPerHand":[""],"groklibs":["firewalls","haproxy","linux-syslog","mcollective-patterns","postgresql","java","grok-patterns","redis","nagios","mongodb","ruby","mcollective","junos"],"nextPart":[",return:\\{\"status\":1,\"data\":\\{\"commodityDTO\":\\[\\{\"id\":1002001,\"shopId\":1000001,\"categoryId\":13,\"barcode\":\"6953252600013\",\"name\":\"????????\",\"price\":8\\.00,\"stock\":10000,\"unit\":\"\",\"picId\":61327,\"picPath\":\"/Uploads/Shoppic/2015/04/20/5534900cb9f9f\\.jpg\",\"status\":1,\"addType\":0}],\"commoditySize\":1,\"commodityTotal\":1,\"categoryCount\":0}}"]}
java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:344)
at scala.None$.get(Option.scala:342)
at net.stoerr.grokconstructor.incremental.IncrementalConstructionStepView$$anonfun$2.apply(IncrementalConstructionStepView.scala:26)
at net.stoerr.grokconstructor.incremental.IncrementalConstructionStepView$$anonfun$2.apply(IncrementalConstructionStepView.scala:24)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at net.stoerr.grokconstructor.incremental.IncrementalConstructionStepView.(IncrementalConstructionStepView.scala:23)
at net.stoerr.grokconstructor.webframework.WebDispatcher.giveView(WebDispatcher.scala:58)
at net.stoerr.grokconstructor.webframework.WebDispatcher.doGet(WebDispatcher.scala:32)
at net.stoerr.grokconstructor.webframework.WebDispatcher.doPost(WebDispatcher.scala:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:37)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:260)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:78)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:147)
at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:457)
at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437)
at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444)
at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:230)
at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308)
at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300)
at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441)
at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:235)
at java.lang.Thread.run(Thread.java:745)