Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during connection to neo4j #8

Open
dink10 opened this issue Dec 12, 2018 · 0 comments
Open

Exception during connection to neo4j #8

dink10 opened this issue Dec 12, 2018 · 0 comments

Comments

@dink10
Copy link

dink10 commented Dec 12, 2018

Type Exception Report

Message java.lang.NumberFormatException: For input string: "78:7b:8a:ca:ba:70"

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: For input string: "78:7b:8a:ca:ba:70"
com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:323)
com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:313)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
com.google.gson.Gson.fromJson(Gson.java:887)
com.google.gson.Gson.fromJson(Gson.java:852)
com.google.gson.Gson.fromJson(Gson.java:801)
com.google.gson.Gson.fromJson(Gson.java:773)
gov.nist.policyserver.helpers.JsonHelper.getNodeFromJson(JsonHelper.java:18)
gov.nist.policyserver.dao.NeoDAO.getNodesFromResultSet(NeoDAO.java:277)
gov.nist.policyserver.dao.NeoDAO.getNodes(NeoDAO.java:123)
gov.nist.policyserver.dao.NeoDAO.buildGraph(NeoDAO.java:74)
gov.nist.policyserver.dao.DAO.(DAO.java:165)
gov.nist.policyserver.dao.NeoDAO.(NeoDAO.java:31)
gov.nist.policyserver.dao.DAO.init(DAO.java:112)
gov.nist.policyserver.servlets.SetConnectionServlet.doPost(SetConnectionServlet.java:37)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause

java.lang.NumberFormatException: For input string: "78:7b:8a:ca:ba:70"
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
java.lang.Double.parseDouble(Double.java:538)
com.google.gson.stream.JsonReader.nextLong(JsonReader.java:964)
com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:321)
com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:313)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
com.google.gson.Gson.fromJson(Gson.java:887)
com.google.gson.Gson.fromJson(Gson.java:852)
com.google.gson.Gson.fromJson(Gson.java:801)
com.google.gson.Gson.fromJson(Gson.java:773)
gov.nist.policyserver.helpers.JsonHelper.getNodeFromJson(JsonHelper.java:18)
gov.nist.policyserver.dao.NeoDAO.getNodesFromResultSet(NeoDAO.java:277)
gov.nist.policyserver.dao.NeoDAO.getNodes(NeoDAO.java:123)
gov.nist.policyserver.dao.NeoDAO.buildGraph(NeoDAO.java:74)
gov.nist.policyserver.dao.DAO.(DAO.java:165)
gov.nist.policyserver.dao.NeoDAO.(NeoDAO.java:31)
gov.nist.policyserver.dao.DAO.init(DAO.java:112)
gov.nist.policyserver.servlets.SetConnectionServlet.doPost(SetConnectionServlet.java:37)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant