Hi,

when running junit/trunk on java7 i see a lot like:

  [junit] ERROR org.apache.xmlrpc.server.XmlRpcErrorLogger : java.lang.NullPointerException
    [junit] java.lang.NullPointerException
    [junit]     at org.exist.xmlrpc.XmldbRequestProcessorFactory.authenticate(XmldbRequestProcessorFactory.java:88)
    [junit]     at org.exist.xmlrpc.XmldbRequestProcessorFactory.getRequestProcessor(XmldbRequestProcessorFactory.java:69)
    [junit]     at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.getInstance(ReflectiveXmlRpcHandler.java:78)
    [junit]     at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:90)
    [junit]     at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
    [junit]     at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
    [junit]     at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
    [junit]     at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:112)
    [junit]     at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:196)
    [junit]     at org.exist.xmlrpc.RpcServlet.doPost(RpcServlet.java:68)

and

org.quartz.core.JobRunShell : Job eXist.internal.FileLockHeartBeat: /Users/...........eXist-db/2.1/trunk/webapp/WEB-INF/data/dbx_dir.lck threw an unhandled Exception: java.lang.IllegalArgumentException
    [junit]     at java.nio.Buffer.position(Buffer.java:236)
    [junit]     at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:185)
    [junit]     at java.nio.ByteBuffer.put(ByteBuffer.java:832)
    [junit]     at org.exist.storage.lock.FileLock.save(FileLock.java:228)
    [junit]     at org.exist.storage.lock.FileLockHeartBeat.execute(FileLockHeartBeat.java:67)
    [junit]     at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
    [junit]     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
    [junit] ERROR org.quartz.core.ErrorLogger : Job (eXist.internal.FileLockHeartBeat: /Users/........./eXist-db/2.1/trunk/webapp/WEB-INF/data/dbx_dir.lck threw an exception.
    [junit] org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException]
    [junit]     at org.quartz.core.JobRunShell.run(JobRunShell.java:234)
    [junit]     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
    [junit] Caused by: java.lang.IllegalArgumentException
    [junit]     at java.nio.Buffer.position(Buffer.java:236)
    [junit]     at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:185)
    [junit]     at java.nio.ByteBuffer.put(ByteBuffer.java:832)
    [junit]     at org.exist.storage.lock.FileLock.save(FileLock.java:228)
    [junit]     at org.exist.storage.lock.FileLockHeartBeat.execute(FileLockHeartBeat.java:67)
    [junit]     at org.quartz.core.JobRunShell.run(JobRunShell.java:223)

Did not check the same for 2.0 yet, but I think we should have a look before releasing......

cheers

Dannes

eXist-db Native XML Database
http://www.exist-db.org