public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "lsching17 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/50860] New: Unexpected NullPointerException when create simple class
Date: Tue, 25 Oct 2011 00:12:00 -0000	[thread overview]
Message-ID: <bug-50860-8172@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50860

             Bug #: 50860
           Summary: Unexpected NullPointerException when create simple
                    class
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lsching17@gmail.com


Created attachment 25601
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25601
test case to reproduce the problem

I am currently porting a simple network server from sun jre 6 to gcj

The server do the following:
a. listen to socket 20000                           (net_server_main.java)
b. submit a task to threadpool to handle connection
(net_server_connection_class.java)

However, when i try to resolve the string of current date, null pointer
exception is raised (net_server_connection_class.java, line 23)

The related line is simple and i suspect that it is related to gcj bug

Step to reproduce:
1. run script "compile_and_run.sh"
2. use a web browser to browse "http://localhost:20000" (in my PC, firefox 7.0)

help message will be display at stdout/stderr of step 1.


                 reply	other threads:[~2011-10-25  0:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50860-8172@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).