[
http://jira.jboss.com/jira/browse/JBRULES-1574?page=comments#action_12410861 ]
Michael Neale commented on JBRULES-1574:
----------------------------------------
OK the problem is that it will try and open the DSL for the "content assistance"
- fail, and then not let you get any further. That is bad, I will correct it so even if it
fails, you have a chance to correct the things causing the failure. Sorry about that, bit
of a case I didn't think of.
Unable to open DSL file in BRMS (Exception)
--------------------------------------------
Key: JBRULES-1574
URL:
http://jira.jboss.com/jira/browse/JBRULES-1574
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-brms
Affects Versions: 4.0.4
Reporter: Jurgen Van Bouchaute
Assigned To: Michael Neale
When trying to open a DSL file in the BRMS (4.0.4), following exception :
Java.util.regex.PatternSyntaxException: Unclosed group near index 46
(\W|^)\$address:\s+AddressItf(\s+country(\W|$) ^ at j
THe DSL file has most likely an invalid structure, but the BRMS does not allow me to
update it anymore ...
An error occurred executing the action.
Details
java.util.regex.PatternSyntaxException: Unclosed group near index 46
(\W|^)\$address:\s+AddressItf(\s+country(\W|$) ^ at
java.util.regex.Pattern.error(Pattern.java:1650) at
java.util.regex.Pattern.accept(Pattern.java:1508) at
java.util.regex.Pattern.group0(Pattern.java:2460) at
java.util.regex.Pattern.sequence(Pattern.java:1715) at
java.util.regex.Pattern.expr(Pattern.java:1687) at
java.util.regex.Pattern.compile(Pattern.java:1397) at
java.util.regex.Pattern.<init>(Pattern.java:1124) at
java.util.regex.Pattern.compile(Pattern.java:840) at
org.drools.lang.dsl.DefaultDSLMappingEntry.setMappingKey(DefaultDSLMappingEntry.java:169)
at org.drools.lang.dsl.DefaultDSLMappingEntry.<init>(DefaultDSLMappingEntry.java:74)
at org.drools.lang.dsl.DSLMappingFile.parseAndLoad(DSLMappingFile.java:146) at
org.drools.brms.server.builder.BRMSPackageBuilder.getDSLMappingFiles(BRMSPackageBuilder.java:168)
at
org.drools.brms.server.util.BRMSSuggestionCompletionLoader.getDSLMappingFiles(BRMSSuggestionCompletionLoader.java:56)
at
org.drools.brms.server.util.BRMSSuggestionCompletionLoader.getSuggestionEngine(BRMSSuggestionCompletionLoader.java:41)
at
org.drools.brms.server.ServiceImplementation.loadSuggestionCompletionEngine(ServiceImplementation.java:769)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:585) at
org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:40)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91) at
org.drools.brms.server.ServiceImplementation_$$_javassist_3.loadSuggestionCompletionEngine(ServiceImplementation_$$_javassist_3.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:585) at
org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTToSeamAdapter.java:74)
at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall(GWTRemoteServiceServlet.java:290)
at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost(GWTRemoteServiceServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:46)
at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at
java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira