Re: java.lang.RuntimeException: java.lang.NumberFormatException

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
<applause/>

:)

Jtf

On Mon, Feb 2, 2009 at 11:23 AM, Lucas Albers <[email protected]> wrote:
> After much further research,
> I have resolve the problem by moving my dashboard machine to Linux.
> Tada!
>
>
> -----Original Message-----
> From: Lucas Albers [mailto:[email protected]]
> Sent: Friday, January 23, 2009 4:37 PM
> To: [email protected]
> Subject: Re: [Cruisecontrol-user] java.lang.RuntimeException:
> java.lang.NumberFormatException
>
> Hmmm.
> That is the issue I am still stumped about.
> I updated to a complete fresh copy of cc 2.8.2.
>
> I can't determine how to step through it because the crashing code appears
> to be auto-generated.
> Er, I cannot located the source for the file referred to in the exception.
>
> This error still occurs:
>
> 2009-01-23 15:29:41.634::WARN:  /dashboard/cctray.xml
> java.lang.RuntimeException: java.lang.NumberFormatException: For input
> string: ""
>        at
> net.sourceforge.cruisecontrol.dashboard.utils.CCDateFormatter.iso8601(CCDate
> Formatter.java:109)
>        at
> net.sourceforge.cruisecontrol.dashboard.service.LatestBuildSummariesService.
> getLatestOfProjects(LatestBuildSummariesService.java:52)
>        at
> net.sourceforge.cruisecontrol.dashboard.web.GetProjectBuildStatusXmlControll
> er.cctray(GetProjectBuildStatusXmlController.java:71)
>        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.web.servlet.mvc.multiaction.MultiActionController.invoke
> NamedMethod(MultiActionController.java:446)
>        at
> org.springframework.web.servlet.mvc.multiaction.MultiActionController.handle
> RequestInternal(MultiActionController.java:384)
>        at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abstrac
> tController.java:153)
>        at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Si
> mpleControllerHandlerAdapter.java:48)
>        at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServl
> et.java:858)
>        at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServle
> t.java:792)
>        at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSer
> vlet.java:476)
>        at
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java
> :431)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>        at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>        at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>        at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>        at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
>        at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>        at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerColl
> ection.java:206)
>        at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
> 4)
>        at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:324)
>        at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>        at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnectio
> n.java:829)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>        at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>        at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488
> )
> Caused by: java.lang.NumberFormatException: For input string: ""
>        at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48
> )
>        at java.lang.Long.parseLong(Long.java:424)
>        at java.lang.Long.parseLong(Long.java:461)
>        at java.text.DigitList.getLong(DigitList.java:177)
>        at java.text.DecimalFormat.parse(DecimalFormat.java:1298)
>        at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1538)
>        at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1263)
>        at java.text.DateFormat.parse(DateFormat.java:335)
>        at
> net.sourceforge.cruisecontrol.util.DateUtil.parseIso8601(DateUtil.java:194)
>        at
> net.sourceforge.cruisecontrol.dashboard.utils.CCDateFormatter.iso8601(CCDate
> Formatter.java:106)
>        ... 32 more
> [cc]Jan-23 15:29:44 ScriptRunner  -      [exec]
>
>
> -----Original Message-----
> From: Jeffrey Fredrick [mailto:[email protected]]
> Sent: Thursday, January 08, 2009 11:24 PM
> To: [email protected]
> Subject: Re: [Cruisecontrol-user] java.lang.RuntimeException:
> java.lang.NumberFormatException
>
>>> [cc]Jan-06 14:54:23 atusController- java.lang.RuntimeException:
>>> java.lang.NumberFormatException: For input string: "20099.E200994E4"
>
>> Going back to  jdk 1.5.15 from jdk 1.6.x or jdk 1.5.17 fixes this issue.
>
> That really odd.  Any idea what the underlying problem is?
>
> Jtf
>
> --
>  Free hour of CI consulting: http://the.ci-guys.com
>
>
>
> On Thu, Jan 8, 2009 at 5:57 PM, Lucas Albers <[email protected]> wrote:
>> So the resolution is to revert to an earlier java.
>>
>>
>>
>> Going back to  jdk 1.5.15 from jdk 1.6.x or jdk 1.5.17 fixes this issue.
>>
>>
>>
>>
>>
>> From: Lucas Albers [mailto:[email protected]]
>> Sent: Wednesday, January 07, 2009 12:21 PM
>> To: [email protected]
>> Subject: Re: [Cruisecontrol-user] java.lang.RuntimeException:
>> java.lang.NumberFormatException
>>
>>
>>
>> This error occurs on an  irregular basis. ""
>>
>>
>>
>> Any ideas on how I can troubleshoot or resolve this error?
>>
>>
>>
>> When this error occurs, it hangs the build until I hit enter in the
> console
>> window the cruise control instance is running in.
>>
>>
>>
>> I am running cc 2.73 with jdk 1.6.11 x64, on windows 2008 x64.
>>
>>
>>
>>
>>
>> [cc]Jan-06 14:54:22 atusController- java.lang.RuntimeException:
>> java.lang.NumberFormatException: multiple points
>>
>> java.lang.RuntimeException: java.lang.NumberFormatException: multiple
> points
>>
>>         at
>>
> net.sourceforge.cruisecontrol.dashboard.utils.CCDateFormatter.iso8601(CCDate
> Formatter.java:114)
>>
>>         at
>>
> net.sourceforge.cruisecontrol.dashboard.service.LatestBuildSummariesService.
> getLatestOfProjects(LatestBuildSummariesService.java:52)
>>
>>         at
>>
> net.sourceforge.cruisecontrol.dashboard.web.GetProjectBuildStatusController.
> handleRequest(GetProjectBuildStatusController.java:77)
>>
>>         at
>>
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Si
> mpleControllerHandlerAdapter.java:48)
>>
>>         at
>>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServl
> et.java:858)
>>
>>         at
>>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServle
> t.java:792)
>>
>>         at
>>
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSer
> vlet.java:476)
>>
>>         at
>>
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java
> :431)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>
>>         at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
>>
>>         at
>>
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
> er.java:475)
>>
>>         at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:556)
>>
>>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1563)
>>
>>         at
>>
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
> .java:623)
>>
>>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1515)
>>
>>         at org.mortbay.http.HttpServer.service(HttpServer.java:956)
>>
>>         at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
>>
>>         at
>> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
>>
>>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
>>
>>         at
>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>>
>>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>>
>>         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>>
>> Caused by: java.lang.NumberFormatException: multiple points
>>
>>         at
>> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
>>
>>         at java.lang.Double.parseDouble(Double.java:510)
>>
>>         at java.text.DigitList.getDouble(DigitList.java:151)
>>
>>         at java.text.DecimalFormat.parse(DecimalFormat.java:1303)
>>
>>         at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1544)
>>
>>         at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1264)
>>
>>         at java.text.DateFormat.parse(DateFormat.java:335)
>>
>>         at
>>
> net.sourceforge.cruisecontrol.util.DateUtil.parseIso8601(DateUtil.java:188)
>>
>>         at
>>
> net.sourceforge.cruisecontrol.dashboard.utils.CCDateFormatter.iso8601(CCDate
> Formatter.java:111)
>>
>>         ... 22 more
>>
>> <snip>
>>
>> [cc]Jan-06 14:54:23 atusController- java.lang.RuntimeException:
>> java.lang.NumberFormatException: For input string: "20099.E200994E4"
>>
>>
>
> ----------------------------------------------------------------------------
> --
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
> ----------------------------------------------------------------------------
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>



-- 
 Free hour of CI consulting: http://the.ci-guys.com

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.