{"action":"opened","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/3356","repository_url":"https://api.github.com/repos/IQSS/dataverse","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/3356/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/3356/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/3356/events","html_url":"https://github.com/IQSS/dataverse/issues/3356","id":177009982,"number":3356,"title":"Saved Search: Null ptr error when creating saved search, may be related to IP Groups refactor","user":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Component:%20Permissions","name":"Component: Permissions","color":"c7def8"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Component:%20Search/Browse","name":"Component: Search/Browse","color":"c7def8"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Component:%20Superuser","name":"Component: Superuser","color":"c7def8"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Priority%203:%20Serious","name":"Priority 3: Serious","color":"d93f0b"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Status:%20Dev","name":"Status: Dev","color":"66cc66"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Bug","name":"Type: Bug","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"assignees":[{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/IQSS/dataverse/milestones/57","html_url":"https://github.com/IQSS/dataverse/milestones/4.5.1%20-%20IP%20Groups%20fixes","labels_url":"https://api.github.com/repos/IQSS/dataverse/milestones/57/labels","id":1960683,"number":57,"title":"4.5.1 - IP Groups fixes","description":"","creator":{"login":"djbrooke","id":7773392,"avatar_url":"https://avatars.githubusercontent.com/u/7773392?v=3","gravatar_id":"","url":"https://api.github.com/users/djbrooke","html_url":"https://github.com/djbrooke","followers_url":"https://api.github.com/users/djbrooke/followers","following_url":"https://api.github.com/users/djbrooke/following{/other_user}","gists_url":"https://api.github.com/users/djbrooke/gists{/gist_id}","starred_url":"https://api.github.com/users/djbrooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbrooke/subscriptions","organizations_url":"https://api.github.com/users/djbrooke/orgs","repos_url":"https://api.github.com/users/djbrooke/repos","events_url":"https://api.github.com/users/djbrooke/events{/privacy}","received_events_url":"https://api.github.com/users/djbrooke/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":9,"state":"open","created_at":"2016-08-24T14:44:22Z","updated_at":"2016-09-14T20:20:14Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-14T20:20:14Z","updated_at":"2016-09-14T20:20:14Z","closed_at":null,"body":"\r\nTesting Saved Search since it was partly refactored due to IP Groups. Found that creating a saved search resulted in a null ptr error:\r\n\r\n[2016-09-14T16:05:10.099-0400] [glassfish 4.1] [WARNING] [] [javax.enterprise.resource.webcontainer.jsf.lifecycle] [tid: _ThreadID=50 _ThreadName=jk-connector(1)] [timeMillis: 1473883510099] [levelValue: 900] [[\r\n  #{DataversePage.saveSavedSearch}: javax.ejb.EJBException\r\njavax.faces.FacesException: #{DataversePage.saveSavedSearch}: javax.ejb.EJBException\r\n\tat com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)\r\n\tat javax.faces.component.UICommand.broadcast(UICommand.java:315)\r\n\tat javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)\r\n\tat javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)\r\n\tat com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)\r\n\tat com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)\r\n\tat com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)\r\n\tat javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)\r\n\tat org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\r\n\tat org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:205)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:739)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:575)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:546)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:428)\r\n\tat org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:378)\r\n\tat org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler.handleResult(HttpRewriteResultHandler.java:41)\r\n\tat org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:268)\r\n\tat org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)\r\n\tat org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)\r\n\tat org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)\r\n\tat com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)\r\n\tat org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)\r\n\tat org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)\r\n\tat org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)\r\n\tat org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)\r\n\tat org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: javax.faces.el.EvaluationException: javax.ejb.EJBException\r\n\tat javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)\r\n\tat com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)\r\n\t... 51 more\r\nCaused by: javax.ejb.EJBException\r\n\tat com.sun.ejb.containers.EJBContainerTransactionManager.processSystemException(EJBContainerTransactionManager.java:748)\r\n\tat com.sun.ejb.containers.EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:698)\r\n\tat com.sun.ejb.containers.EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:503)\r\n\tat com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4566)\r\n\tat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2074)\r\n\tat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2044)\r\n\tat com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:220)\r\n\tat com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)\r\n\tat com.sun.proxy.$Proxy295.submit(Unknown Source)\r\n\tat edu.harvard.iq.dataverse.__EJB31_Generated__EjbDataverseEngine__Intf____Bean__.submit(Unknown Source)\r\n\tat edu.harvard.iq.dataverse.DataversePage.saveSavedSearch(DataversePage.java:833)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.sun.el.parser.AstValue.invoke(AstValue.java:289)\r\n\tat com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)\r\n\tat org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)\r\n\tat org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)\r\n\tat com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)\r\n\tat javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)\r\n\t... 52 more\r\nCaused by: java.lang.NullPointerException\r\n\tat edu.harvard.iq.dataverse.engine.command.DataverseRequest.<init>(DataverseRequest.java:23)\r\n\tat edu.harvard.iq.dataverse.engine.command.impl.CreateSavedSearchCommand.execute(CreateSavedSearchCommand.java:44)\r\n\tat edu.harvard.iq.dataverse.engine.command.impl.CreateSavedSearchCommand.execute(CreateSavedSearchCommand.java:17)\r\n\tat edu.harvard.iq.dataverse.EjbDataverseEngine.submit(EjbDataverseEngine.java:201)\r\n\tat sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)\r\n\tat org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)\r\n\tat com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)\r\n\tat com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)\r\n\tat com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)\r\n\tat com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)\r\n\tat org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)\r\n\tat org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)\r\n\tat sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)\r\n\tat com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)\r\n\tat com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)\r\n\tat com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)\r\n\tat com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)\r\n\tat sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)\r\n\tat com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)\r\n\tat com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)\r\n\tat com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)\r\n\tat com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)\r\n\tat com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)\r\n\t... 66 more\r\n]]\r\n"}}
{"actor":{"display_login":"kcondon"}}