harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor V. Stolyarov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1154) [classlib][net] java.net.ServerSocket throws NPE
Date Fri, 11 Aug 2006 08:46:13 GMT
[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
            Priority: Critical


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.<init>(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

        

Mime
View raw message