Support #64

cannot enter number like 201207041142 in the tuplespace

Added by Zhivko Mitev over 8 years ago. Updated over 8 years ago.

Status:ResolvedStart date:07/04/2012
Priority:ImmediateDue date:
Assignee:Adam Giemza% Done:


Category:-Estimated time:1.00 hour
Target version:-Spent time:1.00 hour


Steps to reproduce:
1. enter number like 201207041142 as a tuple field

Expected result:
1. the number is entered successfully

Actual result:
1. Exception appears

If I try to enter a number bigger than 11 positions appears an IllegalArgumentException

Exception message:
2012-07-04 11:42:57.660:WARN:oejw.WebSocketConnectionD13:java.lang.IllegalArgume
ntException: Could not instantiate object for value 201207041142 for SCEP@143566
0761java.nio.channels.SocketChannel[connected local=/0:0:0:0:0:0:0:1:8080 remote
=/0:0:0:0:0:0:0:1:50749][o=true d=true,io=1,w=true,rb=false,wb=false]


#1 Updated by Adam Giemza over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

Please make sure that passing numbers outside than Java's 32bit Integer will throw and exception now. You need to use a float field explicitly.

Also available in: Atom PDF