You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Gary Brown (JIRA)" <ji...@apache.org> on 2010/09/23 12:58:33 UTC

[jira] Created: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

NumberFormatException when deploying multiple versions of a process with long version
-------------------------------------------------------------------------------------

                 Key: ODE-890
                 URL: https://issues.apache.org/jira/browse/ODE-890
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.3.4
            Reporter: Gary Brown


When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:

Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
java.lang.NumberFormatException: For input string: "20100922165011"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:484)
at java.lang.Integer.parseInt(Integer.java:514)
at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 

The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.


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


[jira] Commented: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914363#action_12914363 ] 

Hudson commented on ODE-890:
----------------------------

Integrated in ODE-trunk #376 (See [https://hudson.apache.org/hudson/job/ODE-trunk/376/])
    * ODE-890, apply Gary's fix, thanks Gary.


> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>            Assignee: Jeff Yu
>             Fix For: 1.3.5
>
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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


[jira] Assigned: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

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

Jeff Yu reassigned ODE-890:
---------------------------

    Assignee: Jeff Yu

> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>            Assignee: Jeff Yu
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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


[jira] Updated: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

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

Gary Brown updated ODE-890:
---------------------------

    Attachment: ODE-890.patch

Patch to change int to long.

> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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


[jira] Resolved: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

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

Jeff Yu resolved ODE-890.
-------------------------

    Fix Version/s: 1.3.5
       Resolution: Fixed

> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>            Assignee: Jeff Yu
>             Fix For: 1.3.5
>
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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


[jira] Commented: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914366#action_12914366 ] 

Hudson commented on ODE-890:
----------------------------

Integrated in ODE-trunk-jdk6 #371 (See [https://hudson.apache.org/hudson/job/ODE-trunk-jdk6/371/])
    * ODE-890, apply Gary's fix, thanks Gary.


> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>            Assignee: Jeff Yu
>             Fix For: 1.3.5
>
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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


[jira] Commented: (ODE-890) NumberFormatException when deploying multiple versions of a process with long version

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914356#action_12914356 ] 

Jeff Yu commented on ODE-890:
-----------------------------

Patch has been applied, thanks Gary.

> NumberFormatException when deploying multiple versions of a process with long version
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-890
>                 URL: https://issues.apache.org/jira/browse/ODE-890
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4
>            Reporter: Gary Brown
>            Assignee: Jeff Yu
>             Fix For: 1.3.5
>
>         Attachments: ODE-890.patch
>
>
> When two versions of the same process are deployed, where the version numbers are yyyymmddhhmmss (long), ODE throws a number format exception:
> Error while activating process: pid={http://www.jboss.org/examples/creditAgency}PurchaseGoodsProcess_CreditAgency-20100922165011 package=PurchaseGoodsProcess-CreditAgency-20100922165011
> java.lang.NumberFormatException: For input string: "20100922165011"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:484)
> at java.lang.Integer.parseInt(Integer.java:514)
> at org.apache.ode.bpel.engine.BpelProcess.getVersion(BpelProcess.java:1156)
> at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:335)
> at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321) 
> The process definition stores the version as a long, but two classes in the bpel-runtime module (org.apache.ode.bpel.engine.BpelProcess and BpelEngineImpl) treat the version as an int.

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