Support #64

cannot enter number like 201207041142 in the tuplespace

Added by Zhivko Mitev about 6 years ago. Updated about 6 years ago.

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

100%

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

Description

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]

History

#1 Updated by Adam Giemza about 6 years ago

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

http://projects.collide.info/projects/sqlspaces-js/repository/revisions/10

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