You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "chris snow (JIRA)" <ji...@apache.org> on 2011/03/29 21:00:05 UTC

[jira] [Created] (OFBIZ-4237) shutdown exception if invalid string entered

shutdown exception if invalid string entered
--------------------------------------------

                 Key: OFBIZ-4237
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4237
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: chris snow
            Priority: Minor
         Attachments: Start.patch

Exception is thrown if a string is entered that doesn't contain a ':'

[code]
Received connection from - /127.0.0.1 : 44303
Exception in thread "AdminPortThread" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1937)
	at org.ofbiz.base.start.Start$AdminPortThread.processClientRequest(Start.java:297)
	at org.ofbiz.base.start.Start$AdminPortThread.run(Start.java:334)

[code]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OFBIZ-4237) shutdown exception if invalid string entered

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

chris snow updated OFBIZ-4237:
------------------------------

    Attachment: Start.patch

> shutdown exception if invalid string entered
> --------------------------------------------
>
>                 Key: OFBIZ-4237
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4237
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Priority: Minor
>         Attachments: Start.patch
>
>
> Exception is thrown if a string is entered that doesn't contain a ':'
> [code]
> Received connection from - /127.0.0.1 : 44303
> Exception in thread "AdminPortThread" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 	at java.lang.String.substring(String.java:1937)
> 	at org.ofbiz.base.start.Start$AdminPortThread.processClientRequest(Start.java:297)
> 	at org.ofbiz.base.start.Start$AdminPortThread.run(Start.java:334)
> [code]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (OFBIZ-4237) shutdown exception if invalid string entered

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

Adrian Crum closed OFBIZ-4237.
------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Fixed, rev 1086701. Thanks Chris!

Btw, I wasn't able to apply your patch, so I made the changes by hand. Try using svn diff next time.


> shutdown exception if invalid string entered
> --------------------------------------------
>
>                 Key: OFBIZ-4237
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4237
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Start.patch
>
>
> Exception is thrown if a string is entered that doesn't contain a ':'
> [code]
> Received connection from - /127.0.0.1 : 44303
> Exception in thread "AdminPortThread" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 	at java.lang.String.substring(String.java:1937)
> 	at org.ofbiz.base.start.Start$AdminPortThread.processClientRequest(Start.java:297)
> 	at org.ofbiz.base.start.Start$AdminPortThread.run(Start.java:334)
> [code]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (OFBIZ-4237) shutdown exception if invalid string entered

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

Adrian Crum reassigned OFBIZ-4237:
----------------------------------

    Assignee: Adrian Crum

> shutdown exception if invalid string entered
> --------------------------------------------
>
>                 Key: OFBIZ-4237
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4237
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: Start.patch
>
>
> Exception is thrown if a string is entered that doesn't contain a ':'
> [code]
> Received connection from - /127.0.0.1 : 44303
> Exception in thread "AdminPortThread" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 	at java.lang.String.substring(String.java:1937)
> 	at org.ofbiz.base.start.Start$AdminPortThread.processClientRequest(Start.java:297)
> 	at org.ofbiz.base.start.Start$AdminPortThread.run(Start.java:334)
> [code]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira