Hi! I just got this error while trying to start this version of NRS with Java 9 installed on my ubuntu 17.10 desktop:



~/Downloads/nxt-client-1.11.9/nxt$ ./run.sh

Initializing Nxt server version 1.11.9

isHeadless=false

Runtime mode nxt.env.CommandLineMode

User home folder /home/*/Downloads/nxt-client-1.11.9/nxt

Loading nxt-default.properties from classpath

Loading logging-default.properties from classpath

2017-11-14 21:29:06 INFO: nxt.enableStackTraces = "true"

2017-11-14 21:29:06 INFO: nxt.enableLogTraceback = "false"

2017-11-14 21:29:06 INFO: logging enabled

2017-11-14 21:29:06 INFO: socksProxyHost not defined

2017-11-14 21:29:06 INFO: socksProxyPort not defined

2017-11-14 21:29:06 FINE: java.version = 9.0.1

2017-11-14 21:29:06 FINE: java.vm.version = 9.0.1+11

2017-11-14 21:29:06 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM

2017-11-14 21:29:06 FINE: java.vendor = Oracle Corporation

2017-11-14 21:29:06 FINE: java.vm.vendor = Oracle Corporation

2017-11-14 21:29:06 FINE: java.home = /usr/lib/jvm/java-9-oracle

2017-11-14 21:29:06 FINE: java.library.path = /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib

2017-11-14 21:29:06 FINE: java.class.path = classes:lib/javax.servlet-api-3.1.0.jar:lib/jetty-util-9.3.20.v20170531.jar:lib/websocket-common-9.3.20.v20170531.jar:lib/tika-core-1.13.jar:lib/tika-parsers-1.13.jar:lib/websocket-servlet-9.3.20.v20170531.jar:lib/slf4j-api-1.7.22.jar:lib/lucene-queries-5.3.2.jar:lib/lucene-core-5.3.2.jar:lib/jetty-server-9.3.20.v20170531.jar:lib/jetty-servlets-9.3.20.v20170531.jar:lib/h2-1.4.196.jar:lib/jetty-continuation-9.3.20.v20170531.jar:lib/core-3.3.0.jar:lib/websocket-server-9.3.20.v20170531.jar:lib/lucene-analyzers-common-5.3.2.jar:lib/jetty-security-9.3.20.v20170531.jar:lib/jetty-client-9.3.20.v20170531.jar:lib/jetty-proxy-9.3.20.v20170531.jar:lib/jetty-io-9.3.20.v20170531.jar:lib/websocket-client-9.3.20.v20170531.jar:lib/jetty-servlet-9.3.20.v20170531.jar:lib/websocket-api-9.3.20.v20170531.jar:lib/slf4j-jdk14-1.7.22.jar:lib/bcprov-jdk15on-157.jar:lib/json-simple-1.1.1.jar:lib/javase-3.3.0.jar:lib/jetty-http-9.3.20.v20170531.jar:lib/lucene-queryparser-5.3.2.jar:lib/weupnp-0.1.4.jar:conf:addons/classes:addons/lib/*

2017-11-14 21:29:06 FINE: os.arch = amd64

2017-11-14 21:29:06 FINE: sun.arch.data.model = 64

2017-11-14 21:29:06 FINE: os.name = Linux

2017-11-14 21:29:06 FINE: file.encoding = UTF-8

2017-11-14 21:29:06 FINE: java.security.policy = null

2017-11-14 21:29:06 FINE: java.security.manager = null

2017-11-14 21:29:06 FINE: nxt.runtime.mode = null

2017-11-14 21:29:06 FINE: nxt.runtime.dirProvider = null

2017-11-14 21:29:06 FINE: availableProcessors = 4

2017-11-14 21:29:06 FINE: maxMemory = 2057306112

2017-11-14 21:29:06 FINE: processId = 7220

2017-11-14 21:29:06 INFO: nxt.isTestnet = "false"

2017-11-14 21:29:06 INFO: nxt.isOffline = "false"

2017-11-14 21:29:06 INFO: nxt.isLightClient = "false"

2017-11-14 21:29:06 INFO: nxt.customLoginWarning not defined

2017-11-14 21:29:06 INFO: nxt.maxRollback = "800"

2017-11-14 21:29:06 INFO: nxt.forgingDelay = "20"

2017-11-14 21:29:06 INFO: nxt.forgingSpeedup = "3"

2017-11-14 21:29:06 INFO: nxt.batchCommitSize = "100"

2017-11-14 21:29:06 INFO: nxt.maxPrunableLifetime = "7776000"

2017-11-14 21:29:06 INFO: nxt.includeExpiredPrunable = "true"

2017-11-14 21:29:06 INFO: nxt.correctInvalidFees = "false"

2017-11-14 21:29:06 INFO: nxt.statementLogThreshold = "10000"

2017-11-14 21:29:06 INFO: nxt.transactionLogThreshold = "15000"

2017-11-14 21:29:06 INFO: nxt.transactionLogInterval = "15"

2017-11-14 21:29:06 INFO: nxt.dbCacheKB = "0"

2017-11-14 21:29:06 INFO: nxt.dbUrl not defined

2017-11-14 21:29:06 INFO: nxt.dbType = "h2"

2017-11-14 21:29:06 INFO: nxt.dbDir = "./nxt_db/nxt"

2017-11-14 21:29:06 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE"

2017-11-14 21:29:06 INFO: nxt.dbUsername = "sa"

2017-11-14 21:29:06 INFO: nxt.dbPassword = "{not logged}"

2017-11-14 21:29:06 INFO: nxt.maxDbConnections = "30"

2017-11-14 21:29:06 INFO: nxt.dbLoginTimeout = "70"

2017-11-14 21:29:06 INFO: nxt.dbDefaultLockTimeout = "60"

2017-11-14 21:29:06 INFO: nxt.dbMaxMemoryRows = "1000000"

2017-11-14 21:29:06 FINE: Database jdbc url set to jdbc:h2:./nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE;CACHE_SIZE=262144 username sa

2017-11-14 21:29:06 INFO: nxt.useStrongSecureRandom = "false"

2017-11-14 21:29:09 FINE: Database connection pool current size: 1

2017-11-14 21:29:09 INFO: Database update may take a while if needed, current db version 414...

2017-11-14 21:29:09 FINE: Database connection pool current size: 2

2017-11-14 21:29:09 INFO: Lucene search index deleted

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.apache.lucene.store.MMapDirectory$1 (file:/home/davide/Downloads/nxt-client-1.11.9/nxt/lib/lucene-core-5.3.2.jar) to method java.nio.DirectByteBuffer.cleaner()

WARNING: Please consider reporting this to the maintainers of org.apache.lucene.store.MMapDirectory$1

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2017-11-14 21:29:09 SEVERE: Unable to access the Lucene index

java.io.IOException: Unable to unmap the mapped buffer: MMapIndexInput(path="/home/davide/Downloads/nxt-client-1.11.9/nxt/nxt_db/nxt/_0_Lucene50_0.doc")

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:329)

at org.apache.lucene.store.ByteBufferIndexInput.freeBuffer(ByteBufferIndexInput.java:376)

at org.apache.lucene.store.ByteBufferIndexInput.close(ByteBufferIndexInput.java:355)

at org.apache.lucene.codecs.lucene50.Lucene50CompoundFormat.write(Lucene50CompoundFormat.java:92)

at org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4680)

at org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:492)

at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:459)

at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:503)

at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)

at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2813)

at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2977)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2944)

at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:866)

at nxt.db.FullTextTrigger.removeIndexFiles(FullTextTrigger.java:935)

at nxt.db.FullTextTrigger.init(FullTextTrigger.java:203)

at nxt.NxtDbVersion.update(NxtDbVersion.java:986)

at nxt.db.DbVersion.init(DbVersion.java:55)

at nxt.db.BasicDb.init(BasicDb.java:149)

at nxt.Db.init(Db.java:40)

at nxt.Nxt$Init.<clinit>(Nxt.java:376)

at nxt.Nxt.init(Nxt.java:345)

at nxt.Nxt.main(Nxt.java:332)

Caused by: java.lang.IllegalAccessException: class org.apache.lucene.store.MMapDirectory$2$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @15ca7889

at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)

at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589)

at java.base/java.lang.reflect.Method.invoke(Method.java:556)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:322)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:314)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:314)

... 21 more

2017-11-14 21:29:09 SEVERE: Unable to initialize NRS fulltext search support

java.sql.SQLException: Unable to access the Lucene index

at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:876)

at nxt.db.FullTextTrigger.removeIndexFiles(FullTextTrigger.java:935)

at nxt.db.FullTextTrigger.init(FullTextTrigger.java:203)

at nxt.NxtDbVersion.update(NxtDbVersion.java:986)

at nxt.db.DbVersion.init(DbVersion.java:55)

at nxt.db.BasicDb.init(BasicDb.java:149)

at nxt.Db.init(Db.java:40)

at nxt.Nxt$Init.<clinit>(Nxt.java:376)

at nxt.Nxt.init(Nxt.java:345)

at nxt.Nxt.main(Nxt.java:332)

Caused by: java.io.IOException: Unable to unmap the mapped buffer: MMapIndexInput(path="/home/davide/Downloads/nxt-client-1.11.9/nxt/nxt_db/nxt/_0_Lucene50_0.doc")

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:329)

at org.apache.lucene.store.ByteBufferIndexInput.freeBuffer(ByteBufferIndexInput.java:376)

at org.apache.lucene.store.ByteBufferIndexInput.close(ByteBufferIndexInput.java:355)

at org.apache.lucene.codecs.lucene50.Lucene50CompoundFormat.write(Lucene50CompoundFormat.java:92)

at org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4680)

at org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:492)

at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:459)

at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:503)

at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)

at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2813)

at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2977)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2944)

at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:866)

... 9 more

Caused by: java.lang.IllegalAccessException: class org.apache.lucene.store.MMapDirectory$2$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @15ca7889

at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)

at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589)

at java.base/java.lang.reflect.Method.invoke(Method.java:556)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:322)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:314)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:314)

... 21 more

2017-11-14 21:29:09 SEVERE: java.sql.SQLException: Unable to access the Lucene index

java.lang.RuntimeException: java.sql.SQLException: Unable to access the Lucene index

at nxt.db.FullTextTrigger.init(FullTextTrigger.java:251)

at nxt.NxtDbVersion.update(NxtDbVersion.java:986)

at nxt.db.DbVersion.init(DbVersion.java:55)

at nxt.db.BasicDb.init(BasicDb.java:149)

at nxt.Db.init(Db.java:40)

at nxt.Nxt$Init.<clinit>(Nxt.java:376)

at nxt.Nxt.init(Nxt.java:345)

at nxt.Nxt.main(Nxt.java:332)

Caused by: java.sql.SQLException: Unable to access the Lucene index

at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:876)

at nxt.db.FullTextTrigger.removeIndexFiles(FullTextTrigger.java:935)

at nxt.db.FullTextTrigger.init(FullTextTrigger.java:203)

... 7 more

Caused by: java.io.IOException: Unable to unmap the mapped buffer: MMapIndexInput(path="/home/davide/Downloads/nxt-client-1.11.9/nxt/nxt_db/nxt/_0_Lucene50_0.doc")

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:329)

at org.apache.lucene.store.ByteBufferIndexInput.freeBuffer(ByteBufferIndexInput.java:376)

at org.apache.lucene.store.ByteBufferIndexInput.close(ByteBufferIndexInput.java:355)

at org.apache.lucene.codecs.lucene50.Lucene50CompoundFormat.write(Lucene50CompoundFormat.java:92)

at org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4680)

at org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:492)

at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:459)

at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:503)

at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)

at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2813)

at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2977)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2944)

at nxt.db.FullTextTrigger.getIndexAccess(FullTextTrigger.java:866)

... 9 more

Caused by: java.lang.IllegalAccessException: class org.apache.lucene.store.MMapDirectory$2$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @15ca7889

at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)

at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589)

at java.base/java.lang.reflect.Method.invoke(Method.java:556)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:322)

at org.apache.lucene.store.MMapDirectory$2$1.run(MMapDirectory.java:314)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:314)

... 21 more

2017-11-14 21:29:09 INFO: Shutting down...

2017-11-14 21:29:09 INFO: nxt.addOns not defined

2017-11-14 21:29:09 INFO: nxt.adminPassword not defined

2017-11-14 21:29:09 INFO: nxt.maxAPIRecords = "100"

2017-11-14 21:29:09 INFO: nxt.enableAPIUPnP = "false"

2017-11-14 21:29:09 INFO: nxt.apiServerIdleTimeout = "30000"

2017-11-14 21:29:09 INFO: nxt.apiServerCORS = "true"

2017-11-14 21:29:09 INFO: nxt.forwardedForHeader not defined

2017-11-14 21:29:09 INFO: nxt.disabledAPIs not defined

2017-11-14 21:29:09 INFO: nxt.disabledAPITags not defined

2017-11-14 21:29:09 INFO: nxt.allowedBotHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"

2017-11-14 21:29:09 INFO: nxt.enableAPIServer = "true"

2017-11-14 21:29:09 INFO: nxt.apiServerPort = "7876"

2017-11-14 21:29:09 INFO: nxt.apiServerSSLPort = "7876"

2017-11-14 21:29:09 INFO: nxt.apiServerHost = "127.0.0.1"

2017-11-14 21:29:09 INFO: nxt.disableAdminPassword = "false"

2017-11-14 21:29:09 INFO: nxt.apiSSL = "false"

2017-11-14 21:29:09 INFO: API server using HTTP port 7876

2017-11-14 21:29:09 INFO: nxt.apiResourceBase = "./html/www"

2017-11-14 21:29:09 INFO: nxt.apiWelcomeFile = "index.html"

2017-11-14 21:29:09 INFO: nxt.javadocResourceBase = "./html/doc"

2017-11-14 21:29:09 INFO: nxt.maxUploadFileSize not defined or not numeric, using default value 0

2017-11-14 21:29:09 INFO: nxt.maxUploadFileSize not defined or not numeric, using default value 0

2017-11-14 21:29:09 INFO: nxt.enableAPIServerGZIPFilter not defined, using default false

2017-11-14 21:29:09 INFO: nxt.apiFrameOptionsSameOrigin = "true"

2017-11-14 21:29:09 INFO: nxt.allowedUserHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"

2017-11-14 21:29:09 INFO: nxt.enableUIServer = "false"

2017-11-14 21:29:09 INFO: User interface server not enabled

2017-11-14 21:29:09 INFO: nxt.maxNumberOfMonitors = "100"

2017-11-14 21:29:09 INFO: nxt.trimDerivedTables = "true"

2017-11-14 21:29:09 INFO: nxt.numberOfForkConfirmations = "2"

2017-11-14 21:29:09 INFO: nxt.simulateEndlessDownload not defined, using default false

2017-11-14 21:29:09 INFO: nxt.trimFrequency = "1000"

2017-11-14 21:29:09 INFO: nxt.disableGetMoreBlocksThread not defined, using default false

2017-11-14 21:29:09 INFO: shutting down networkService

2017-11-14 21:29:09 INFO: nxt.hideErrorDetails = "false"

2017-11-14 21:29:09 INFO: nxt.myPlatform not defined

2017-11-14 21:29:09 INFO: nxt.myAddress not defined

2017-11-14 21:29:09 INFO: nxt.peerServerPort = "7874"

2017-11-14 21:29:09 INFO: nxt.shareMyAddress = "true"

2017-11-14 21:29:09 INFO: nxt.enablePeerUPnP = "true"

2017-11-14 21:29:09 INFO: nxt.myHallmark not defined

2017-11-14 21:29:09 FINE: My peer info:





Any help appreciated!