{"action":"closed","issue":{"url":"https://api.github.com/repos/openpreserve/plato/issues/247","labels_url":"https://api.github.com/repos/openpreserve/plato/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/openpreserve/plato/issues/247/comments","events_url":"https://api.github.com/repos/openpreserve/plato/issues/247/events","html_url":"https://github.com/openpreserve/plato/issues/247","id":78531450,"number":247,"title":"[Plato: Define Alternatives] MiniReef causes QueryParseException","user":{"login":"kraxner","id":631718,"avatar_url":"https://avatars.githubusercontent.com/u/631718?v=3","gravatar_id":"","url":"https://api.github.com/users/kraxner","html_url":"https://github.com/kraxner","followers_url":"https://api.github.com/users/kraxner/followers","following_url":"https://api.github.com/users/kraxner/following{/other_user}","gists_url":"https://api.github.com/users/kraxner/gists{/gist_id}","starred_url":"https://api.github.com/users/kraxner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraxner/subscriptions","organizations_url":"https://api.github.com/users/kraxner/orgs","repos_url":"https://api.github.com/users/kraxner/repos","events_url":"https://api.github.com/users/kraxner/events{/privacy}","received_events_url":"https://api.github.com/users/kraxner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openpreserve/plato/labels/defect","name":"defect","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-20T13:38:31Z","updated_at":"2015-05-22T18:30:40Z","closed_at":"2015-05-22T18:30:40Z","body":"MiniReef causes a QueryParseException with wrong input.\r\n\r\ncertainly \"G:\\\\tmp\\\\\" is not a valid PUID, but it should not lead to a crash neither.\r\n```\r\nException type: javax.faces.FacesException\r\nException message: #{defineAlternatives.showPreservationServices(registry)}: javax.ejb.EJBException: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\r\nStacktrace:\r\n-------------------------------------------\r\njavax.faces.FacesException: #{defineAlternatives.showPreservationServices(registry)}: javax.ejb.EJBException: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\r\n\tat com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:89)\r\n\tat com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)\r\n\tat com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)\r\n\tat javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)\r\n\tat org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)\r\n\tat eu.scape_project.planning.services.UTF8EncodingFilter.doFilter(UTF8EncodingFilter.java:50)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)\r\n\tat org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)\r\n\tat eu.scape_project.planning.jboss.util.UTF8EncodingValve.invoke(UTF8EncodingValve.java:37)\r\n\tat org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)\r\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)\r\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: javax.faces.FacesException: #{defineAlternatives.showPreservationServices(registry)}: javax.ejb.EJBException: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\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 com.sun.faces.facelets.component.UIRepeat.broadcast(UIRepeat.java:911)\r\n\tat javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)\r\n\tat javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)\r\n\tat com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)\r\n\t... 25 more\r\nCaused by: javax.faces.el.EvaluationException: javax.ejb.EJBException: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\r\n\tat javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)\r\n\tat com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)\r\n\t... 30 more\r\nCaused by: javax.ejb.EJBException: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)\r\n\tat org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)\r\n\tat org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.component.stateful.StatefulComponentIdInterceptor.processInvocation(StatefulComponentIdInterceptor.java:52)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)\r\n\tat org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)\r\n\tat eu.scape_project.planning.plato.wf.DefineAlternatives$$$view25.queryRegistry(Unknown Source)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)\r\n\tat org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)\r\n\tat org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)\r\n\tat org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)\r\n\tat org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:111)\r\n\tat org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)\r\n\tat org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)\r\n\tat eu.scape_project.planning.plato.wf.DefineAlternatives$Proxy$_$$_Weld$Proxy$.queryRegistry(DefineAlternatives$Proxy$_$$_Weld$Proxy$.java)\r\n\tat eu.scape_project.planning.plato.wf.DefineAlternatives$Proxy$_$$_WeldClientProxy.queryRegistry(DefineAlternatives$Proxy$_$$_WeldClientProxy.java)\r\n\tat eu.scape_project.planning.plato.wfview.full.DefineAlternativesView.showPreservationServices(DefineAlternativesView.java:380)\r\n\tat eu.scape_project.planning.plato.wfview.full.DefineAlternativesView$Proxy$_$$_WeldClientProxy.showPreservationServices(DefineAlternativesView$Proxy$_$$_WeldClientProxy.java)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.apache.el.parser.AstValue.invoke(AstValue.java:262)\r\n\tat org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)\r\n\tat org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)\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:88)\r\n\t... 31 more\r\nCaused by: com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 519.  Encountered: \"D\" (68), after : \"\\\"G:\\\\tmp\\\\\"\r\n\tat com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:111)\r\n\tat com.hp.hpl.jena.sparql.lang.ParserARQ.parse$(ParserARQ.java:53)\r\n\tat com.hp.hpl.jena.sparql.lang.SPARQLParser.parse(SPARQLParser.java:37)\r\n\tat com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:156)\r\n\tat com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:79)\r\n\tat com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:52)\r\n\tat at.tuwien.minireef.MiniREEF.resolve(MiniREEF.java:163)\r\n\tat at.tuwien.minireef.MiniREEFResolver.resolve(MiniREEFResolver.java:51)\r\n\tat at.tuwien.minimee.registry.MiniReefServiceRegistry.getAvailableActions(MiniReefServiceRegistry.java:96)\r\n\tat eu.scape_project.planning.plato.wf.DefineAlternatives.queryRegistry(DefineAlternatives.java:103)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)\r\n\tat org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:127)\r\n\tat org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:135)\r\n\tat org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)\r\n\tat org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:58)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:156)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:84)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)\r\n\tat org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:70)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228)\r\n\t... 76 more\r\n-------------------------------------------\r\n```"}}