[JBoss JIRA] (JASSIST-223) Failed to transform class with name ... Reason: [source error] incompatible type for =
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/JASSIST-223?page=com.atlassian.jira.plugi... ]
Scott Marlow closed JASSIST-223.
--------------------------------
Resolution: Done
> Failed to transform class with name ... Reason: [source error] incompatible type for =
> ---------------------------------------------------------------------------------------
>
> Key: JASSIST-223
> URL: https://issues.jboss.org/browse/JASSIST-223
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.18.1-GA
> Environment: Powermock 1.5.4 and Easymock 3.2
> Reporter: TeeWe Tee
> Assignee: Shigeru Chiba
> Fix For: 3.18.2-GA, 3.19.0-GA
>
> Attachments: PowerMock.zip, SigPadApi.class, Tester.java
>
>
> During the usage of powermock and the mocking of a class the exception below occurs. Since this is a javaassist issue I write it here.
> Any hints about the problem? Any help will be appreciated.
> java.lang.IllegalStateException: Failed to transform class with name com.company.someClass. Reason: [source error] incompatible type for =
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:214)
> at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:144)
> at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
> at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
> at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
> at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)
> at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351)
> at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
> at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
> at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
> at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
> at java.lang.Class.initAnnotationsIfNecessary(Class.java:3127)
> at java.lang.Class.getAnnotation(Class.java:3086)
> at org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
> at org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
> at org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
> at org.junit.internal.runners.MethodValidator.validateStaticMethods(MethodValidator.java:44)
> at org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner(MethodValidator.java:50)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.validate(PowerMockJUnit44RunnerDelegateImpl.java:108)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.<init>(PowerMockJUnit44RunnerDelegateImpl.java:70)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.<init>(PowerMockJUnit47RunnerDelegateImpl.java:42)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.<init>(PowerMockJUnit49RunnerDelegateImpl.java:25)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:149)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:39)
> at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createTestDelegators(AbstractTestSuiteChunkerImpl.java:217)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:59)
> at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)
> at org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:33)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: javassist.CannotCompileException: [source error] incompatible type for =
> at javassist.expr.FieldAccess.replace(FieldAccess.java:216)
> at org.powermock.core.transformers.impl.MainMockTransformer$PowerMockExpressionEditor.edit(MainMockTransformer.java:274)
> at javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
> at javassist.expr.ExprEditor.doit(ExprEditor.java:91)
> at javassist.CtClassType.instrument(CtClassType.java:1398)
> at org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:74)
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:210)
> ... 55 more
> Caused by: compile error: incompatible type for =
> at javassist.compiler.CodeGen.badAssign(CodeGen.java:770)
> at javassist.compiler.CodeGen.atAssignCore(CodeGen.java:863)
> at javassist.compiler.CodeGen.atVariableAssign(CodeGen.java:793)
> at javassist.compiler.CodeGen.atAssignExpr(CodeGen.java:747)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:332)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:405)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.Javac.compileStmnt(Javac.java:569)
> at javassist.expr.FieldAccess.replace(FieldAccess.java:210)
> ... 61 more
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JASSIST-223) Failed to transform class with name ... Reason: [source error] incompatible type for =
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/JASSIST-223?page=com.atlassian.jira.plugi... ]
Scott Marlow reopened JASSIST-223:
----------------------------------
also set to fix in 3.18.2
> Failed to transform class with name ... Reason: [source error] incompatible type for =
> ---------------------------------------------------------------------------------------
>
> Key: JASSIST-223
> URL: https://issues.jboss.org/browse/JASSIST-223
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.18.1-GA
> Environment: Powermock 1.5.4 and Easymock 3.2
> Reporter: TeeWe Tee
> Assignee: Shigeru Chiba
> Fix For: 3.19.0-GA
>
> Attachments: PowerMock.zip, SigPadApi.class, Tester.java
>
>
> During the usage of powermock and the mocking of a class the exception below occurs. Since this is a javaassist issue I write it here.
> Any hints about the problem? Any help will be appreciated.
> java.lang.IllegalStateException: Failed to transform class with name com.company.someClass. Reason: [source error] incompatible type for =
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:214)
> at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:144)
> at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
> at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
> at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
> at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)
> at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351)
> at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
> at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
> at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
> at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
> at java.lang.Class.initAnnotationsIfNecessary(Class.java:3127)
> at java.lang.Class.getAnnotation(Class.java:3086)
> at org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
> at org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
> at org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
> at org.junit.internal.runners.MethodValidator.validateStaticMethods(MethodValidator.java:44)
> at org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner(MethodValidator.java:50)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.validate(PowerMockJUnit44RunnerDelegateImpl.java:108)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.<init>(PowerMockJUnit44RunnerDelegateImpl.java:70)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.<init>(PowerMockJUnit47RunnerDelegateImpl.java:42)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.<init>(PowerMockJUnit49RunnerDelegateImpl.java:25)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:149)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:39)
> at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createTestDelegators(AbstractTestSuiteChunkerImpl.java:217)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:59)
> at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)
> at org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:33)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: javassist.CannotCompileException: [source error] incompatible type for =
> at javassist.expr.FieldAccess.replace(FieldAccess.java:216)
> at org.powermock.core.transformers.impl.MainMockTransformer$PowerMockExpressionEditor.edit(MainMockTransformer.java:274)
> at javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
> at javassist.expr.ExprEditor.doit(ExprEditor.java:91)
> at javassist.CtClassType.instrument(CtClassType.java:1398)
> at org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:74)
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:210)
> ... 55 more
> Caused by: compile error: incompatible type for =
> at javassist.compiler.CodeGen.badAssign(CodeGen.java:770)
> at javassist.compiler.CodeGen.atAssignCore(CodeGen.java:863)
> at javassist.compiler.CodeGen.atVariableAssign(CodeGen.java:793)
> at javassist.compiler.CodeGen.atAssignExpr(CodeGen.java:747)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:332)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:405)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.Javac.compileStmnt(Javac.java:569)
> at javassist.expr.FieldAccess.replace(FieldAccess.java:210)
> ... 61 more
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JASSIST-223) Failed to transform class with name ... Reason: [source error] incompatible type for =
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/JASSIST-223?page=com.atlassian.jira.plugi... ]
Scott Marlow updated JASSIST-223:
---------------------------------
Fix Version/s: 3.18.2-GA
> Failed to transform class with name ... Reason: [source error] incompatible type for =
> ---------------------------------------------------------------------------------------
>
> Key: JASSIST-223
> URL: https://issues.jboss.org/browse/JASSIST-223
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.18.1-GA
> Environment: Powermock 1.5.4 and Easymock 3.2
> Reporter: TeeWe Tee
> Assignee: Shigeru Chiba
> Fix For: 3.18.2-GA, 3.19.0-GA
>
> Attachments: PowerMock.zip, SigPadApi.class, Tester.java
>
>
> During the usage of powermock and the mocking of a class the exception below occurs. Since this is a javaassist issue I write it here.
> Any hints about the problem? Any help will be appreciated.
> java.lang.IllegalStateException: Failed to transform class with name com.company.someClass. Reason: [source error] incompatible type for =
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:214)
> at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:144)
> at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
> at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
> at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
> at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)
> at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351)
> at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
> at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
> at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
> at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
> at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
> at java.lang.Class.initAnnotationsIfNecessary(Class.java:3127)
> at java.lang.Class.getAnnotation(Class.java:3086)
> at org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
> at org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
> at org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
> at org.junit.internal.runners.MethodValidator.validateStaticMethods(MethodValidator.java:44)
> at org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner(MethodValidator.java:50)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.validate(PowerMockJUnit44RunnerDelegateImpl.java:108)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.<init>(PowerMockJUnit44RunnerDelegateImpl.java:70)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.<init>(PowerMockJUnit47RunnerDelegateImpl.java:42)
> at org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.<init>(PowerMockJUnit49RunnerDelegateImpl.java:25)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:149)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:39)
> at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createTestDelegators(AbstractTestSuiteChunkerImpl.java:217)
> at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:59)
> at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)
> at org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:33)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: javassist.CannotCompileException: [source error] incompatible type for =
> at javassist.expr.FieldAccess.replace(FieldAccess.java:216)
> at org.powermock.core.transformers.impl.MainMockTransformer$PowerMockExpressionEditor.edit(MainMockTransformer.java:274)
> at javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
> at javassist.expr.ExprEditor.doit(ExprEditor.java:91)
> at javassist.CtClassType.instrument(CtClassType.java:1398)
> at org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:74)
> at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:210)
> ... 55 more
> Caused by: compile error: incompatible type for =
> at javassist.compiler.CodeGen.badAssign(CodeGen.java:770)
> at javassist.compiler.CodeGen.atAssignCore(CodeGen.java:863)
> at javassist.compiler.CodeGen.atVariableAssign(CodeGen.java:793)
> at javassist.compiler.CodeGen.atAssignExpr(CodeGen.java:747)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:332)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:405)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
> at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
> at javassist.compiler.Javac.compileStmnt(Javac.java:569)
> at javassist.expr.FieldAccess.replace(FieldAccess.java:210)
> ... 61 more
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JGRP-1845) Null pointer exception in Samsung Q1 using 3G connection
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1845?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-1845:
---------------------------
Fix Version/s: 3.3.6
3.4.5
3.5
Priority: Minor (was: Major)
> Null pointer exception in Samsung Q1 using 3G connection
> --------------------------------------------------------
>
> Key: JGRP-1845
> URL: https://issues.jboss.org/browse/JGRP-1845
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.1, 3.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.2.12, 3.2.13, 3.3, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4
> Environment: Samsung Q1 with Windows XP Tablet Edition and 3G connection. Java 6 or Java 7.
> Reporter: Denis Lamela
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.3.6, 3.4.5, 3.5
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Null pointer exception in method "bindToInterfaces" of class "org.jgroups.stack.DiagnosticsHandler". The exception is thrown while executing "i.getInterfaceAddresses().isEmpty()". "i.getInterfaceAddresses()" returns null.
> This bug can be fixed checking if "i.getInterfaceAddresses()" returns null.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JGRP-1845) Null pointer exception in Samsung Q1 using 3G connection
by Denis Lamela (JIRA)
Denis Lamela created JGRP-1845:
----------------------------------
Summary: Null pointer exception in Samsung Q1 using 3G connection
Key: JGRP-1845
URL: https://issues.jboss.org/browse/JGRP-1845
Project: JGroups
Issue Type: Bug
Affects Versions: 3.4.4, 3.4.3, 3.4.2, 3.4.1, 3.4, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3, 3.2.13, 3.2.12, 3.2.10, 3.2.9, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2, 3.1
Environment: Samsung Q1 with Windows XP Tablet Edition and 3G connection. Java 6 or Java 7.
Reporter: Denis Lamela
Assignee: Bela Ban
Null pointer exception in method "bindToInterfaces" of class "org.jgroups.stack.DiagnosticsHandler". The exception is thrown while executing "i.getInterfaceAddresses().isEmpty()". "i.getInterfaceAddresses()" returns null.
This bug can be fixed checking if "i.getInterfaceAddresses()" returns null.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (WFLY-3404) Major performance degradation from JBoss 7.1 to Wildfly 8.0.0-Final.
by Timothy Heider (JIRA)
[ https://issues.jboss.org/browse/WFLY-3404?page=com.atlassian.jira.plugin.... ]
Timothy Heider resolved WFLY-3404.
----------------------------------
Resolution: Done
Not a bug obviously but a big difference between JBoss and Wildfly in 8.0.0.
> Major performance degradation from JBoss 7.1 to Wildfly 8.0.0-Final.
> --------------------------------------------------------------------
>
> Key: WFLY-3404
> URL: https://issues.jboss.org/browse/WFLY-3404
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Final
> Reporter: Timothy Heider
> Assignee: Jason Greene
>
> I have deployed my application to Wildfly 8.0.0 Final and it is almost unusable now. We have rolled back to JBoss 7.1 (same application WARs) and it works fine.
> Specifically what seems to be slow is our SOAP web services are taking up to 8 to 10 seconds to respond. We have user concurrency of probably 10-30 users at once hitting these services every 10 seconds or so.
> On JBoss 7.1 these services all respond sub-second. The database is totally unburdened and the server is 90% idle all the time.
> We have one service endpoint that is a Comet queue wait call. Probably 10 users are waiting on that. Did something change between JBoss 7 and Wildfly 8 that might cause that to not work now? (e.g. too small a thread pool that blocks until the 10 second comet call breaks on a timeout?)
> We will try 8.1.0CR2 but I wanted to report we're investigating this and see if you can help us. Thanks!
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months