getJobStatus causes NumberFormatException

Bug #514014 reported by Kaspar Weilenmann on 2010-01-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman Java
Undecided
Eric Lambert

Bug Description

It seems that the GearmanPackage that is handled in GearmanJobStatusImpl.handleEvent does not have a NUMERATOR component.

java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Long.parseLong(Long.java:431)
        at java.lang.Long.parseLong(Long.java:468)
        at org.gearman.client.GearmanJobStatusImpl.handleEvent(GearmanJobStatusImpl.java:56)
        at org.gearman.common.GearmanTask.handleGearmanIOEvent(GearmanTask.java:93)
        at org.gearman.common.GearmanJobServerSession.handleResSessionEvent(GearmanJobServerSession.java:356)
        at org.gearman.common.GearmanJobServerSession.handleSessionEvent(GearmanJobServerSession.java:240)
        at org.gearman.common.GearmanJobServerSession.driveSessionIO(GearmanJobServerSession.java:203)
        at org.gearman.client.GearmanClientImpl.driveClientIO(GearmanClientImpl.java:547)
        at org.gearman.client.GearmanClientImpl.driveRequestTillState(GearmanClientImpl.java:599)
        at org.gearman.client.GearmanClientImpl.updateJobStatus(GearmanClientImpl.java:569)
        at org.gearman.client.GearmanClientImpl.getJobStatus(GearmanClientImpl.java:352)

Related branches

Eric Lambert (elambert) on 2010-01-30
Changed in gearman-java:
assignee: nobody → Eric Lambert (elambert)
milestone: none → 0.04
Eric Lambert (elambert) on 2010-08-11
Changed in gearman-java:
status: New → Confirmed
status: Confirmed → In Progress
Eric Lambert (elambert) on 2010-08-11
Changed in gearman-java:
status: In Progress → Fix Committed
Eric Lambert (elambert) on 2010-09-10
Changed in gearman-java:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers