From owner-freebsd-java@FreeBSD.ORG Tue Jul 1 13:04:40 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E13281065679 for ; Tue, 1 Jul 2008 13:04:40 +0000 (UTC) (envelope-from opt1k2@mail.ru) Received: from mx44.mail.ru (mx44.mail.ru [195.239.211.10]) by mx1.freebsd.org (Postfix) with ESMTP id 695E18FC22 for ; Tue, 1 Jul 2008 13:04:40 +0000 (UTC) (envelope-from opt1k2@mail.ru) Received: from f39.mail.ru (f39.mail.ru [194.67.57.77]) by mx44.mail.ru (mPOP.Fallback_MX) with ESMTP id 71A6E38009082 for ; Tue, 1 Jul 2008 16:27:21 +0400 (MSD) Received: from mail by f39.mail.ru with local id 1KDex5-000H1X-00 for freebsd-java@freebsd.org; Tue, 01 Jul 2008 16:27:19 +0400 Received: from [195.7.174.170] by win.mail.ru with HTTP; Tue, 01 Jul 2008 16:27:19 +0400 From: Alexey Beketov To: freebsd-java@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [195.7.174.170] Date: Tue, 01 Jul 2008 16:27:19 +0400 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK Subject: (bug report) jdk16 SEVERE nextBytes() failed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey Beketov List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 13:04:41 -0000 Hello, I using FreeBSD 7.0 , jdk-1.6.0.3p4_2 and I trying to host l2j server on it (exectly l2jfree). If I use ingame "scroll of escape" then my character stucks and in log error appears: SEVERE nextBytes() failed^M java.security.ProviderException: nextBytes() failed at sun.security.provider.NativePRNG$RandomIO.implNextBytes(NativePRNG.java:270) at sun.security.provider.NativePRNG$RandomIO.access$200(NativePRNG.java:108) at sun.security.provider.NativePRNG.engineNextBytes(NativePRNG.java:97) at java.security.SecureRandom.nextBytes(SecureRandom.java:433) at java.security.SecureRandom.next(SecureRandom.java:455) at java.util.Random.nextInt(Random.java:257) at com.l2jfree.tools.random.Rnd.nextInt(Rnd.java:36) at com.l2jfree.tools.random.Rnd.get(Rnd.java:50) at com.l2jfree.gameserver.model.L2Character.teleToLocation(L2Character.java:681) at com.l2jfree.gameserver.model.L2Character.teleToLocation(L2Character.java:718) at com.l2jfree.gameserver.model.L2Character.teleToLocation(L2Character.java:723) at com.l2jfree.gameserver.handler.itemhandlers.ScrollOfEscape$EscapeFinalizer.run(ScrollOfEscape.java:258) at com.l2jfree.gameserver.ThreadPoolManager$Runner.run(ThreadPoolManager.java:255) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:9 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.InterruptedIOException at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:199) at sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:185) at sun.security.provider.NativePRNG$RandomIO.ensureBufferValid(NativePRNG.java:247) at sun.security.provider.NativePRNG$RandomIO.implNextBytes(NativePRNG.java:261) ... 20 more ^M This error only on freebsd with native java. On other OS and with sun-java-jdk it works perfectly. Any ideas how to solve this problem? &Is it good idea to send this bug report to jdk-1.6.0.3p4_2 port maintainer?