Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion

"Error 400 on Build Package Click"

To view the discussion, visit: http://community.jboss.org/message/621389#621389

--------------------------------------------------------------
Hi,

I got the following error when I tryed to build the default sample repository 
after starting guvnor the first time.

I then tried to build my own package, and got the same error:

|  | 400 Sorry, a technical error occurred. Please contact a system 
administrator. |

This is what the server log says:


> | 2011-08-17 15:52:44,813 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-1) 
> ERROR 17-08 15:52:44,811 (LoggingHelper.java:error:69)  | Service method 
> 'public abstract org.drools.guvnor.client.rpc.BuilderResult 
> org.drools.guvnor.client.rpc.PackageService.buildPackage
> (java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,
> java.lang.String,boolean,java.lang.String) 
> throws com.google.gwt.user.client.rpc.SerializationException' threw an 
> unexpected exception: org.drools.RuntimeDroolsException: 
> Unable to load dialect 
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.
> JavaDialectConfiguration' |
> org.drools.RuntimeDroolsException: Unable to load dialect 
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
> |  | at 
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
>  |
> |  | at 
> org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
>  |
> |  | at 
> org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
>  |
> |  | at 
> org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:148)
>  |
> |  | at 
> org.drools.guvnor.server.builder.BRMSPackageBuilder.getPackageBuilderConfiguration(BRMSPackageBuilder.java:134)
>  |
> |  | at 
> org.drools.guvnor.server.builder.BRMSPackageBuilder.<init>(BRMSPackageBuilder.java:67)
>  |
> |  | at 
> org.drools.guvnor.server.builder.AssemblerBase.createBuilder(AssemblerBase.java:46)
>  |
> |  | at 
> org.drools.guvnor.server.builder.PackageAssembler.createBuilder(PackageAssembler.java:35)
>  |
> |  | at 
> org.drools.guvnor.server.builder.AssemblerBase.<init>(AssemblerBase.java:42) |
> |  | at 
> org.drools.guvnor.server.builder.PackageAssemblerBase.<init>(PackageAssemblerBase.java:44)
>  |
> |  | at 
> org.drools.guvnor.server.builder.PackageAssembler.<init>(PackageAssembler.java:49)
>  |
> |  | at 
> org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:522)
>  |
> |  | at 
> org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:480)
>  |
> |  | at 
> org.drools.guvnor.server.RepositoryPackageService.buildPackage(RepositoryPackageService.java:299)
>  |
> |  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
> |  | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
> |
> |  | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  |
> |  | at java.lang.reflect.Method.invoke(Method.java:601) |
> |  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) |
> |  | 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:28)
>  |
> |  | at 
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>  |
> |  | at 
> org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
>  |
> |  | at 
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>  |
> |  | at 
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
>  |
> |  | at 
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>  |
> |  | at 
> org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)
>  |
> |  | at 
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>  |
> |  | at 
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) |
> |  | at 
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
>  |
> |  | at 
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
>  |
> |  | at 
> org.drools.guvnor.server.RepositoryPackageService_$$_javassist_7.buildPackage(RepositoryPackageService_$$_javassist_7.java)
>  |
> |  | at 
> org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:282)
>  |
> |  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
> |  | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
> |
> |  | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  |
> |  | at java.lang.reflect.Method.invoke(Method.java:601) |
> |  | at 
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) |
> |  | at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>  |
> |  | at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>  |
> |  | at 
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>  |
> |  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) |
> |  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) |
> |  | 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:53)
>  |
> |  | 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:235)
>  |
> |  | at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>  |
> |  | at 
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
>  |
> |  | at 
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
>  |
> |  | at 
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
>  |
> |  | at 
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
>  |
> |  | at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
> |
> |  | at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
> |
> |  | at 
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
>  |
> |  | at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  |
> |  | at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) |
> |  | at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) |
> |  | at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
>  |
> |  | at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) |
> |  | at java.lang.Thread.run(Thread.java:722) |
> Caused by: org.drools.RuntimeDroolsException: value '1.7' is not a valid 
> language level
> |  | at 
> org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:161)
>  |
> |  | at 
> org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)
>  |
> |  | at 
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
>  |
> |  | ... 68 more |
> 

Any hints?

Best regards,
Tobias
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621389#621389]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to