You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Helena Bales (JIRA)" <ji...@apache.org> on 2018/09/04 22:33:00 UTC
[jira] [Created] (GEODE-5689) AnalyzeSerializablesJUnitTest >
testSerializables fails in IntelliJ
Helena Bales created GEODE-5689:
-----------------------------------
Summary: AnalyzeSerializablesJUnitTest > testSerializables fails in IntelliJ
Key: GEODE-5689
URL: https://issues.apache.org/jira/browse/GEODE-5689
Project: Geode
Issue Type: Bug
Reporter: Helena Bales
AnalyzeSerializablesJUnitTest > testSerializables fails when run through IntelliJ.
It seems like some classes are found through IntelliJ that are missed through gradle.
{code:java}
java.lang.AssertionError: New or moved classes----------------------------------------
org/apache/geode/internal/ra/GFConnectionFactoryImpl,false,cm:javax/resource/spi/ConnectionManager,mcf:javax/resource/spi/ManagedConnectionFactory,ref:javax/naming/Reference
org/apache/geode/internal/ra/GFConnectionImpl,false,mc:org/apache/geode/internal/ra/spi/JCAManagedConnection,ref:javax/naming/Reference
org/apache/geode/internal/ra/spi/JCAManagedConnectionFactory,false,logger:java/io/PrintWriter,productName:java/lang/String,user:java/lang/String,version:java/lang/String
If the class is not persisted or sent over the wire add it to the file
/Users/hbales/workspace/geode/geode-core/out/test/resources/org/apache/geode/codeAnalysis/excludedClasses.txt
Otherwise if this doesn't break backward compatibility, copy the file
/Users/hbales/workspace/geode/geode-core/actualSerializables.dat to
/Users/hbales/workspace/geode/geode-core/out/production/resources/org/apache/geode/internal/sanctioned-geode-core-serializables.txt.
at org.apache.geode.codeAnalysis.AnalyzeSerializablesJUnitTestBase.testSerializables(AnalyzeSerializablesJUnitTestBase.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)