org.jboss.weld.interceptor.proxy.InterceptorException: java.lang.VerifyError: StackMapTable format error: bad type array size in method com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setTime(ILjava/sql/Time;)V

GitHub | jhsheets | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Agent instrumentation errors with JDBC PreparedStatement

    GitHub | 1 year ago | jhsheets
    org.jboss.weld.interceptor.proxy.InterceptorException: java.lang.VerifyError: StackMapTable format error: bad type array size in method com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setTime(ILjava/sql/Time;)V
  2. 0

    Having: {code} public class ManagedObject { public String sayHello(@NotNull String name) { return "Hello," + name; } } {code} and a test class injecting an instance and calling the method produces the following error: {code} java.lang.ClassCastException: org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy cannot be cast to javax.validation.executable.ExecutableValidator at org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy.forExecutables(Unknown Source) at org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor.validateMethodInvocation(ValidationInterceptor.java:73) 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:606) at org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30) at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNext(AbstractInterceptionChain.java:93) at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNextInterceptor(AbstractInterceptionChain.java:78) at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:48) at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:41) at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53) at org.jboss.forge.addon.validation.ManagedObject$Proxy$_$$_WeldSubclass.sayHello(Unknown Source) at org.jboss.forge.addon.validation.MethodValidatorTest.testValidationPass(MethodValidatorTest.java:65) {code} It is reproducible by pulling the sources from {{https://github.com/forge/core/}}, branch {{bean_addon_validation}} and running the {{org.jboss.forge.addon.validation.MethodValidatorTest}} test. This does not happen with 5.1.0.Beta1

    Hibernate JIRA | 3 years ago | George Gastaldi
    java.lang.ClassCastException: org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy cannot be cast to javax.validation.executable.ExecutableValidator at org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy.forExecutables(Unknown Source)
  3. 0

    Having: {code} public class ManagedObject { public String sayHello(@NotNull String name) { return "Hello," + name; } } {code} and a test class injecting an instance and calling the method produces the following error: {code} java.lang.ClassCastException: org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy cannot be cast to javax.validation.executable.ExecutableValidator at org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy.forExecutables(Unknown Source) at org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor.validateMethodInvocation(ValidationInterceptor.java:73) 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:606) at org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30) at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNext(AbstractInterceptionChain.java:93) at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNextInterceptor(AbstractInterceptionChain.java:78) at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:48) at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:41) at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53) at org.jboss.forge.addon.validation.ManagedObject$Proxy$_$$_WeldSubclass.sayHello(Unknown Source) at org.jboss.forge.addon.validation.MethodValidatorTest.testValidationPass(MethodValidatorTest.java:65) {code} It is reproducible by pulling the sources from {{https://github.com/forge/core/}}, branch {{bean_addon_validation}} and running the {{org.jboss.forge.addon.validation.MethodValidatorTest}} test. This does not happen with 5.1.0.Beta1

    Hibernate JIRA | 3 years ago | George Gastaldi
    java.lang.ClassCastException: org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy cannot be cast to javax.validation.executable.ExecutableValidator at org.jboss.weld.proxies.Validator$-976505265$Proxy$_$$_WeldClientProxy.forExecutables(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    You cannot commit during a managed transaction

    Stack Overflow | 2 years ago | prabello
    javax.persistence.RollbackException: Error while committing the transaction: javax.faces.FacesException: #{cadastroColaboradorBean.adiciona}: javax.persistence.RollbackException: Error while committing the transaction
  6. 0

    You cannot commit during a managed transaction

    tagwith.com | 1 year ago
    javax.persistence.RollbackException: Error while committing the transaction: javax.faces.FacesException: #{cadastroColaboradorBean.adiciona}: javax.persistence.RollbackException: Error while committing the transaction

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.weld.interceptor.proxy.InterceptorException

      java.lang.VerifyError: StackMapTable format error: bad type array size in method com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setTime(ILjava/sql/Time;)V

      at org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed()
    2. Weld Implementation
      InterceptorInvocationContext.proceed
      1. org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:150)[weld-servlet.jar:2013-07-17 09:29]
      1 frame
    3. org.mybatis.cdi
      LocalTransactionInterceptor.invoke
      1. org.mybatis.cdi.LocalTransactionInterceptor.invoke(LocalTransactionInterceptor.java:58)[mybatis-cdi-1.0.0-beta1.jar:1.0.0-beta1]
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_79]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_79]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_79]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_79]
      4 frames
    5. Weld Implementation
      SimpleMethodInvocation.invoke
      1. org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)[weld-servlet.jar:2013-07-17 09:29]
      1 frame
    6. org.jboss.weld
      AbstractInterceptionChain.invokeNextInterceptor
      1. org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNext(AbstractInterceptionChain.java:93)[weld-servlet.jar:2013-07-17 09:29]
      2. org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNextInterceptor(AbstractInterceptionChain.java:78)
      2 frames