Project and Portfolio Management Practitioners Forum

Java Error in Project List Portlet for Cost Columns

Michael Gallant
Valued Contributor.

Java Error in Project List Portlet for Cost Columns

When attempting to add certain fields to the project list portlet - we receive a java error when trying to view the data in the portlet. The error only occurs when using one or more of the cost categories (see list below) - and I have some scenarios where I can get the Actual Labor to show okay but I have not figured out yet why this only happens on certain projects - my investigation continues.)

We have logged this with HP and they have made us ensure our language settings are correct - which they are. They are still determined that this is the issue. We have sent more log files to show them we made the changes. I am waiting for their response as well.

- Actual Cost (AC)
- Actual Labor
- Baseline Cost
- Baseline Labor Cost
- Cost Variance (CV)
- Earned Value (EV)
- Planned Labor
- Planned Total
- Planned Value (PV)
- Schedule Variance (SV)

The error displayed (btw this example is selecting only Planned Labor category - the planned labor amount in the project is $10,173.76.

For input string: "10173,764"

java.lang.NumberFormatException: For input string: "10173,764"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.math.BigInteger.(
at java.math.BigInteger.(
at java.math.BigDecimal.(
at com.kintana.core.util.CurrencyFormatter.format(
at com.kintana.core.util.CurrencyFormatter.format(
at com.kintana.dsh.portlet.renderer.CurrencyDataColumnProvider.formatCurrencyForDisplay(
at com.kintana.dsh.portlet.renderer.CurrencyDataColumnProvider.getDataColumn(
at com.kintana.dsh.portlet.renderer.WebTextPortletColumnRenderer.renderText(
at com.kintana.dsh.portlet.renderer.WebTextPortletColumnRenderer.renderCell(
at org.apache.jsp.web.knta.dsh.portlet.ListPortletContent_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.ApplicationDispatcher.invoke(
at org.apache.catalina.core.ApplicationDispatcher.doInclude(
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
Erik Cole
Acclaimed Contributor.

Re: Java Error in Project List Portlet for Cost Columns

Are the projects all using the same region/currency?
Michael Gallant
Valued Contributor.

Re: Java Error in Project List Portlet for Cost Columns

Yes they are using the same Region and the same currency. This error occurs both in our DEV and PROD environments.
Alexandru Saven
Super Contributor.

Re: Java Error in Project List Portlet for Cost Columns

what is the regional setting that is currently configured in the server? In non-US locales, the comma sign is the separator for decimals.