Last modified: 2013-04-12 14:29:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46923 - hooks-its is complaining about invalid input
hooks-its is complaining about invalid input
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-05 11:57 UTC by Chad H.
Modified: 2013-04-12 14:29 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2013-04-05 11:57:50 UTC
Just saw this in the logs.

[2013-04-05 09:38:18,753] WARN  com.googlesource.gerrit.plugins.hooks.validation.ItsValidateComment : Unexpected error accessint ITS
java.io.IOException: java.lang.NumberFormatException: For input string: "Id1d0360821100e6e3131b6ff20b66d4605fd9b1c"
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaItsFacade.execute(BugzillaItsFacade.java:189)
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaItsFacade.exists(BugzillaItsFacade.java:114)
        at com.googlesource.gerrit.plugins.hooks.validation.ItsValidateComment.isWorkitemPresent(ItsValidateComment.java:117)
        at com.googlesource.gerrit.plugins.hooks.validation.ItsValidateComment.validCommit(ItsValidateComment.java:90)
        at com.googlesource.gerrit.plugins.hooks.validation.ItsValidateComment.onCommitReceived(ItsValidateComment.java:161)
        at com.google.gerrit.server.git.validators.CommitValidators$PluginCommitValidationListener.onCommitReceived(CommitValidators.java:286)
        at com.google.gerrit.server.git.validators.CommitValidators.validateForReceiveCommits(CommitValidators.java:113)
        at com.google.gerrit.server.git.ReceiveCommits.validCommit(ReceiveCommits.java:1979)
        at com.google.gerrit.server.git.ReceiveCommits.access$2400(ReceiveCommits.java:139)
        at com.google.gerrit.server.git.ReceiveCommits$ReplaceRequest.validate(ReceiveCommits.java:1614)
        at com.google.gerrit.server.git.ReceiveCommits.preparePatchSetsForReplace(ReceiveCommits.java:1505)
        at com.google.gerrit.server.git.ReceiveCommits.processCommands(ReceiveCommits.java:536)
        at com.google.gerrit.server.git.AsyncReceiveCommits$Worker.run(AsyncReceiveCommits.java:90)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at com.google.gerrit.server.util.RequestScopePropagator$5.call(RequestScopePropagator.java:222)
        at com.google.gerrit.server.util.RequestScopePropagator$4.call(RequestScopePropagator.java:201)
        at com.google.gerrit.server.util.ThreadLocalRequestScopePropagator$1.call(ThreadLocalRequestScopePropagator.java:55)
        at com.google.gerrit.server.util.RequestScopePropagator$1.call(RequestScopePropagator.java:98)
        at com.google.gerrit.server.util.RequestScopePropagator$2.run(RequestScopePropagator.java:131)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:337)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.NumberFormatException: For input string: "Id1d0360821100e6e3131b6ff20b66d4605fd9b1c"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:481)
        at java.lang.Integer.parseInt(Integer.java:514)
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaClient.getBug(BugzillaClient.java:67)
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaItsFacade$4.call(BugzillaItsFacade.java:117)
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaItsFacade$4.call(BugzillaItsFacade.java:114)
        at com.googlesource.gerrit.plugins.hooks.bz.BugzillaItsFacade.execute(BugzillaItsFacade.java:177)
        ... 27 more
Comment 1 christian 2013-04-11 09:27:57 UTC
Fix submitted to upstream at:

https://gerrit-review.googlesource.com/#/c/44550/
Comment 2 Chad H. 2013-04-12 14:29:44 UTC
Fix merged & deployed, haven't seen it complaining anymore.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links