[ https://issues.apache.org/jira/browse/GEODE-4672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380871#comment-16380871 ]
ASF subversion and git services commented on GEODE-4672: -------------------------------------------------------- Commit aa381d8d0c2c8eb18dded96a038b2bb59e36b67d in geode's branch refs/heads/feature/GEODE-4672 from [~bschuchardt] [ https://gitbox.apache.org/repos/asf?p=geode.git;h=aa381d8 ] GEODE-4672 spot removal > Geode fails to start with JDK 9 if validate-serializable-objects is set > ------------------------------------------------------------------------ > > Key: GEODE-4672 > URL: https://issues.apache.org/jira/browse/GEODE-4672 > Project: Geode > Issue Type: Sub-task > Components: serialization > Reporter: Dan Smith > Priority: Major > Labels: pull-request-available > > If the validate-serializable-objects property is set, Geode fails to start > with the below exception. This is problematic for running the geode tests > with JDK 9 because our tests set this property > {noformat} > java.lang.RuntimeException: Unable to launch dunit VMs > at > org.apache.geode.test.dunit.standalone.DUnitLauncher.launchIfNeeded(DUnitLauncher.java:162) > at > org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase.initializeDistributedTestCase(JUnit4DistributedTestCase.java:128) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:564) > 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.RunBefores.evaluate(RunBefores.java:24) > 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) > Caused by: java.lang.RuntimeException: Failed to start locator > at > org.apache.geode.test.dunit.standalone.DUnitLauncher.startLocator(DUnitLauncher.java:331) > at > org.apache.geode.test.dunit.standalone.DUnitLauncher.launch(DUnitLauncher.java:241) > at > org.apache.geode.test.dunit.standalone.DUnitLauncher.launchIfNeeded(DUnitLauncher.java:160) > ... 15 more > Caused by: org.apache.geode.GemFireConfigException: A serialization filter > has been specified but this version of Java does not support serialization > filters - sun.misc.ObjectInputFilter is not available > at > org.apache.geode.internal.InternalDataSerializer.initialize(InternalDataSerializer.java:235) > at > org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:691) > at > org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:340) > at > org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:326) > at > org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:320) > at > org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:211) > at > org.apache.geode.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:634) > at > org.apache.geode.distributed.internal.InternalLocator.startLocator(InternalLocator.java:309) > at org.apache.geode.distributed.Locator.startLocator(Locator.java:253) > at > org.apache.geode.distributed.Locator.startLocatorAndDS(Locator.java:140) > at > org.apache.geode.test.dunit.standalone.DUnitLauncher$2.call(DUnitLauncher.java:320) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)