Soa database column (WORK_ITEM) too small for nested activities ?

Hello all,
we've got a big problem on bpm that it seems to imply that activity names should not be too long or activities should not be nested.
We have a BPM Process (named "Process") with parallel cycle that has an activity that calls a reusable workflow "RwSubprocess" with other activities.
The first activity of reusable workflow RwSubprocess is a call activity to a reusable workflow that executes a send task and a receive task (CPT:chRisp) to a ws exposed by a bpel.
The flows executes all the calls regularly, but when it arrives at the call CPT:chRisp it throws the following error.
It seems that the bpm engine creates a custom_id too big for the column in the db...
Is there a solution for this? We choosed to nest activities since the entire workflow is quite big and we used nesting to try to maintain it readable.
<Feb 11, 2015 3:07:07 PM CET> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessage)],Xid=BEA1-561442D729229E472B1E(1957828093),Status=Rolled back. [Reason=javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR 'default/Zzz_Wfxxxxxxxxxxxxxxxxxxxx!1.0*soa_d8cba580-ebc4-4cd&' to length 256.
Error Code: 20000
Call: INSERT INTO WORK_ITEM (NODE_ID, CIKEY, SCOPE_ID, COUNT_ID, CLUSTER_NODE_ID, CLUSTER_NODE_KEY, COMMENTS, CREATION_DATE, CREATOR, CUSTOM_ID, DELAY, EXECUTION_TYPE, EXP_DATE, EXP_FLAG, EXT_INT1, EXT_STRING1, EXT_STRING2, FIRST_DELAY, IDEMPOTENT_FLAG, LABEL, MODIFIER, MODIFY_DATE, CI_PARTITION_DATE, PRIORITY, REFERENCE_ID, STATE, TRANSITION) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  bind => [Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993, 340240, Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26, 3, null, -1, null, 2015-02-11 15:07:06.985, null, default/Zzz_Wfxxxxxxxxxxxxxxxxxxxx!1.0*soa_d8cba580-ebc4-4cd7-a8e8-8586e3ad15d7/Process/340240-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26-3, 0, 0, null, 0, 0, null, null, 0, 1, CPT:chRisp, null, 2015-02-11 15:07:07.2, 2015-02-11 15:07:05.662, 3, null, 3, 0]
Query: InsertObjectQuery(340240-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26-3)],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=60,useSecure=false,XAServerResourceInfo[SOADataSource_DefaultDomain]=(ServerResourceInfo[SOADataSource_DefaultDomain]=(state=rolledback,assigned=DefaultServer),xar=SOADataSource,re-Registered = false),SCInfo[DefaultDomain+DefaultServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessage)]}),local properties=({weblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=DefaultServer+172.19.33.67:7101+DefaultDomain+t3+ CoordinatorNonSecureURL=DefaultServer+172.19.33.67:7101+DefaultDomain+t3+ coordinatorSecureURL=null, XAResources={eis/jms/aiaErrorTopicCF, OraSDPMDataSource_DefaultDomain, eis/wls/EDNxaTopic, WLStore_DefaultDomain_SOAJMSFileStore, eis/AQ/aqSample, eis/wls/EDNxaDurableTopic, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/File/XAFileAdapter, EDNDataSource_DefaultDomain, eis/aqjms/Topic, eis/wls/EDNLocalTxDurableTopic, eis/aqjms/EDNxaTopic, tangosol.coherenceTx, WLStore_DefaultDomain_WseeFileStore, eis/sunmq/Queue, SOADataSource_DefaultDomain, eis/aqjms/Queue, wlsbjmsrpDataSource_DefaultDomain, eis/tibjms/Queue, eis/XAFileAdapter, tangosol.coherenceTxCCI, eis/aq/aiaB2BInfraAQCF, WLStore_DefaultDomain_BPMJMSFileStore, WLStore_DefaultDomain_FileStore, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/jms/aiaB2BQueueCF, eis/XAFileAdapter3, eis/wls/Queue, eis/oracle/in-memory, eis/File/XAFileAdapter2, eis/webspheremq/Queue, eis/tibjmsDirect/Topic, eis/aqjms/EDNLocalTxDurableTopic, eis/Apps/Apps, eis/wls/Topic, eis/aqjms/EDNLocalTxTopic, WSATGatewayRM_DefaultServer_DefaultDomain, eis/activemq/Queue, eis/pramati/Queue, WLStore_DefaultDomain__WLS_DefaultServer, WLStore_DefaultDomain_UMSJMSFileStore, eis/aqjms/EDNxaDurableTopic, eis/wls/EDNLocalTxTopic},NonXAResources={})],CoordinatorURL=DefaultServer+172.19.33.67:7101+DefaultDomain+t3+): weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=[email protected]99f086
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR 'default/Zzz_Wfxxxxxxxxxxxxxxxxxxxx!1.0*soa_d8cba580-ebc4-4cd&' to length 256.
Error Code: 20000
Call: INSERT INTO WORK_ITEM (NODE_ID, CIKEY, SCOPE_ID, COUNT_ID, CLUSTER_NODE_ID, CLUSTER_NODE_KEY, COMMENTS, CREATION_DATE, CREATOR, CUSTOM_ID, DELAY, EXECUTION_TYPE, EXP_DATE, EXP_FLAG, EXT_INT1, EXT_STRING1, EXT_STRING2, FIRST_DELAY, IDEMPOTENT_FLAG, LABEL, MODIFIER, MODIFY_DATE, CI_PARTITION_DATE, PRIORITY, REFERENCE_ID, STATE, TRANSITION) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  bind => [Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993, 340240, Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26, 3, null, -1, null, 2015-02-11 15:07:06.985, null, default/Zzz_Wfxxxxxxxxxxxxxxxxxxxx!1.0*soa_d8cba580-ebc4-4cd7-a8e8-8586e3ad15d7/Process/340240-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26-3, 0, 0, null, 0, 0, null, null, 0, 1, CPT:chRisp, null, 2015-02-11 15:07:07.2, 2015-02-11 15:07:05.662, 3, null, 3, 0]
Query: InsertObjectQuery(340240-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT12198499959993-Process_ACT11765174131137_RwSubprocess1_ACT11766550672060_ACT11766550672060_try.26-3)
  at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1985)
  at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:369)
  at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:260)
  at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:335)
  at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:204)
  at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:46)
  at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDeliveryLocalBeanImpl.handleCallback(Unknown Source)
  at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:65)
  at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:153)
  at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:132)
  at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
  at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:239)
  at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException

We have faced similar challenges and its know issue with BPM (Value too Large for Column "SCHEMA_SOAINFRA"."TABLE_NAME"."COLUMN_NAME" (actual:XXX,maximum:YYY) (Doc ID 1499966.1)).
Solution suggested from Oracle was  to alter the columns to increase the length. We ended up like this.
ALTER TABLE EPRSBPM_SOAINFRA.WORK_ITEM modify CUSTOM_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.WORK_ITEM modify NODE_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.WORK_ITEM modify SCOPE_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.DLV_SUBSCRIPTION modify SUBSCRIBER_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.BPM_AUDIT_QUERY modify FAULT_TYPE varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.WFTASK modify PARENTCOMPONENTINSTREFID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.WFTASKHISTORY modify PARENTCOMPONENTINSTREFID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.DLV_MESSAGE modify RES_SUBSCRIBER varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.CUBE_INSTANCE modify PARENT_REF_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.BPM_AUDIT_QUERY modify SCOPE_ID varchar2(1024);
ALTER TABLE EPRSBPM_SOAINFRA.BPM_CUBE_TASKPERFORMANCE modify SCOPEID varchar2(1024);

Similar Messages

  • What to do if my master page is too small for custom master page column, I need to change the papers

    What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

  • ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion

    Hi all,
    the following query select to_char(nvl(round(pc.target_cost*xx_primavera.geteurtolvrate,2),amount),'FM999G999G999G999G990D00') detail_amount,
    nvl(ct.cost_type, description) detail_description,
    tm_desc.memo_id,
    primavera_prj_name detail_prj_name,
    hp.party_number detail_party_number,
    xpid.interface_line_attribute1,
    utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(tm_desc.task_memo), '<[^>]*>'), chr(13)||chr(10))) document_description,
    REPLACE(regexp_replace(utl_raw.cast_to_varchar2(tm_id.task_memo), '<[^>]*>'), chr(13)||chr(10)) prim_memo_client_id
    from XX_PRIMAVERA_INVOICES_DETAIL xpid
    join admuser.xx_ar_hz_parties xahp on xahp.orig_system_bill_customer_id = xpid.orig_system_bill_customer_id
    join hz_parties hp on hp.party_id = xahp.party_id
    left join admuser.projcost pc on pc.proj_id = xpid.primavera_prj_id and pc.cost_type_id != 29 and xpid.service_code = 8 and pc.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта') and delete_session_id is null
    left join admuser.costtype ct on ct.cost_type_id = pc.cost_type_id
    left join admuser.taskmemo tm_id on tm_id.proj_id = xpid.primavera_prj_id and tm_id.memo_type_id = 53 and tm_id.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта')
    left join admuser.taskmemo tm_desc on tm_desc.proj_id = xpid.primavera_prj_id and tm_desc.memo_type_id = 55 and tm_desc.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта')
    where amount != 0
      and xpid.interface_line_attribute1 = :ra_ctp_attribute1
    ORDER BY xpid.primavera_prj_name, xpid.description;returns error:
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 2371, maximum: 2000) I found that the error occurs in the row : utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(tm_desc.task_memo), '<[^>]*>'), chr(13)||chr(10))) document_description,and tried to change it to: utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(dbms_lob.substr(tm_desc.task_memo,1,2000)), '<[^>]*>'), chr(13)||chr(10))) document_description,....but it returns not value for that field... am i using dbms_lob.substr at the wrong place? The column 'tm_desc.task_memo' is BLOB type.
    Any ideas how to cheat it ?
    Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - ProductionThanks in advance,
    Bahchevanov.

    Your second example has the parameters reversed. The amount (length) comes first and then the offset:
    DBMS_LOB.SUBSTR (
       lob_loc     IN    BLOB,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN RAW;
    DBMS_LOB.SUBSTR (
       lob_loc     IN    CLOB   CHARACTER SET ANY_CS,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN VARCHAR2 CHARACTER SET lob_loc%CHARSET;
    DBMS_LOB.SUBSTR (
       file_loc     IN    BFILE,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN RAW;Also, remember that # of bytes is not necessarily the same as the # of characters depending on your character set. So 2000 bytes might become 4000 characters. And you have to make sure the BLOB is actually character data and not arbitrary binary data.
    Post the results of reversing the parameters and using a smaller chunk size.

  • ODT error in VS2005: Value was either too large or too small for an Int32

    Using ODT's Oracle Explorer in VS2005 I connected to a 3rd party's Oracle9i database that's been around for a while. I expanded the tables node and then attempted to expand a specific table. It then displayed a popup message and never expanded the table so I could manage the columns.
    The error is:
    An error ocurred while expanding the node:
    Value was either too large or too small for an Int32
    I recreated the table, with no data, in another database (same version of oracle, different physical server) and was able to expand the table in ODT's Oracle Explorer.
    I went back to the other database in Oracle Explorer and tried to expand the table and it failed with the same error message.
    The only difference I can see is that the first table contains ALOT of data (gigabytes), while the other table (the duplicate I created to duplicate the error) does not have any data.
    here's the definition of the table minus the actual table and field names.
    FLD6 contains jpg data from a 3rd party Oracle Forms application. The jpg data is between 100K and 20MB.
    CREATE TABLE myTable
    FLD1 VARCHAR2(30 BYTE),
    FLD2 VARCHAR2(15 BYTE),
    FLD3 VARCHAR2(20 BYTE),
    FLD4 VARCHAR2(20 BYTE),
    FLD5 NUMBER(3),
    FLD6 LONG RAW,
    FLD7 VARCHAR2(80 BYTE),
    FLD8 DATE,
    FLD9 VARCHAR2(20 BYTE),
    FLD10 VARCHAR2(20 BYTE),
    FLD11 VARCHAR2(99 BYTE),
    FLD12 VARCHAR2(256 BYTE)
    TABLESPACE myTableSpace
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 2048M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;
    This is just to let the developers know I ran into a problem. I've already gotten around the issue by using an alternative tool.

    Hi,
    You can also use the Map TestTool to test your maps. It uses the BizTalk engine to execute the map. You can select a map that is deployed to the GAC en execute it.
    You can download the sample tool with the source code here:
    TestTool for BizTalk 2013
    http://code.msdn.microsoft.com/Execute-BizTalk-2013-maps-e8db7f9e
    TestTool for BizTalk 2010
    http://code.msdn.microsoft.com/Execute-a-BizTalk-map-from-26166441
    Kind regards,
    Tomasso Groenendijk
    Blog 
    |  Twitter
    MCTS BizTalk Server 2006, 2010
    If this answers your question please mark it accordingly

  • Format Error : mkfs.ocfs2 1.2.7 file system too small for a journal

    Hi All,
    I am trying to implement Oracle 10g RAC on my laptop using vmware and openfiler software . But while executing the command
    #mkfs.ocfs2 -b 4K -C 32K -N 4 -L oracrsfiles /dev/iscsi/crs11/part1
    I am getting the error
    Format Error : mkfs.ocfs2 1.2.7 file system too small for a journal
    Please anybody can help me to resolve this problem.
    Thanks in Advance.

    How large is the device that you are formatting?
    The default journal size depends on the type specified. If none specified,
    then it assumes "mail" which sets the default journal per slot to 256M.
    If database type, default is 64M.
    Use "-T database" to specify database type, etc.
    BTW, one can always override the defaults. Say "-J size=16M" to make
    a smaller journal.
    man mkfs.ocfs2 and the user's guide has more.

  • Azure + Sync Framework + Error: Value was either too large or too small for a UInt64

    Hi,
    We have an in-house developed syncronisation service built on the Sync Framework v2.1 which has been running well for over 2 years. It pushes data from a local SQLServer 2005 database to one hosted on Azure with some added encryption.
    The service was stopped recently and when we try to re-start it, it fails with the error:
    System.OverflowException: Value was either too large or too small for a UInt64.
    at System.Convert.ToUInt64(Int64 value)
    at System.Int64.System.IConvertible.ToUInt64(IFormatProvider provider)
    at System.Convert.ToUInt64(Object value, IFormatProvider provider)
    at Microsoft.Synchronization.Data.SyncUtil.ParseTimestamp(Object obj, UInt64& timestamp)
    at Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeHandler.GetLocalTimestamp(IDbConnection connection, IDbTransaction transaction)
    I have found the Hotfix 2703853, and we are proposing to apply this to our local server, but we have found that running SELECT CONVERT(INT, @@dbts) on the local database returns 1545488692 but running the same query on the Cloud database returns -2098169504.
    which indicates the issue is on the Azure side. Would applying the hotfix to our local server resolve the issue or would it need to be somehow applied to the Azure server?
    Thanks in advance for any assistance!
    Chris

    Hi,
    We have now applied the Sync Framework hotfixes to our server and re-provisioned the sync service. No errors were reported and the timestamp values were all within the required range. On re-starting the service the system worked as anticipated. It has now
    been running for a week and appears to be stable. No further changes were required other than installing the hotfixes and re-provisioning the scope.
    Chris

  • Report error: ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW c

    report error:
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 7106, maximum: 4000)
    Has anyone come across this error?
    We're inputing text using the HTML Editor Minimal. The text is saving fine, but large text inputs, when combined with the html tags, cannot be retrieved from the database, i just get the above error. I believe there is an associated DB bug for this, but i'm curious if anyone has come across this before, and if they found a work-around?

    Did you solve this?
    I have a similar problem, as posted in CLOBs Quit Working Due to > 4000 chars - ORA-22835
    Thanks,
    --BobC                                                                                                                                                                                                                                                                                           

  • How do I make icons bigger? All icons are way too small for speedy use. no matter what I do they remain too small. Is there a way of getting them the same size as previous versions?

    All icons, such as refresh page, back, forward, stop and home etc; are just too small for comfortable use. For now I am uninstalling Firefox 4 and going back to 3.x. even the zoom page icons are too small.

    "I had read that GarageBand or the Musical Typing there can sometimes not display properly when the resolution is changed."
    Well, did you checked GB after you changed your resolution?
    Which setting did you change to?
    You & I have the same size iMac screen. My resolution setting is 1280x800. Everything fits perfectly in the windows & on desktop including the menu bar.
    All info in my windows are showing. I did not need to adjust my browser font size settings. I am sure you are aware of the browser font size settings. I use FF & the settings are in Preferences>Content.
    In the Finder window you can enlarge the icons & fonts also.
    Finder>View>Show View Options.

  • All of a sudden the screen on my iMac 10,1 is too small for the image. Can't figure out how to reduce the size of the Finder or any of the Apps.

    All of a sudden the screen is too small for the image. Hard to explain, but in order to see the entire Finder window, I must scroll the image up/down, left/right.
    It's not just the Finder though, all of the apps are affected this way too.
    It's probably got something to do with the fact that I have an HDMI cable running from the Mac to a Vizio 42" TV. It's been running this way just fine for over two months though.
    Any ideas?

    You probably accidently zoomed the screen.  Hold down CNTL while scrolling down with the mouse or trackpad to unzoom.  Cntl - scroll up to zoom.
    Regards,
    Captfred

  • "buffer too small for string or missing null byte" inserting CR in excel

    I have created a Crystal Report based on below stored procedure.
    DELIMITER $$
    DROP PROCEDURE IF EXISTS `ww_test`.`PRD_Data_sp` $$
    CREATE PROCEDURE `ww_test`.`PRD_Data_sp` (in cyear int, in cmonth int, in groupby varchar(20), in Inv_type varchar(4))
    BEGIN
      select
              CASE WHEN groupby='Date' THEN  (p.FKDAT)
                   WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
              END ,
              sum(p.QTYSAM),
              sum(p.CASESSOLD),
              sum(p.SOLDDOL)
              from ww_test.prd_data p
              where (month(p.FKDAT)=cmonth and year(p.FKDAT)=cyear) and
                     ((p.FKART) is null or not(p.FKART in ("FAZ","ZMBB","FAS",Inv_Type))) and
                     ((p.AUART) is null or not(p.AUART in ("ZMBB")))
              Group by
                  CASE WHEN groupby='Date' THEN  (p.FKDAT)
                       WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
                  END
              Order by
                  CASE WHEN groupby='Date' THEN  (p.FKDAT)
                       WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
                  END;
    END $$
    DELIMITER ;
    I have used Add Command to create report based on this.
    call ww_test.prd_data_sp({?Year},{?Month},{?GroupBy},{?InvType});
    I am able to refresh the report in crystal and as well in Infoview without any problem.
    But when i try to insert this report in Excel using Live Office it gives me error. I able to insert other crystal reports without any problem.
    An error occurred while opening the report. The report does not exist; you have insufficient rights to open the report; or you cannot make a connection to the BusinessObjects Web Service. (LO 02010)
    Failed to open report (LO 26619)
    Cannot open report document 
    Buffer too small for string or missing null byte.
    can anyone suggest where i am going wrong? Any input is appreciated.
    Crystal Reports 2008
    Live Office XI 3.1
    BOEdge XI 3.1
    Xcelsius 2008
    Thanks ,
    Madhavi

    With the CurrentValue method
    Crpt.ParamFields[3].CurrentValue := memo1.Text;
    Is there another solution ?

  • I just bought a new PC and I have re-installed my Adobe Creative Suite Standard on it. Software open fine. PROBLEM: The toolbars (menu stuff) appear extra-small, too small for me to read... I sent on the PC setting to try to change the display resolution.

    I just bought a new PC and I have re-installed my Adobe Creative Suite Standard on it.
    Software open fine. PROBLEM: The toolbars (menu stuff) appear extra-small, too small for me to read...
    I went into the PC settings and tried to change the display resolution. This changes the size of all  the icons (not only Adobe) but it does not solve the problem when I open an Adobe application (Photoshop or Illustrator)... The PC is run under Windows 8.1 and my display resolution is 3200x1800 (but again, when I change the settings for a smaller resolution, only the size of the icons is affected. Once I open the software, the problem is still there, extra-small toolbars...). Help!!!

    Anything before CC is not high-DPI compatible. Feel free to continue to experiment with your system settings.
    Mylenium

  • Buffer too small for string - Crystal Report for Vs2010

    Hello,
        I have recently upgrade my VS2010 project to Crystal Report for Visual Studion 2010.
        I have some reports that contains more than 512 characters in the Report Comments section.
        When I try to do a RptDoc.SaveAs(vPath, false) the following error is raised:
    Buffer too small for string or missing null byte.
          at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.SaveAs in :line 0
          at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.SaveAs in :line 0
          at CrystalDecisions.CrystalReports.Engine.ReportDocument.SaveAs in :line 0
        This line SaveAs was working has expected with Crystal Report 2008. Any idea on why it is not working anymore.
    Thank you.
    Charles

    Hello Don,
        I have start a little project to retest the behavior.
       I have create a new report in Crystal Report 2008 just by clicking New, Finish and Save.
       In a new Windows Application in Vs2010 ,I have added the following Crystal Report Reference.
        CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0
       CrystalDecisions.Shared, Version=13.0.2000.0
    I have then try the following code and found out the limit of ReportComment is 511 but in the Crystal Report 2008 designer and runtime the limit did not apply.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
          Dim objRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
          Dim i As Integer = 0
          Try
             objRpt.Load("c:\temp\empty.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByTempCopy)
             Do
                i += 1
                objRpt.SummaryInfo.ReportComments = New String("X", i)
             Loop
             objRpt.SaveAs("c:\temp\dfh_save.rpt", False)
          Catch ex As Exception
             MsgBox("i: " & i)
             MsgBox(ex.Message)
          End Try
    End Sub
         I am able to put has many characters if I insert the report in the Vs2010 Solution.
         If you prefer I can send you my little project.
    Thank you.
    Charles
    <code> should be
    Edited by: Don Williams on Feb 4, 2011 12:47 PM

  • Paging file is too small for this operation to complete.

    iTunes wont open. When I click on it, all it says is 'Paging file is too small for this operation to complete. Please help =)

    Now it says Aplication Error - The aplication failed to initialize properly (0xc000012d)

  • Default text size in Compressor is too small for normal human eye

    Is there any way to change the text size in Compressor 4 in the windows?  I can't find any.
    The normal default text size is way too small for any normal human being eye to read clearly. 
    Please, have mercy on us, whoever designed the tiny fonts!   Not fair to the rest of us . . .

    Well, guess we folk with not-too-good vision will simply have to keep on trucking the best we can, eh?   We can't enlarge text, so as a result we can't  use software like Compressor like the rest of the population.  Sad to say, especially with a company like Apple . . .  
    Yeah, well I gave the Apple Compressor Team my feedback, just like I've done the last 3 months with other things, then of course the feedback from us all melts into the either, and we never really know if anyone reads it, like they say.  Me thinks not.  This is the only feedback I'll ever get, I'm afraid:
    QUOTE:
    Thank you for your feedback on Compressor.
    We cannot respond to you personally, but please know that your message has been received and will be reviewed by the Compressor Team. If we need to follow up with you on your ideas for improving Compressor, we will contact you directly.
    We appreciate your assistance in making Compressor better.
    Compressor Team
    Apple

  • How can I perform the conversion of pdf files in Cyrillic script to Word files in Cyrillic script. The pdf file is too small for me to read right now. Julyan Watts

    How can I perform the conversion of .pdf files in Cyrillic script to Word files in Cyrillic script. The .pdf file is too small for me to read without a magnifying glass, and the document is more than one thousand pages.

    This answer was not helpful. First of all, I could not find "tech specs"
    anywhere on the Acrobat 11 homepage. And secondly I purchased this software
    for the specific purpose of converting .pdf files to Word. It was only
    after I had completed the purchase that I learnt that Acrobat does not
    permit the conversion of .pdf files in Cyrillic to Word files  in Cyrillic.
    I feel that Acrobat should have provided this crucial information before I
    allowed my credit card to be debited. That is why I  am now asking for my
    money back. But thanks for your attempt to solve my problem, even if it was
    not successful.
    Julyan Watts

Maybe you are looking for

  • Since upgrading to iOS 5 I can no longer add/edit email accounts

    Hello All, I am completly stumped here, Since Upgrading to iOS 5 on my ipad 2 I can no longer access the "Mail, Contacts, Calendars" tab in settings, meaning I can't add my other mail accounts or change settings, and I'm needing to sort this now. Bas

  • ASA 5510 anti spam module issue need help

    hi all, i have ASA5510 my E0 interface is having public ip and E1 is having 192.168.1.0/24 network and my DMZ E2 is 172.16.2.0/24 network. my management interface ip address is 10.10.10.1 and ive put 10.10.10.5 for SSM module. but im not receiving th

  • IAm all mIx Up..Need serius Help

    Really nid help in this probelm...dont know how to use switch and Text Field please help ... Mail order house sells 5 different product..prod1-$2.98, prod2-$4.50, prod3- $9.98, prod4- $4.49 and prod 5- $6.87..Write an application that reads a series

  • Photoshop CS5 freezes

    Hi, Have been using PS CS5 since the trial became available. But seems CS5 responds a lot slower than CS4. Sometimes, it just freezes or slow the whole computer down when I tried to open a many-layer file. I had to force quit the application, It's re

  • VIPCA error Exception in thread "main"

    Hello I have completed a successful installation of oracle clusterware (10.2.0.1) on a 2 node cluster. When i am runing ./vipca, i receive the following error bash-3.00# ./vipca Exception in thread "main" & then it exits back to the shell. Please sug