Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 1039 invoked from network); 27 Aug 2006 17:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Aug 2006 17:55:43 -0000 Received: (qmail 72078 invoked by uid 500); 27 Aug 2006 17:55:42 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 72053 invoked by uid 500); 27 Aug 2006 17:55:42 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 72042 invoked by uid 99); 27 Aug 2006 17:55:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 10:55:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 10:55:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A85A7142D0 for ; Sun, 27 Aug 2006 17:52:23 +0000 (GMT) Message-ID: <19428351.1156701143302.JavaMail.jira@brutus> Date: Sun, 27 Aug 2006 10:52:23 -0700 (PDT) From: "Nathan Beyer (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-1154) [classlib][net] java.net.ServerSocket throws NPE In-Reply-To: <27552944.1155285973900.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1154?page=all ] Nathan Beyer reassigned HARMONY-1154: ------------------------------------- Assignee: Nathan Beyer > [classlib][net] java.net.ServerSocket throws NPE > ------------------------------------------------ > > Key: HARMONY-1154 > URL: http://issues.apache.org/jira/browse/HARMONY-1154 > Project: Harmony > Issue Type: Bug > Reporter: Igor V. Stolyarov > Assigned To: Nathan Beyer > Priority: Critical > Attachments: Harmony-1154 > > > java.net.ServerSocket throws NPE > Test------------------------------------------------------------------------------------------------------------ > import java.net.*; > public class Test { > public static void main(String[] args) { > try{ > ServerSocket ss = new ServerSocket(8080, 50, InetAddress.getLocalHost()); > System.out.println("Test done. ServerSocket: " +ss); > }catch(Exception e){ > e.printStackTrace(); > } > } > } > Output: > -------------------------------------------------------------------------------- > Harmony: > java version 1.5 (subset) > (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as app > licable. > Unhandled exception > Type=Segmentation error vmState=0x00040000 > J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=7FE40F5 > 1 ContextFlags=0001003f > Handler1=7FE50390 Handler2=7FD074F0 InaccessibleAddress=00000000 > EDI=00000000 ESI=01578F00 EAX=00000000 EBX=0013F79C > ECX=00000000 EDX=00000020 > EIP=7FE40F51 ESP=0013F704 EBP=0013F774 > Module=c:\test\deploy\jre\bin\default\j9vm23.dll > Module_base_address=7FE30000 Offset_in_DLL=00010f51 > Target=2_30_20060727_07300_lHdSMR (Windows XP 5.1 build 2600 Service Pack 2) > CPU=x86 (1 logical CPUs) (0x7feec000 RAM) > JavaVMInitArgs.nOptions=10: > -Dcom.ibm.oti.vm.vmdir=c:\test\deploy\jre\bin\default\ > -Dcom.ibm.oti.vm.exe=c:\test\deploy\jre\bin\java.exe > -Dcom.ibm.oti.vm.bootstrap.library.path=c:\test\deploy\jre\bin;c:\test\deplo > y\jre\bin\default > -Xbootclasspath/p:c:\test\deploy\jre\bin\default\luni-kernel.jar;c:\test\dep > loy\jre\bin\default\security-kernel.jar > -Djava.home=c:\test\deploy\jre > -Djava.library.path=c:\test\deploy\jre\bin\;.;c:\test\deploy\jre\bin\default > ;C:\Program Files\Far;C:\Program Files\Intel\VTune\tcheck\bin;C:\Program Files\I > ntel\VTune\CGGlbCache;C:\Program Files\Intel\VTune\Shared\Bin;C:\Program Files\C > ommon Files\Intel\Shared Files\IDVC;C:\Program Files\Intel\VTune\Analyzer\Bin;C: > \PROGRAM FILES\THINKPAD\UTILITIES;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\W > bem;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\ATI Technol > ogies\ATI Control Panel;C:\Program Files\ATI Technologies\Fire GL 3D Studio Max; > C:\PROGRA~1\F-Secure\ssh;C:\jrockit-j2sdk1.4.2_04\bin;C:\apache-ant-1.6.2\bin;C: > \jcsc\bin;C:\Program Files\Intel\Compiler\C++\9.0\IA32\Bin;C:\Program Files\Humm > ingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Subversion\bin;C:\Prog > ram Files\Microsoft Platform SDK\Bin;c:\cygwin\bin;C:\Program Files\QuickTime\QT > System\;C:\Program Files\cvsnt;cvsgrab-2.2.2; > -Djava.class.path=C:\Program Files\Intel\VTune\Analyzer\Bin;.;C:\Program Fil > es\Java\j2re1.4.2_10\lib\ext\QTJava.zip > _org.apache.harmony.vmi.portlib (extra info: 0013FBC4) > -Xjcl:jclclear_23 > _j2se_j9=136448 > Generated system dump: C:\Documents and Settings\ivstolya\j9.dmp > Thread: main (priority 5) (LOCATION OF ERROR) > NATIVE org/apache/harmony/luni/platform/OSNetworkSystem.createServerStreamSoc > ketImpl(Ljava/io/FileDescriptor;Z)V > 00000002 org/apache/harmony/luni/platform/OSNetworkSystem.createServerStreamSoc > ket(Ljava/io/FileDescriptor;Z)V > 00000016 org/apache/harmony/luni/net/PlainServerSocketImpl.create(Z)V > 00000047 java/net/ServerSocket.(IILjava/net/InetAddress;)V > 0000000c Test.main([Ljava/lang/String;)V > Thread: JIT Compilation Thread (priority 10) (daemon) > -------------------------------------------------------------------------------- > JRockit: > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: > System optimized over throughput (initial strategy singleparpar)) > Test done. ServerSocket: ServerSocket[addr=ivstolya-mobl/10.125.132.107,port=0,l > ocalport=8080] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira