You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sidda Eraiah (JIRA)" <ji...@apache.org> on 2008/05/18 21:28:55 UTC

[jira] Created: (DIRMINA-587) The proxy sample does not work - results in a NullPointerException

The proxy sample does not work - results in a NullPointerException
------------------------------------------------------------------

                 Key: DIRMINA-587
                 URL: https://issues.apache.org/jira/browse/DIRMINA-587
             Project: MINA
          Issue Type: Test
          Components: Example
    Affects Versions: 2.0.0-M1
         Environment: Windows XP
            Reporter: Sidda Eraiah


Running the Proxy example I get the following:

C:\mina-2.0.0-M1\example\bin>java org.apache.mina.example.proxy.Main 12345 www.g
oogle.com 80
Listening on port 12345
May 18, 2008 12:25:15 PM org.apache.mina.example.proxy.AbstractProxyIoHandler me
ssageReceived
INFO: GET / HTTP/1.1
Host: localhost:12345
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/2
0080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

The proxy does not really work, as the browser is still waiting for a response and hangs.  Is this an environment issue?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRMINA-587) The proxy sample does not work - results in a NullPointerException

Posted by "Edouard De Oliveira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard De Oliveira resolved DIRMINA-587.
-----------------------------------------

    Resolution: Fixed

Fixed an incorrect handling of session attributes.

PLease test trunk in your environnement to confirm the fix

> The proxy sample does not work - results in a NullPointerException
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-587
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-587
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: Windows XP
>            Reporter: Sidda Eraiah
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M3
>
>
> Running the Proxy example I get the following:
> C:\mina-2.0.0-M1\example\bin>java org.apache.mina.example.proxy.Main 12345 www.g
> oogle.com 80
> Listening on port 12345
> May 18, 2008 12:25:15 PM org.apache.mina.example.proxy.AbstractProxyIoHandler me
> ssageReceived
> INFO: GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/2
> 0080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> The proxy does not really work, as the browser is still waiting for a response and hangs.  Is this an environment issue?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-587) The proxy sample does not work - results in a NullPointerException

Posted by "Edouard De Oliveira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard De Oliveira updated DIRMINA-587:
----------------------------------------

        Fix Version/s: 2.0.0-M3
    Affects Version/s: 2.0.0-M2

> The proxy sample does not work - results in a NullPointerException
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-587
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-587
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: Windows XP
>            Reporter: Sidda Eraiah
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M3
>
>
> Running the Proxy example I get the following:
> C:\mina-2.0.0-M1\example\bin>java org.apache.mina.example.proxy.Main 12345 www.g
> oogle.com 80
> Listening on port 12345
> May 18, 2008 12:25:15 PM org.apache.mina.example.proxy.AbstractProxyIoHandler me
> ssageReceived
> INFO: GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/2
> 0080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> The proxy does not really work, as the browser is still waiting for a response and hangs.  Is this an environment issue?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRMINA-587) The proxy sample does not work - results in a NullPointerException

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard closed DIRMINA-587.
-------------------------------------


> The proxy sample does not work - results in a NullPointerException
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-587
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-587
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: Windows XP
>            Reporter: Sidda Eraiah
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M3
>
>
> Running the Proxy example I get the following:
> C:\mina-2.0.0-M1\example\bin>java org.apache.mina.example.proxy.Main 12345 www.g
> oogle.com 80
> Listening on port 12345
> May 18, 2008 12:25:15 PM org.apache.mina.example.proxy.AbstractProxyIoHandler me
> ssageReceived
> INFO: GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/2
> 0080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> The proxy does not really work, as the browser is still waiting for a response and hangs.  Is this an environment issue?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRMINA-587) The proxy sample does not work - results in a NullPointerException

Posted by "Edouard De Oliveira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard De Oliveira reassigned DIRMINA-587:
-------------------------------------------

    Assignee: Edouard De Oliveira

> The proxy sample does not work - results in a NullPointerException
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-587
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-587
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: Windows XP
>            Reporter: Sidda Eraiah
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M3
>
>
> Running the Proxy example I get the following:
> C:\mina-2.0.0-M1\example\bin>java org.apache.mina.example.proxy.Main 12345 www.g
> oogle.com 80
> Listening on port 12345
> May 18, 2008 12:25:15 PM org.apache.mina.example.proxy.AbstractProxyIoHandler me
> ssageReceived
> INFO: GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/2
> 0080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> The proxy does not really work, as the browser is still waiting for a response and hangs.  Is this an environment issue?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.