{"action":"opened","issue":{"url":"https://api.github.com/repos/hugegraph/hugegraph/issues/126","repository_url":"https://api.github.com/repos/hugegraph/hugegraph","labels_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/126/comments","events_url":"https://api.github.com/repos/hugegraph/hugegraph/issues/126/events","html_url":"https://github.com/hugegraph/hugegraph/issues/126","id":372995572,"node_id":"MDU6SXNzdWUzNzI5OTU1NzI=","number":126,"title":"ClassCastException:  HugeGraphAuthProxy cannot be cast to HugeGraph","user":{"login":"javeme","id":9625821,"node_id":"MDQ6VXNlcjk2MjU4MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/9625821?v=4","gravatar_id":"","url":"https://api.github.com/users/javeme","html_url":"https://github.com/javeme","followers_url":"https://api.github.com/users/javeme/followers","following_url":"https://api.github.com/users/javeme/following{/other_user}","gists_url":"https://api.github.com/users/javeme/gists{/gist_id}","starred_url":"https://api.github.com/users/javeme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javeme/subscriptions","organizations_url":"https://api.github.com/users/javeme/orgs","repos_url":"https://api.github.com/users/javeme/repos","events_url":"https://api.github.com/users/javeme/events{/privacy}","received_events_url":"https://api.github.com/users/javeme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T13:18:49Z","updated_at":"2018-10-23T13:18:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Actual behavior 实际表现\r\n```log\r\n2018-10-23 20:43:00 73074 [main] [ERROR] com.baidu.hugegraph.dist.HugeGraphServer [] - HugeGraphServer error:\r\njava.lang.ClassCastException: com.baidu.hugegraph.auth.HugeGraphAuthProxy cannot be cast to com.baidu.hugegraph.HugeGraph\r\n\tat com.baidu.hugegraph.core.GraphManager.checkBackendVersionOrExit(GraphManager.java:172) ~[classes/:?]\r\n\tat com.baidu.hugegraph.core.GraphManager.<init>(GraphManager.java:67) ~[classes/:?]\r\n\tat com.baidu.hugegraph.server.ApplicationConfig$GraphManagerFactory$1.onEvent(ApplicationConfig.java:102) ~[classes/:?]\r\n\tat org.glassfish.jersey.server.internal.monitoring.CompositeApplicationEventListener.onEvent(CompositeApplicationEventListener.java:74) ~[jersey-server-2.25.1.jar:?]\r\n\tat org.glassfish.jersey.server.internal.monitoring.MonitoringContainerListener.onStartup(MonitoringContainerListener.java:81) ~[jersey-server-2.25.1.jar:?]\r\n\tat org.glassfish.jersey.server.ApplicationHandler.onStartup(ApplicationHandler.java:1180) ~[jersey-server-2.25.1.jar:?]\r\n\tat org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.start(GrizzlyHttpContainer.java:357) ~[jersey-container-grizzly2-http-2.25.1.jar:?]\r\n\tat org.glassfish.grizzly.http.server.HttpHandlerChain.start(HttpHandlerChain.java:422) ~[grizzly-http-server-2.3.28.jar:2.3.28]\r\n\tat org.glassfish.grizzly.http.server.HttpServer.setupHttpHandler(HttpServer.java:314) ~[grizzly-http-server-2.3.28.jar:2.3.28]\r\n\tat org.glassfish.grizzly.http.server.HttpServer.start(HttpServer.java:290) ~[grizzly-http-server-2.3.28.jar:2.3.28]\r\n\tat org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory.createHttpServer(GrizzlyHttpServerFactory.java:296) ~[jersey-container-grizzly2-http-2.25.1.jar:?]\r\n\tat org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory.createHttpServer(GrizzlyHttpServerFactory.java:119) ~[jersey-container-grizzly2-http-2.25.1.jar:?]\r\n\tat com.baidu.hugegraph.server.RestServer.start(RestServer.java:59) ~[classes/:?]\r\n\tat com.baidu.hugegraph.server.RestServer.start(RestServer.java:76) ~[classes/:?]\r\n\tat com.baidu.hugegraph.dist.HugeRestServer.start(HugeRestServer.java:54) ~[classes/:?]\r\n\tat com.baidu.hugegraph.dist.HugeGraphServer.main(HugeGraphServer.java:58) [classes/:?]\r\n```\r\n\r\n### Steps to reproduce the problem 复现步骤\r\n1. enable auth feature\r\n2. start server\r\n\r\n### Specifications of environment 环境信息\r\n- hugegraph version: v0.7.4"}}
{"actor":{"display_login":"javeme"}}