Overflow Error

Posts   
 
    
Posts: 24
Joined: 01-Dec-2006
# Posted on: 25-Jul-2007 10:20:12   

Hi,

When I try to do this: adapter.FetchEntityCollection(eColSeriNo, rpb, 0, null);

an error returns as:"OCI-22053:Overflow error"

There is just one record on the table. But there is a column which is number with value : "617701,387155963"

Is this the problem? If so, how can I overcome with this?

Platform: VS.2005 C# DB: Oracle

LLBLGEN 2.0

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Jul-2007 11:02:57   

Please post complete code snippet, stack trace, and LLBLGen Pro runtime library version.

ref: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7720

Posts: 24
Joined: 01-Dec-2006
# Posted on: 25-Jul-2007 12:14:59   

LLBLGEN version : 2.0.0.61127

Complete code:

           eColSeriNo.Items.Clear();
           IPredicateExpression filter = new PredicateExpression();
            filter.Add(SeriNoFields.DepoKodu == lookUpEditDepo.EditValue.ToString());

            if (checkEditStok.Checked == false)
            {
                filter.Add(SeriNoFields.LotMiktar != (Decimal)0);
            }
            if (buttonEditItemKodu.Text != "")
            {
                filter.Add(SeriNoFields.ItemKodu == buttonEditItemKodu.Text);
            }


            IRelationPredicateBucket rpb = new RelationPredicateBucket(filter);

            _adapter.FetchEntityCollection(eColSeriNo, rpb, 0, null);
Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Jul-2007 16:30:08   

Please post a stack trace.

Also v. 2.0.0.61127 is somehow old, would you please download and use the latest.

Posts: 24
Joined: 01-Dec-2006
# Posted on: 02-Aug-2007 13:33:57   

EnvanterIzleme.exe!EnvanterIzleme.frmDepoStokIzleme.btGetir_Click(object sender = {Text = ""}, System.EventArgs e = {X = 12 Y = 14 Button = Left}) Line 159

EnvanterIzleme.exe!EnvanterIzleme.Program.Main() Line 18

These are call stack.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 02-Aug-2007 13:47:52   

lastmohican wrote:

EnvanterIzleme.exe!EnvanterIzleme.frmDepoStokIzleme.btGetir_Click(object sender = {Text = ""}, System.EventArgs e = {X = 12 Y = 14 Button = Left}) Line 159

EnvanterIzleme.exe!EnvanterIzleme.Program.Main() Line 18

These are call stack.

Please post the full stacktrace, the one which comes with the exception, and not copied from vs.net but from the exception object.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 24
Joined: 01-Dec-2006
# Posted on: 10-Aug-2007 14:11:22   

can you tell me how to get stack trace? I have never get before..

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 10-Aug-2007 18:19:45   

lastmohican wrote:

can you tell me how to get stack trace? I have never get before..

it's displayed when the exception is thrown. You can also grab it in code: try { // your call } catch(Exception ex) { Console.WriteLine(ex.StackTrace); throw; }

Frans Bouma | Lead developer LLBLGen Pro