Getting Null Pointer Exception when starting Neo4j Server(HA) on windows.

85 views
Skip to first unread message

Gouse

unread,
Feb 7, 2014, 7:24:18 AM2/7/14
to ne...@googlegroups.com
Hi All,


  I am using neo4j-enterprise-1.8.2 version server.I am getting Null pointer exception when starting neo4j server.I have configured HA on single machine.I have java jdk 1.7 installed on my machine.Can some one please help me on this.

I am getting error while attaching files.so below is the neo4j log and message information.

neo4j log information :

Feb 07, 2014 4:45:12 PM org.neo4j.server.logging.Logger log
WARNING: WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 6.
Feb 07, 2014 4:45:13 PM org.neo4j.server.logging.Logger log
INFO: Loaded neo4j tuning properties from conf/neo4j.properties
Feb 07, 2014 4:45:13 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery
INFO: Non clean shutdown detected on log [D:\neo4j-enterprise-1.8.2\data\graph.db\nioneo_logical.log.1]. Recovery started ...
Feb 07, 2014 4:45:19 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery
INFO: Non clean shutdown detected on log [D:\neo4j-enterprise-1.8.2\data\graph.db\index\lucene.log.1]. Recovery started ...
Feb 07, 2014 4:45:21 PM org.neo4j.server.logging.Logger log
INFO: Successfully started database
Feb 07, 2014 4:45:21 PM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [20] threads available
Feb 07, 2014 4:45:21 PM org.neo4j.server.logging.Logger log
INFO: Enabling HTTPS on port [7473]
Feb 07, 2014 4:45:22 PM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
Feb 07, 2014 4:45:22 PM org.neo4j.server.logging.Logger log
SEVERE: 
java.lang.NullPointerException
at java.io.FilterInputStream.close(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream.close(Unknown Source)
at sun.nio.cs.StreamDecoder.implClose(Unknown Source)
at sun.nio.cs.StreamDecoder.close(Unknown Source)
at java.io.InputStreamReader.close(Unknown Source)
at java.io.BufferedReader.close(Unknown Source)
at sun.misc.Service.parse(Unknown Source)
at sun.misc.Service.access$100(Unknown Source)
at sun.misc.Service$LazyIterator.hasNext(Unknown Source)
at org.neo4j.helpers.Service$1$1.fetchNextOrNull(Service.java:264)
at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:55)
at org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:52)
at org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:46)
at org.neo4j.server.modules.RESTApiModule.loadPlugins(RESTApiModule.java:123)
at org.neo4j.server.modules.RESTApiModule.start(RESTApiModule.java:63)
at org.neo4j.server.AbstractNeoServer.startModules(AbstractNeoServer.java:170)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:139)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:85)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49)

Feb 07, 2014 4:45:22 PM org.neo4j.server.logging.Logger log
SEVERE: Failed to start Neo Server on port [7474]

message file information :

2014-02-07 16:53:43,316 DEBUG [neo4j.diagnostics]:   nioneo_logical.log.v9: 2013-05-24T18:15:46+0530 - 16.00 B
2014-02-07 16:53:43,316 DEBUG [neo4j.diagnostics]:   store_lock: 2013-05-08T15:16:58+0530 - 0.00 B
2014-02-07 16:53:43,316 DEBUG [neo4j.diagnostics]:   tm_tx_log.1: 2014-02-07T16:53:41+0530 - 0.00 B
2014-02-07 16:53:43,316 DEBUG [neo4j.diagnostics]: --- STARTUP diagnostics for KernelDiagnostics:StoreFiles END ---
2014-02-07 16:53:43,332 INFO  [neo4j]: Started - database is now available
2014-02-07 16:53:43,566 INFO  [neo4j]: GC Monitor started. 
2014-02-07 16:53:43,815 INFO  [neo4j]: GC Monitor: Application threads blocked for an additional 149ms [total block time: 0.149s]
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: --- SERVER STARTUP START ---
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: --- STARTUP diagnostics for org.neo4j.server.configuration.Configurator START ---
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: Server configuration:
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.database.location = data/graph.db
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.port = 7474
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.https.enabled = true
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.https.port = 7473
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.https.cert.location = conf/ssl/snakeoil.cert
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.https.key.location = conf/ssl/snakeoil.key
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webserver.https.keystore.location = data/keystore
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webadmin.rrdb.location = data/rrd
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.db.tuning.properties = conf/neo4j.properties
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.database.mode = SINGLE
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.http.log.enabled = false
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.http.log.config = conf/neo4j-http-logging.xml
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webadmin.management.uri = /db/manage/
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: org.neo4j.server.webadmin.data.uri = /db/data/
2014-02-07 16:53:44,081 DEBUG [neo4j.diagnostics]: --- STARTUP diagnostics for org.neo4j.server.configuration.Configurator END ---
2014-02-07 16:53:44,112 DEBUG [neo4j.diagnostics]: Mounted discovery module (org.neo4j.server.rest.discovery) at: /
2014-02-07 16:53:44,315 INFO  [neo4j]: GC Monitor: Application threads blocked for an additional 166ms [total block time: 0.315s]

Thanks
Gouse

Michael Hunger

unread,
Feb 7, 2014, 9:59:51 AM2/7/14
to ne...@googlegroups.com
Do you have any custom plugins registered or installed?
Or changed your classpath in any way or have a different default class path?

It fails because of a issue scanning for plugins from the classpath.

Michael

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Gouse Mohiddin

unread,
Feb 7, 2014, 10:27:28 AM2/7/14
to ne...@googlegroups.com
Thanks Michael for your reply.

I have not registered or installed any custom plugins.I have installed java jdk1.7 and specified it in the class path.Can you please eloborate about the plugins neo4j scan from the classpath.


Thnaks
Gouse


--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/NztVIuxmV-I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages