Overflow exception
Everytime a transaction try to commit occurs the overflow exception:
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: Erro na grava____o do planejamento; nested
exception is:
kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
I'm using Oracle 9i.
Can someone explain me why it happens and what should I do to avoid it?
Thanks,
Alexander.
I've removed all toString() implementations of all persistence class, but
the problem continues...
The stack trace of the overflow exception generated is the follow:
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: Erro na grava____o do planejamento; nested
exception is:
kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
com.cflex.supervision.trains.servidor.RMIServerImpl_Stub.gravaPlanejamentoNaoOficial(Unknown
Source)
at
com.cflex.supervision.trains.cliente.ControladorCliente.gravaPlanejamentoNaoOficial(ControladorCliente.java:206)
at
com.cflex.supervision.trains.cliente.gui.ClientGUI$MainMenuAdapter.actionPerformed(ClientGUI.java:106)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.rmi.RemoteException: Erro na grava____o do planejamento;
nested exception is:
kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
at
com.cflex.supervision.trains.servidor.RMIServerImpl.gravaPlanejamentoNaoOficial(RMIServerImpl.java:268)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: kodo.util.FatalDataStoreException:
kodo.util.FatalDataStoreException: Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
NestedThrowables:
java.sql.SQLException: Overflow Exception
at
kodo.util.FatalDataStoreException.writeReplace(FatalDataStoreException.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteReplace(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
... 7 more
Caused by: java.sql.SQLException: Overflow Exception
at oracle.sql.LnxLibThin.lnxren(LnxLibThin.java:6137)
at oracle.sql.NUMBER.toBytes(NUMBER.java:939)
at
oracle.jdbc.dbaccess.DBConversion.DoubleToNumberBytes(DBConversion.java:2990)
at
oracle.jdbc.driver.OraclePreparedStatement.setDouble(OraclePreparedStatement.java:1514)
at
com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
at
com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.setDouble(PoolConnection.java:454)
at
com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
at
com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
at
com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
at
com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setDouble(LoggingConnectionDecorator.java:848)
at
com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
at kodo.jdbc.sql.DBDictionary.setDouble(DBDictionary.java:1495)
at kodo.jdbc.sql.AbstractRow.toSQL(AbstractRow.java:631)
at kodo.jdbc.runtime.RowImpl.flush(RowImpl.java:250)
at
kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:125)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:361)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:155)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:588)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:152)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:969)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:814)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:543)
at
com.cflex.supervision.trains.dbase.espelho.malhaferroviaria.EspelhoListaDeConexoes.persisteListaDeConexoes(EspelhoListaDeConexoes.java:99)
at
com.cflex.supervision.trains.dbase.espelho.malhaferroviaria.EspelhoVia.persisteVia(EspelhoVia.java:86)
at
com.cflex.supervision.trains.dbase.espelho.EspelhoTempoMedioMovimento.persisteTempoMedioMovimento(EspelhoTempoMedioMovimento.java:82)
at
com.cflex.supervision.trains.dbase.espelho.EspelhoListaTemposMediosMovimento.persisteListaTemposMediosMovimento(EspelhoListaTemposMediosMovimento.java:96)
at
com.cflex.supervision.trains.dbase.espelho.EspelhoTremTipo.persisteTremTipo(EspelhoTremTipo.java:95)
at
com.cflex.supervision.trains.dbase.espelho.EspelhoTrem.persisteTrem(EspelhoTrem.java:92)
at
com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoProgramacaoDeTrens.persisteProgramacaoDeTrens(EspelhoProgramacaoDeTrens.java:84)
at
com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoModeloFerroviario.persisteModeloFerroviario(EspelhoModeloFerroviario.java:85)
at
com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoPlanejamento.persistePlanejamento(EspelhoPlanejamento.java:98)
at
com.cflex.supervision.trains.dbase.BaseDeDados.setPlanejamento(BaseDeDados.java:470)
at
com.cflex.supervision.trains.servidor.RMIServerImpl.gravaPlanejamentoNaoOficial(RMIServerImpl.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
... 7 more
Does anybody have another suggestion to help me?
Thanks,
Alexander.
Similar Messages
-
Getting stack overflow exception whilst reading from HashMap
hi,
We are getting stack oveflow exception exception whilst reading from the HashMap.
Following are few details about the code
We have a swing based client and Session beans and Entity beans deployed on Weblogic Server.
When the server is started, a session bean method queries to data base and creates a java object for each row in the data base.This java object is then stored in HashMap. These java objects have all get/set methods . and it has attributes of primitive data type as well as other java objects.This Hahsmap is then returned to client.
When client calls this method and the method processes succesfuly , but when tries to return the HashMap, it gives Stack overflow exception.
Looking at the stack trace i think this exception is thrown when the HashMap.readObject() methods is being invoked.
does any body have any idea about this ? a quick help is much appriciated.Stack overflow is often caused by infinity loops No, an infinite loop would be like while (true) {
// stuff
} That doesn't cause stack overflow.
or
recursive method calls.Bingo. -
Dave
If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
Nat
"Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
You mean... that without the aftervaluechange event, I could catch this?
Because by no means is my exception block anchored to that event.
I am looking for advice of where I could put this exception block...if there
is another possible place at all.
Thanks.
Dave
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
-----Original Message-----
Hi Dave,
You have no chance to catch this exception in aftervaluechange block.
This event is triggered if the value in DataField is OK.
You get only Arithmetic exception without the aftervaluechange event if the
length of the decimal is greater as 28.
Regards
Zenon Adamek
Forte Developer
Purolator Courier Ltd.
ZAdamekpurolator.com
-----Original Message-----
From: Campbell, Dave [SMTP:DCampbellpurolator.com]
Sent: Friday, January 28, 2000 8:19 AM
To: 'kamranaminyahoo.com'
Subject: (forte-users) Overflow Exception that I can't
catch...
The problem is:
I have a DataField, mapped type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on keystroke and
I can't set the max characters in the properties sheet.
This works great until, Someone enters over 28 characters into the
field.
It then displays the errors:
USER ERROR: Operation caused arithmetic overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
[DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
application
"FTLaunch_c10",pid 279 on node W5300109 in environment centrale
This is the first bit of code that executes when I leave the field
and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exception
when ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount can not exceed
100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and the "Exception line"
I also set the debugger to stop on all exceptions and posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a decimalnullable.
Is there any suggestions for where else I may catch this
Exception???
Thanks in advance
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comDave
If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
Nat
"Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
You mean... that without the aftervaluechange event, I could catch this?
Because by no means is my exception block anchored to that event.
I am looking for advice of where I could put this exception block...if there
is another possible place at all.
Thanks.
Dave
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
-----Original Message-----
Hi Dave,
You have no chance to catch this exception in aftervaluechange block.
This event is triggered if the value in DataField is OK.
You get only Arithmetic exception without the aftervaluechange event if the
length of the decimal is greater as 28.
Regards
Zenon Adamek
Forte Developer
Purolator Courier Ltd.
ZAdamekpurolator.com
-----Original Message-----
From: Campbell, Dave [SMTP:DCampbellpurolator.com]
Sent: Friday, January 28, 2000 8:19 AM
To: 'kamranaminyahoo.com'
Subject: (forte-users) Overflow Exception that I can't
catch...
The problem is:
I have a DataField, mapped type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on keystroke and
I can't set the max characters in the properties sheet.
This works great until, Someone enters over 28 characters into the
field.
It then displays the errors:
USER ERROR: Operation caused arithmetic overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
[DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
application
"FTLaunch_c10",pid 279 on node W5300109 in environment centrale
This is the first bit of code that executes when I leave the field
and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exception
when ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount can not exceed
100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and the "Exception line"
I also set the debugger to stop on all exceptions and posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a decimalnullable.
Is there any suggestions for where else I may catch this
Exception???
Thanks in advance
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
Nat,
As I feared, This forces the user to enter decimals even if there are none.
The Users Don't want this.
So, i'm afraid i am back at beginning.. Trying to catch this exception..
Thank you for your input.
I would be happy to try anyone elses solution to this annoying issue.
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
Dave
If you use #,##0.00 template, forte won't allow you to enter more than
28 numbers.
Nat
"Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
You mean... that without the aftervaluechange event, I could catch this?
Because by no means is my exception block anchored to that event.
I am looking for advice of where I could put this exception block...if there
is another possible place at all.
Thanks.
Dave
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
-----Original Message-----
Hi Dave,
You have no chance to catch this exception in aftervaluechange block.
This event is triggered if the value in DataField is OK.
You get only Arithmetic exception without the aftervaluechange event if the
length of the decimal is greater as 28.
Regards
Zenon Adamek
Forte Developer
Purolator Courier Ltd.
ZAdamekpurolator.com
-----Original Message-----
From: Campbell, Dave [SMTP:DCampbellpurolator.com]
Sent: Friday, January 28, 2000 8:19 AM
To: 'kamranaminyahoo.com'
Subject: (forte-users) Overflow Exception that I can't
catch...
The problem is:
I have a DataField, mapped type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on keystroke and
I can't set the max characters in the properties sheet.
This works great until, Someone enters over 28 characters into the
field.
It then displays the errors:
USER ERROR: Operation caused arithmetic overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
[DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
application
"FTLaunch_c10",pid 279 on node W5300109 in environment centrale
This is the first bit of code that executes when I leave the field
and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exception
when ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount can not exceed
100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and the "Exception line"
I also set the debugger to stop on all exceptions and posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a decimalnullable.
Is there any suggestions for where else I may catch this
Exception???
Thanks in advance
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.comNat,
As I feared, This forces the user to enter decimals even if there are none.
The Users Don't want this.
So, i'm afraid i am back at beginning.. Trying to catch this exception..
Thank you for your input.
I would be happy to try anyone elses solution to this annoying issue.
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
Dave
If you use #,##0.00 template, forte won't allow you to enter more than
28 numbers.
Nat
"Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
You mean... that without the aftervaluechange event, I could catch this?
Because by no means is my exception block anchored to that event.
I am looking for advice of where I could put this exception block...if there
is another possible place at all.
Thanks.
Dave
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
-----Original Message-----
Hi Dave,
You have no chance to catch this exception in aftervaluechange block.
This event is triggered if the value in DataField is OK.
You get only Arithmetic exception without the aftervaluechange event if the
length of the decimal is greater as 28.
Regards
Zenon Adamek
Forte Developer
Purolator Courier Ltd.
ZAdamekpurolator.com
-----Original Message-----
From: Campbell, Dave [SMTP:DCampbellpurolator.com]
Sent: Friday, January 28, 2000 8:19 AM
To: 'kamranaminyahoo.com'
Subject: (forte-users) Overflow Exception that I can't
catch...
The problem is:
I have a DataField, mapped type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on keystroke and
I can't set the max characters in the properties sheet.
This works great until, Someone enters over 28 characters into the
field.
It then displays the errors:
USER ERROR: Operation caused arithmetic overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
[DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
application
"FTLaunch_c10",pid 279 on node W5300109 in environment centrale
This is the first bit of code that executes when I leave the field
and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exception
when ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount can not exceed
100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and the "Exception line"
I also set the debugger to stop on all exceptions and posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a decimalnullable.
Is there any suggestions for where else I may catch this
Exception???
Thanks in advance
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.com -
Overflow Exception trying to bind NaN
Hello,
Can somebody help me? I'm just trying to use MapViewer to see the results of a spatial query on an predifined Image Theme. I've done all that's explained in the MapViwer documentation but it seems to be a problem with the Image Theme. Here is the part of the log file where the error appears:
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
Thanks for your help.Here is the sql file I use (with the fefinition of the predefined image theme):
DROP TABLE Base_map CASCADE CONSTRAINTS ;
commit ;
CREATE TABLE Base_map (
Base_map_ID NUMBER(15) NOT NULL,
Image BLOB
commit ;
ALTER TABLE Base_map ADD CONSTRAINT PK_Base_map
PRIMARY KEY (Base_map_ID) ;
commit ;
CREATE OR REPLACE DIRECTORY MYDIR as 'c:\Temp\Data' ;
commit ;
DECLARE
l_blob BLOB ;
l_bfile BFILE ;
BEGIN
INSERT INTO Base_map VALUES(1, empty_blob())
RETURNING Image INTO l_blob ;
l_bfile := bfilename('MYDIR', 'Base_map.jpg') ;
dbms_lob.fileopen(l_bfile) ;
dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile)) ;
dbms_lob.fileclose(l_bfile) ;
UPDATE Base_map SET Image = l_blob WHERE Base_map_ID = 1 ;
END ;
commit ;
ALTER TABLE Base_map
ADD (raster MDSYS.SDO_GEOMETRY) ;
UPDATE Base_map
SET raster = MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1), MDSYS.SDO_ORDINATE_ARRAY(950,16249.500015000056,305950.06099999999,266250.000015))
WHERE Base_map_ID = 1 ;
INSERT INTO USER_SDO_GEOM_METADATA VALUES (
'Base_map',
'raster',
MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 950, 305950.06099999999, 0.001), MDSYS.SDO_DIM_ELEMENT('Y', 16249.500015000056, 266250.000015, 0.001)),
327680) ;
commit ;
CREATE INDEX Base_map_raster_index
ON Base_map(raster)
INDEXTYPE IS MDSYS.SPATIAL_INDEX ;
commit ;
INSERT INTO USER_SDO_THEMES VALUES (
'BASE_MAP_THEME',
'Base_map_theme',
'Base_map',
'raster',
'<?xml version="1.0" standalone="yes"?>
<styling_rules theme_type="image" caching="ALL" image_column="Image" image_format="JPEG">
<rule >
<features style="C.BCK"/>
</rule>
</styling_rules>' );
commit ;
INSERT INTO USER_SDO_MAPS VALUES (
'BASE_MAP',
'Base_map',
'<?xml version="1.0" standalone="yes"?>
<map_definition>
<theme name="BASE_MAP_THEME"/>
</map_definition>' );
commit ;
And here is the complete log file:
05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] oms servlet document-root path: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\web\
05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] No init parameter "oms_config". Will use default.
05/10/26 16:11:46 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] using default config file: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\conf\mapViewerConfig.xml
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperPool, WARN] destroying ALL mapmaker instances.
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] setting logging level to finest
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:46 CEST 2005, FINEST]
Allowed IPs:
Excluded IPs:
05/10/26 16:11:48 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:48 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Setting disk path for cache to: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\cache
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Java Object Cache opened. Region=SDOVIS_DATA.
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] max_cache_size=32 M, max_disk_cache_size=1024 M.
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] sub region sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA created in cache.
05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:49 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:49 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:50 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:50 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:50 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:50 CEST 2005, INFO] Map Recycling thread started.
05/10/26 16:11:50 [oracle.lbs.mapserver.oms, Wed Oct 26 16:11:50 CEST 2005, INFO] *** Oracle Map Viewer is successfully started. ***
05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request.getRemoteUser = null
05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request= <?xml version="1.0" encoding="UTF-8" ?>
<map_request datasource="INFRA_map_data_source" basemap="BASE_MAP" antialiasing="TRUE" imagescaling="FALSE" format="GIF_STREAM" bgcolor="#FFFFFF" >
<themes>
<theme name="t1">
<jdbc_query spatial_column ="shape" >
SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
</jdbc_query>
</theme>
</themes >
</map_request>
05/10/26 16:12:38 [oracle.lbs.mapserver.core.XMLHelper4Mapper, Wed Oct 26 16:12:38 CEST 2005, INFO] no center or box specified in map request.
05/10/26 16:12:38 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:38 CEST 2005, FINEST] RealWorker.generateMapImage(): MapRequest=MapRequest=
title=null
center=null
size=0.0
verbose=true
queryWindow=null
imageFormat=7
backgroundColor=java.awt.Color[r=255,g=255,b=255]
bgImageURL=null
antialise=true
deviceSize=java.awt.Dimension[width=500,height=375]
srs=null
geoFeatures=null
mapDefinition= MapDefinition=
baseMap=BASE_MAP
mapDataSource=INFRA_map_data_source
title=null
theme [0]=
ThemeDescriptor=
name=t1
type=2
minScale=Infinity
maxScale=-Infinity
srid=0
host=
sid=
port=
user=
mode=oci8
query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
spatialColumn=shape
renderStyleName=
labelColumn=
labelStyleName=
renderStyleDef=null
labelStyleDef=null
localThem=null
05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper(INFRA_map_data_source) begins...
05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper() succeeded.
05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] adding predefined theme [name=BASE_MAP_THEME]
05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] retriving predefined theme from database.
05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] key_column using default: ROWID
05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] Loading image theme BASE_MAP_THEME[image_column is: Image] [image_resolution is: null].
05/10/26 16:12:40 [oracle.sdovis.CacheMgr, Wed Oct 26 16:12:40 CEST 2005, INFO] creating an image cache group: sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA : Base_map_IMAGE_PDT_IMG.
05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding additional themes...
05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding a JDBCTheme:
ThemeDescriptor=
name=t1
type=2
minScale=Infinity
maxScale=-Infinity
srid=0
host=
sid=
port=
user=
mode=oci8
query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
spatialColumn=shape
renderStyleName=
labelColumn=
labelStyleName=
renderStyleDef=null
labelStyleDef=null
localThem=null
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, DEBUG] getting pooled connection [key=DGPL_8143_INFRA_1521_damien_thin]
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] connection cache on jdbc:oracle:thin:@DGPL_8143:1521:INFRA
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] adding a OracleConnectionCache:DGPL_8143,INFRA,thin,tcp,damien
05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] created a new JDBCTheme [name=T1,query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf',spatialCol=shape, srid=0, featureStyleName=, labelCol=, labelStyleName=, passthrough=false
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, INFO] loadding SRS information from MDSYS.cs_srs (srid=327680).
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, DEBUG] Registering srs 327680, isGeodetic=false, unit=METER
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, FINEST] got srs object for :327680
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-8
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, INFO] [JDBCTheme] query: SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
05/10/26 16:12:42 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:42 CEST 2005, FINEST] Found mSpatialColumn=shape
05/10/26 16:12:42 [oracle.sdovis.MapMaker, Wed Oct 26 16:12:42 CEST 2005, FINEST] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=63253.07695,y=112510.49285,w=209918.47070249997,h=51353.527207499996]
05/10/26 16:12:42 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:42 CEST 2005, INFO] **** time spent on loading features: 859ms.
05/10/26 16:12:42 [oracle.sdovis.RE, Wed Oct 26 16:12:42 CEST 2005, FINEST] rendering image theme: BASE_MAP_THEME
05/10/26 16:12:42 [oracle.sdovis.ImageRenderer, Wed Oct 26 16:12:42 CEST 2005, DEBUG] format of image theme data: JPEG
05/10/26 16:12:42 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:42 CEST 2005, FINEST] Theme isClickable=false
05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to render theme T1 with 55 styled features: 1187ms
05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to label theme T1 with 55 styled features: 0ms
05/10/26 16:12:43 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:43 CEST 2005, INFO] **** time spent on rendering: 1406ms
05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on quantitizing map image:203ms
05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on generating GIF image:63ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Timestamp on grabing pixels:1130335963890
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] releasing pooled connectionsused by JDBCThemes
05/10/26 16:12:43 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:43 CEST 2005, DEBUG] freeMapper() begins...
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] preparation time: 2593ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] querying/rendering time: 2500ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] packing time: 313ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] --------------- total time: 5406ms
*********************************************************************************************** -
Java.sql.SQLException: Overflow Exception
Hello everyone, I'm having a problem with ODI on an Interface excecution.
The excecution fails on the Load Data step with the following error message:
0 : null : java.sql.SQLException: Overflow Exception
"java.sql.SQLException: Overflow Exception
at oracle.sql.NUMBER.toBigDecimal(NUMBER.java:634)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToBigDecimal(DBConversion.java:2880)
at oracle.j"
I'm using Oracle as source and target technology, and i'm using the default LKM SQL to Oracle KM v4.0
I also try to run the generated SQL manualy, and it works perfectly.
What should i do?
Thanks! and sorry for my awful english!The message at oracle.sql.NUMBER.toBigDecimal
seems to be a problem with a translation between 2 data types.
1/ You can look on the sql generated if you use an data type translation function.
2/ You can try to remove one by one the distinct mapping you have to see which one raise this error.
3/ You can verify the datasores definition cause even if your data are good if you have declared on your datastore a bad data type for a field you will have an error message.
Hope to be helpfull
Cordially
BM -
Stack overflow exception when selecting the Organization tab on a contact card
I have encountered a reproducible crash in the Lync 2013 client. The crash happens after selecting the "Organization" tab when viewing a contact card.
The crash appears to happen because of a stack overflow with MSO.DLL. I have applied the latest hotfix for that module but the crash persists.
Before I open a case with MSFT, can anyone offer any insight? Perhaps this is being seen elsewhere?
Exception Stack:
SYMBOL_NAME: mso!Ordinal3863+4970
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: MSO
IMAGE_NAME: MSO.DLL
DEBUG_FLR_IMAGE_TIMESTAMP: 50ee6c2f
FAILURE_BUCKET_ID: STACK_OVERFLOW_c00000fd_MSO.DLL!Ordinal3863
BUCKET_ID: APPLICATION_FAULT_STACK_OVERFLOW_mso!Ordinal3863+4970
WATSON_STAGEONE_URL:
http://watson.microsoft.com/StageOne/lync_exe/15_0_4420_1017/5067326f/bcryptprimitives_dll/6_1_7600_16385/4a5bd987/c00000fd/000048c0.htm?Retriage=1
Followup: MachineOwner
0:004> kvn 1000
# ChildEBP RetAddr Args to Child
00 042c314c 738d4863 128db2d0 00000000 00000000 bcryptprimitives!AesCtrRng_Generate+0x1e (FPO: [Non-Fpo])
01 042c321c 738d47a4 128db2b8 1524cb1b 00000008 bcryptprimitives!MSCryptAesCtrGen+0x166 (FPO: [Non-Fpo])
02 042c3248 72781e65 0c2c8ae8 1524cb1b 00000008 bcryptprimitives!MSCryptGenRandom+0xc9 (FPO: [Non-Fpo])
03 042c3260 6b8c1de1 12811348 1524cb1b 00000008 bcrypt!BCryptGenRandom+0x5c (FPO: [Non-Fpo])
04 042c3278 65daaa26 1524cb1b 00000008 042c32ac cryptdll!DefaultRngFn+0x21 (FPO: [Non-Fpo])
05 042c3288 65db4a73 1524cb1b 00000008 00000000 kerberos!KerbRandomFill+0x10 (FPO: [Non-Fpo])
06 042c32ac 65daa2ec 1524cb05 80000001 042c3484 kerberos!KerbMakeSignatureToken+0x4e8 (FPO: [Non-Fpo])
07 042c341c 750df30c 128d8248 80000001 042c34a8 kerberos!SpSealMessage+0x3d7 (FPO: [Non-Fpo])
08 042c343c 750e128c 070c6c80 80000001 042c34a8 sspicli!LsaSealMessage+0x6e (FPO: [Non-Fpo])
09 042c3460 7707ad44 0c53adfc 80000001 042c34a8 sspicli!EncryptMessage+0x3e (FPO: [Non-Fpo])
0a 042c34d0 7707abdc 1513b5f0 00000132 00000000 Wldap32!CryptStream::SignAndSealLdapStream+0x184 (FPO: [Non-Fpo])
0b 042c3518 770745d6 1513b5f0 000000d7 00000006 Wldap32!CryptStream::LdapSendSsl+0x12b (FPO: [Non-Fpo])
0c 042c3534 77078527 0c53af5c 1278cef8 00000000 Wldap32!LdapSend+0xd8 (FPO: [Non-Fpo])
0d 042c3558 770787b2 12c79fa0 0c53ad78 12597998 Wldap32!SendLdapSearch+0x64a (FPO: [Non-Fpo])
0e 042c3594 770a91f4 0c53ad78 152f06e4 00000000 Wldap32!LdapSearch+0x28f (FPO: [Non-Fpo])
0f 042c35e0 585c882f 0c53afa4 152f06e4 00000000 Wldap32!ldap_search_extW+0x48 (FPO: [Non-Fpo])
WARNING: Stack unwind information not available. Following frames may be wrong.
10 042c3624 585d2b7c 00000000 402af114 152f06e4 MSO!Ordinal8903+0x4f04
11 042c3734 585d30e0 152f06e4 042c3768 12ae9be0 MSO!Ordinal3863+0x43b6
12 042c3aa8 585d3136 152f06e4 12ae9be0 0c385808 MSO!Ordinal3863+0x491a
13 042c3e14 585d3136 152e4d94 12ae9be0 0c385808 MSO!Ordinal3863+0x4970
14 042c4180 585d3136 152f0404 12ae9be0 0c385808 MSO!Ordinal3863+0x4970
<SNIP>
4b1 043bfb44 579e9c53 1293ddb0 043f7130 043bfb6c MSO!Ordinal2317+0x240
4b2 043bfb54 579e9bf7 1293ddb8 12c54790 1293ddb8 MSO!Ordinal2317+0x12b
4b3 043bfb6c 5778abcd 1293ddb8 12c54790 5777ccab MSO!Ordinal2317+0xcf
4b4 043bfb9c 5777bc92 043bfc0c 043bfbf0 003602e0 MSO!Ordinal5372+0x66
4b5 043bfbb4 57778a6f 043bfc0c 00000000 003602e0 MSO!Ordinal4578+0x1bc
4b6 043bfbe8 577776fd 00000000 577776fd 043bfc0c MSO!Ordinal630+0x18ed
4b7 043bfc3c 768033aa 003602e0 043bfc88 77a19ef2 MSO!Ordinal630+0x57b
4b8 043bfc48 77a19ef2 003602e0 69d72777 00000000 kernel32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])
4b9 043bfc88 77a19ec5 577776a4 003602e0 ffffffff ntdll!__RtlUserThreadStart+0x70 (FPO: [Non-Fpo])
4ba 043bfca0 00000000 577776a4 003602e0 00000000 ntdll!_RtlUserThreadStart+0x1b (FPO: [Non-Fpo])
0:004> lmivm mso
start end module name
57760000 58f92000 MSO (export symbols) MSO.DLL
Symbol file: MSO.DLL
Image path: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\MSO.DLL
Image name: MSO.DLL
Timestamp: Thu Jan 10 01:22:23 2013 (50EE6C2F)
CheckSum: 01833BC0
ImageSize: 01832000
File version: 15.0.4481.1000
Product version: 15.0.4481.0
File flags: 0 (Mask 3F)
File OS: 40004 NT Win32
File type: 2.0 Dll
File date: 00000000.00000000
Translations: 0000.04e4
CompanyName: Microsoft Corporation
ProductName: Microsoft Office 2013
InternalName: MSO
OriginalFilename: MSO.DLL
ProductVersion: 15.0.4481.1000
FileVersion: 15.0.4481.1000
FileDescription: Microsoft Office 2013 componentI actually think I may have figured this out. I took a network trace during the crash. What I found is that Lync is performing repeated LDAP searches over and over until it crashes from the stack overflow. Digging into
the searches, I found the same two user CN's being alternated one after another.
It appears that this crash may be the result of a "Circular Reference" where the two users are each listed as the others manager in their user object.
Example:
User1: Manager = User2
User2: Manager = User1
Proving this as the cause will take me some additional time as these two users are at the top of the Org Chart. :)
I'll update this post with the results when I get them. -
Overflow Exception that I can't catch...
The problem is:
I have a DataField, mapped type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on keystroke and
I can't set the max characters in the properties sheet.
This works great until, Someone enters over 28 characters into the field.
It then displays the errors:
USER ERROR: Operation caused arithmetic overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
[DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in application
"FTLaunch_c10",pid 279 on node W5300109 in environment centrale
This is the first bit of code that executes when I leave the field and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exception
when ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount can not exceed 100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and the "Exception line"
I also set the debugger to stop on all exceptions and posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a decimalnullable.
Is there any suggestions for where else I may catch this Exception???
Thanks in advance
Regards,
Dave Campbell
Consultant,
Caro Systems Inc.
Mailto:Dave.CampbellCaroSys.comHi Dave,
did you try this:
event loop
Begin
when ..... do
when <est_daily_rev_amt>.aftervaluechange do
when ..... do
exception
when ex:ArithmeticException Do
End;
end loop;
As far as I remember it matters where you put Begin
inside an event loop. This way you will catch the
exception without dropping off the loop. If the value
is O.K. the aftervaluechanged event will be executed.
Hope that helps!
Rumen
Thanks Zenon,
You mean... that without the aftervaluechange event,
I could catch
this?
Because by no means is my exception block anchored to
that event.
I am looking for advice of where I could put this
exception block...if
there
is another possible place at all.
Thanks.
Dave-----Original Message-----
Hi Dave,
You have no chance to catch this exception in
aftervaluechange block.
This event is triggered if the value in DataField is
OK.
You get only Arithmetic exception without the
aftervaluechange event if
the
length of the decimal is greater as 28.
Regards
Zenon Adamek
Forte Developer-----Original Message-----
The problem is:
I have a DataField, mapped >type :DecimalNullable
the input mask is set to Template ( #,##0;;;;)
Because it is Template I can't validate on
keystroke and
I can't set the max characters in the >propertiessheet.
This works great until, Someone enters over >28characters into the
field.
It then displays the errors:
USER ERROR: Operation caused arithmetic >overflow
Class: qqsp_ArithmeticException
Error #: [301, 7]
Deteced at: DecimalData.SetScale at 1
ErrorTime: Thu Jan 27 15:50:48
Exception occurred (locally) on partition
"PurolatorApplications_CL0_Client" ,(partitionId =
DEB96B60-AA27-11D1-82A8->23E82A0FAA77:0X6f98:0x7,TASKiD = >
[DEB96B60-AA27-11D1-82A8->23E82A0FAA77:0X6f98:0x7.492]
in
application
"FTLaunch_c10",pid 279 on node W5300109 in
environment centrale
This is the first bit of code that executes >when Ileave the field
and the
value has changed:
when <est_daily_rev_amt>.aftervaluechange do
Begin
sys_upd_usr_nam = >aUserProfileBO.user_nam;
aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
Exceptionwhen ex:ArithmeticException Do
Task.ErrMgr.Clear();
Window.MessageDialog(
messageText='Revenue amount >can not exceed
100,000,000',
MessageType=MT_WARNING);
Self.Window.PurgeEvents();
End;
This is what I do:
I put a debugging stop on the "when line" and >the"Exception line"
I also set the debugger to stop on all >exceptionsand posts.
It never reaches the above code!?
Is this a forte bug?
I need the template and I need it to be a
decimalnullable.
Is there any suggestions for where else I may >catchthis
Exception???
Thanks in advance__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com -
Stack Overflow Exception in EJB Explorer
Hello everyone!
I have correct working EJB which returns in one method and JPA Entity that have bidirectional relationship with other entity. This relationship is @OneToMany and @ManyToOne on other side and all of the related objects are loaded before the end of the method. This EJB is working correctly when used with other components.
I have problems testing this method in EJB Explorer utility that is part of the SAP NetWeaver Aplication Server Java. When i start this method it never finishes and later gets an stack overflow error. Trace is here:
java.lang.RuntimeException: java.lang.StackOverflowError : null
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at com.sap.ejbexplorer.business.invocation.impl.Structure.fillWith(Structure.java:213)
at com.sap.ejbexplorer.business.invocation.impl.Structure.fillNestedStructureWith(Structure.java:314)
at com.sap.ejbexplorer.business.invocation.impl.Structure.fillWith(Structure.java:202)
at com.sap.ejbexplorer.business.invocation.impl.Structure.fillNestedStructureWith(Structure.java:287)
at com.sap.ejbexplorer.business.invocation.impl.Structure.fillWith(Structure.java:234)
Looks like EJB Explorer is trying to expand all returned objects. Then he gets into the unfinished loop because of the bidirectional relationship.
We are using SAP NetWeaver 7.20 SP04.
Is this error fixed in new version?
Is there some configuration that fix this?
Thank you for any response.Hi,
is it just for the presence of the JUnit extension, or do you use this class in your Unit testing ?
Frank
Ps.: The JDeveloper 11 forum is JDeveloper and OC4J 11g Technology Preview -
Hi all,
I am trying to serialize a directed graph. I have Node objects, and each Node object has a Vector of Node objects as one of its fields. The directed graph is stored as a Vector of Node Objects. The Node object and the DirectedGraph objects are structured as follows:
public class Node
private int nodeID;
private Vector adjacentNodes;
// Constructor..
// Some more methods
public class DirectedGraph
private Vector nodes;
// Other fields and methods.
When the no of nodes is very large (~ 10000), I get a StackOverflow error, which I think is because of the recursive serialization. I do not get the exception for a small set of nodes (~1000).
I did read someplace that if the stack depth is greater than 2000, the VM throws the exception.
Are there any workarounds for this (without any changes to the data representation) ?
Are there other custom serializers which detect infinite cycles ?
Or, (worst case), do I have to write my own serializer?
Suggestions, links, will surely help.
Thank you,
AstranominaAs mentioned above, Java serialization handles a cyclic object graph by writing a representation of the object reference to the stream for subsequent occurrances, so this does not cause infinite recursion.
However, if your structure has 25,000 levels then I'm not surprised that you got StackOverflow and for something this size I don't think that trying to increase the stack size is the way to go.
As intimated by Ernimril, a better approach would be to devise a serialized form that is more sympathetic to the environment. I would recommend that you program to interface and use object replacements. That way, the issues regarding serialization can be hidden and coded in the appropriate place:
public interface DirectedGraph
public interface Node
public class LocalDirectedGraph implements DirectedGraph
// your current code (and the same for LocalNode)
Object writeReplace() throws ObjectStreamException
// flatten structure
return SerializedDirectedGraph
public class SerializedDirectedGraph implements DirectedGraph
// a flat structure that can be used to rebuild the hierarchical one
Object readResolve() throws ObjectStreamException;
// rebuild hierarchy
return LocalDirectedGraph
}Perhaps traverse the original graph and write a linear structure of the individual objects and some info about what level they are at. Implement writeReplace and place this code in it, returning a SerializedDirectedGraph. At the receiving end implement readResolve and reconstruct the original, returning a LocalDirectedGraph. Everywhere else in your code refer to your objects by the interfaces. Because the JDK handles the cyclic references thing you still get the original object graph, you are just intervening to make the structure more serialization-friendly.
Check out [url http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/output.html#wp5324]this section of the serialization spec. I've used this feature for different reasons, as well as other hooks available in Serialization, and am very impressed with the whole implementation. -
OracleDataAdapter.Fill and arithmetic overflow exception
Hi to all!
In my ASP.NET 2.0 web-application I use ODP.NET to working with Oracle DB. When I execute a pipelined stored procedure an "Arithmetic pverflow exception" occures. Here is exception stack trace:
в Oracle.DataAccess.Types.DecimalConv.GetDecimal(IntPtr numCtx)
в Oracle.DataAccess.Client.OracleDataReader.GetDecimal(Int32 i)
в Oracle.DataAccess.Client.OracleDataReader.GetValue(Int32 i)
в Oracle.DataAccess.Client.OracleDataReader.GetValues(Object[] values)
в System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReader.GetValues(Object[] values)
в System.Data.ProviderBase.SchemaMapping.LoadDataRow()
в System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
в System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
в System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
в System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
в System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
в System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
If I call this stored procedure from SqlNavigator it works properly. Hovewer I see that the data of one column of result cursor looks like 55,58554033940333204184424641611784101. If I round data of this column, the Fill method of OracleDataAdapter works without any exceptions. How can i solve this problem?
Edited by: yoyoseek on Sep 3, 2008 2:09 AMHi
The reason you are seeing this, is because Oracle Number has a greater precision than .NET Decimal.
There are a couple of ways out:
* Convert manually to_char instead of number out.
* Using OracleDataAdapter.SafeMapping, described here http://stanford.edu/dept/itss/docs/oracle/10g/win.101/b10117/features009.htm
* Round down to the precision of .NET decimal before returning.
Morten
Edited by: gulhaugen on Sep 3, 2008 1:43 PM -
Infinite loop creating new page due to column header overflow.
i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --
using report builder 9, i have a fairly simple report - that contains 4 subreports.
for some pages i get the error - it seems if there is more data than would fit on 1 page.
smaller pages work fine.
the subreports are all simple queries and dumps....
containing page header, column header, detail sections.
page header has just a text bar of the name of the section.
column header has the field names
detail section has the data - 1 row for each row in the recordset.
nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.
any ideas would be appreciated.Try these links if you are still having the issue:
http://community.jaspersoft.com/questions/543302/receive-infinite-loop-creating-new-page-d ue-column-header-overflow-exception
http://community.jaspersoft.com/questions/500177/infinite-loop-due-page-header-overflow -
Number Overflow when it is within the range (Long)
Hi,
I am using Oracle JDBC Drivers to write a CMP (Container Managed Persistance) beans which has a CMP Field of long value in
the table it is Number(14) which is well under the limits of long datatype, the value is also currentmillis which is millis
from 1-1-1970, the value is also 1046836194640L which is withing long datatypes limits but gives the overflow exception,
please help me with the same. try to use the oracle.sql.NUMBER.toLong which expects a byte[] on the value it gives an error.
simple way to test this is get the above value from dual table get the rs.getBytes and take the byte[] and pass it to the
oracle.sql.NUMBER.toLong it will give the error. and one more strange observation i found is when this number is stored in the table and you try to just perform a select in SQL Query Manager or SQLPlus in windows 2000 you will receive an windows Excepton telling that program tried to refer to memeory outside and you have to quit the client app.
Database is oracle 8i on windows 2000 advanced Server
Expired Commands Not Found javax.ejb.FinderException: Exception in 'findExpiredCommandsOfThisMaster' while using result set:
'weblogic.jdbc.rmi.SerialResultSet@7d78ce'
java.sql.SQLException: Overflow Exception
java.sql.SQLException: Overflow Exception
at oracle.sql.NUMBER.toLong(NUMBER.java:371)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToLong(DBConversion.java:2915)
at oracle.jdbc.driver.OracleStatement.getLongValue(OracleStatement.java:4373)
at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:529)
at weblogic.jdbc.pool.ResultSet.getLong(ResultSet.java:107)
at weblogic.jdbc.rmi.internal.ResultSetImpl.getLong(ResultSetImpl.java:216)
at weblogic.jdbc.rmi.internal.ResultSetStraightReader.getLong(ResultSetStraightReader.java:62)
at weblogic.jdbc.rmi.SerialResultSet.getLong(SerialResultSet.java:204)
at
net.devicesWorld.deviceServer.server.device.command.InstructionalUnit_7krj5v__WebLogic_CMP_RDBMS.ejbFindExpiredCommandsOfThis
Master(Instruc
tionalUnit_7krj5v__WebLogic_CMP_RDBMS.java:1877)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersistenceManager.java:278)
at weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.java:670)
at weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.java:643)
at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:448)
at
net.devicesWorld.deviceServer.server.device.command.InstructionalUnit_7krj5v_HomeImpl.findExpiredCommandsOfThisMaster(Instruc
tionalUnit_7kr
j5v_HomeImpl.java:267)
at
net.devicesWorld.deviceServer.server.device.command.CommandsToSendBean.getCommandToSend(CommandsToSendBean.java:97)
at
net.devicesWorld.deviceServer.server.device.command.CommandsToSendBean_uqhqrf_EOImpl.getCommandToSend(CommandsToSendBean_uqhq
rf_EOImpl.java
:413)
at net.devicesWorld.deviceServer.server.device.command.PollOnline.process(PollOnline.java:110)
at net.devicesWorld.deviceServer.server.device.command.CmdMessageBean.onMessage(CmdMessageBean.java:267)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:268)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Regards
LJS NarayanaHi Abrami,
Thank you for your reply. It is like this i am storing System.currentMillies() which gives Millis in long data type into a table having a number column with (14). Now i wrote a CMP bean which uses this table, for almost a year and half it is in production with no problem but from few days back when we try to use a finder method to query data SQL returns Exception telling that Number Overflow, a sample number for getting this overflow is 1046836194640L which represents 'Wed Mar 05 11:49:54 SGT 2003' this date. I found that the CMP which got generated is using oracle.sql.NUMBER.toLong(byte[] inputNumber) and thus giving the error. I try to use your suggested way, if we can directly work on the long it would be more convenient.
Regards
LJS Narayana -
Server restarting - Out of Memory Exception
Hi,
We are using Websphere 5.1 and after our recent production deployment, server is restarting every 3-4 hrs. I am able to see some OutOfMemory and stack overflow exception.
Is there a way I can find out what piece of code is causing the problem and any tips for not getting in this problem in the future...
Thanks in advance...
KaranYour code is leaking resources somewhere. Use a profiler to see what eats memory.
-
Hi,
We have a flex component, which need to simultaneously stream upto 16 CCTV camera streams. We are using a Media Server(Wowza) to convert the RTSP stream to RTMP and display in flex.
Initially we tried the video display component, available with the flex framework..but when we were streaming more streams the application hanged and the PC monitor started to flicker. because some of the camera's will be not reachable in our deployment
Hence we removed the videodisplay component and wrote our own custom classes and add the video component at run-time. We are creating a single netconnection object and multiple netstream objects(one per CCTV/surveillance camera stream).
video = new Video(videoWidth, videoHeight);
video.name = "camerafeed";
video.attachNetStream(netStream);
addChild(video);
But after a while we are getting BEX (Buffer Overflow Exception)..
Appreciate if somebody can explain the maximum limit of the video component and the limits for the number of netstreams that can be created in one netconnection?.
Why is the VideoDisplay Flex component not able to switch between multiple camera's and display multiple streams?
Our PC is windows 7, having AMD Radeon H6650 graphics card.
Thanks,Mavi:
Have you ever received a resolution to this error?
We have a user getting this on an infrequent basis... not consistently.
Any suggestions appreciated.
Maybe you are looking for
-
Reading s file and saving a the dta to an array
Hi, I have a txt file that is contained of text and numbersso this is the format : hdfsgfjsgfjsfg kshfkwhfl kshfakh kahflak Xunit , YUNIT 1,2 2,3 5,4 So I want to read this file and save the numbers to two arrays, here is my code, and it gives error
-
Can we not run 2 sqlplus programs in a shell script ?
Hi I have 2 spool programs which need to be called from a shell script . When i try to do it , only the first spool program runs but not the second one . Is their any reason ? #!/usr/bin/bash ORACLE_HOME=/oracle10g/product/10.2.0/client_1 export ORAC
-
How to block the payment for a A/P invoice
How can I block the payment (manual payment) of an A/P invoice ? I'm using 2005A
-
How to convert a dynamic data type to array of strings
I want to perform a serial communication between two computers that I´ll call them A and B. The computer A (transmitter) will send a signal (sinusoidal) to computer B (receiver). I´m using a VISA Serial Communications Set (VISA Configure Serial P
-
Can i transfer my time machine backup to another drive?
can i transfer my time machine backup to another drive?