[JIRA] Reopened: (HUDSON-1939) NumberFormatException in p4 changes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Reopened: (HUDSON-1939) NumberFormatException in p4 changes

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yodee reopened HUDSON-1939:
---------------------------


I started using this pluing in my environment. Even though i broke down my clientspec with multiple view it just keep throwing NumberFormatException. I wonder if there are any regression.

java.lang.NumberFormatException: For input string: "too"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:449)
        at java.lang.Integer.<init>(Integer.java:660)
        at com.tek42.perforce.parse.Changes.getChangeNumbers(Changes.java:141)
        at hudson.plugins.perforce.PerforceSCM.needToBuild(PerforceSCM.java:623)
        at hudson.plugins.perforce.PerforceSCM.pollChanges(PerforceSCM.java:542)
        at hudson.scm.SCM.poll(SCM.java:344)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1137)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:319)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:346)
        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

> NumberFormatException in p4 changes
> -----------------------------------
>
>                 Key: HUDSON-1939
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-1939
>             Project: Hudson
>          Issue Type: Bug
>          Components: perforce
>    Affects Versions: current
>         Environment: Platform: All, OS: Windows XP
>            Reporter: folkstone42
>            Priority: Blocker
>
> [workspace] $ p4 changes -m 25 //depot/main/Foo/...
> FATAL: For input string: "too"
> java.lang.NumberFormatException: For input string: "too"
> at java.lang.NumberFormatException.forInputString(Unknown Source)
> at java.lang.Integer.parseInt(Unknown Source)
> at java.lang.Integer.<init>(Unknown Source)
> at
> com.tek42.perforce.parse.Changes.getChangeNumbersToForSinglePath(Changes.java:217)
> at com.tek42.perforce.parse.Changes.getChangeNumbersTo(Changes.java:171)
> at com.tek42.perforce.parse.Changes.getChangeNumbersTo(Changes.java:127)
> at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:288)
> at hudson.model.AbstractProject.checkout(AbstractProject.java:574)
> at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:251)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:225)
> at hudson.model.Run.run(Run.java:778)
> at hudson.model.Build.run(Build.java:85)
> at hudson.model.ResourceController.execute(ResourceController.java:70)
> at hudson.model.Executor.run(Executor.java:85)
> The actual string results of this command are as follows:
> Request too large (over 700000); see 'p4 help maxresults'.
> Exceptions such as this should be caught and handled.
> In this case, the depot path will have to be broken up.
> Strip the final ... from the view path given, and replace it with a *. This will
> then be an argument to p4 dirs
> p4 dirs //depot/main/Foo/*
> This will then return a list of nested paths that stand a better chance of
> satisfying the perforce limits.
> This is a blocking issue for me, as I am currently unable to sync a project to
> even get hudson to start building my project.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]