Do you know between what classes the exception is? What is the original
class and what the cast target class?

Are they both the same, and not castable because of different copies being
loaded from different classloaders, or are they really different types?

On Wed, Sep 16, 2015 at 10:36 AM, Matthias J. Sax <[email protected]> wrote:

> Hi,
>
> I just hit a issue with Java 8 JDK. It occurs in a new test I added in a
> current PR.
>
> > Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.793
> sec <<< FAILURE! - in
> org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest
> >
> testCreateTopologyContext(org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest)
> Time elapsed: 6.087 sec  <<< ERROR!
> > java.lang.ClassCastException: class sun.security.provider.ConfigFile
> >       at java.lang.Class.asSubclass(Class.java:3396)
> >       at
> javax.security.auth.login.Configuration$2.run(Configuration.java:254)
> >       at
> javax.security.auth.login.Configuration$2.run(Configuration.java:247)
> >       at java.security.AccessController.doPrivileged(Native Method)
> >       at
> javax.security.auth.login.Configuration.getConfiguration(Configuration.java:246)
> >       at
> org.apache.storm.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:174)
> >       at
> org.apache.storm.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87)
> >       at
> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697$fn__1699.invoke(zookeeper.clj:198)
> >       at
> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697.invoke(zookeeper.clj:197)
> >       at
> backtype.storm.zookeeper$mk_inprocess_zookeeper.doInvoke(zookeeper.clj:195)
> >       at clojure.lang.RestFn.invoke(RestFn.java:410)
> >       at
> backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:123)
> >       at clojure.lang.RestFn.invoke(RestFn.java:421)
> >       at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:28)
> >       at backtype.storm.LocalCluster.<init>(Unknown Source)
> >       at
> org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest.testCreateTopologyContext(StormWrapperSetupHelperTest.java:190)
>
> Please see here
>   https://travis-ci.org/mjsax/flink/jobs/80576847
>
> I have not clue what the problem might be. Searching on the Internet did
> not help...
>
> Does anyone have an idea what the problem might be?
>
>
> -Matthias
>
>

Reply via email to