TextContainerManager RTE

Hi,
I am using TLF in a spark list control item renderer.
The list data provider items create the TextFlow. However, when I try to create the textFlow only once I sometimes run into the error below:
Version:1.0 StartHTML:0000000149 EndHTML:0000001726 StartFragment:0000000199 EndFragment:0000001692 StartSelection:0000000199 EndSelection:0000001692 We always run into TypeError: Error #1009: Cannot access a property or method of a null object reference.
     at flashx.textLayout.container::TextContainerManager/set compositionWidth()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\ textLayout\container\TextContainerManager.as:584]
     at spark.components::RichEditableText/measureTextSize()[E:\dev\4.x\frameworks\projects\spark \src\spark\components\RichEditableText.as:3315]
     at spark.components::RichEditableText/measure()[E:\dev\4.x\frameworks\projects\spark\src\spa rk\components\RichEditableText.as:2507]
     at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8216]
     at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8140]
     at mx.managers::LayoutManager/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx \managers\LayoutManager.as:617]
     at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:733]
     at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
Since only internal classes are in the stacktrace it is hard to debug.
When the textFlow is created every time the binding executes the code works fine.
Any idea?
In general: Can I re-use the same textFlow in different ui components?
Thanks,
Sönke

I got a similar problem..
I have a RicheditableText include in select state using TLF in a spark list.
Instead of error. Some of my content will display in the wrong place after switching between list item couple times.
Item 6 will be display in item 5 slot. Item 1 will display in item 6 slot.
After some testing. I tried removing the transitions, it seems to fix the problem.
I also have to remove the Rotate 3d code to get rid of another crash.
<!--
<s:Transition fromState="selected">
<s:Sequence>
<s:Parallel duration="200">
<s:Resize target="{this}" easer="{sineOut}"/>
<s:Fade target="{itemDetails}" />
-->
<!--s:Rotate3D targets="{[itemDetails]}"
angleXFrom="0" angleXTo="90"
autoCenterTransform="true" /-->
<!--
</s:Parallel>
<s:RemoveAction target="{itemDetails}" />
</s:Sequence>
</s:Transition>
-->
<s:Transition toState="selected">
<s:Sequence>
<s:Parallel duration="1000">
<s:Resize target="{this}" easer="{sineIn}" duration="500"/>
<s:Fade target="{itemDetails}" />
<!--s:Rotate3D targets="{[itemDetails]}"
angleXFrom="90" angleXTo="0"
autoCenterTransform="true" /-->
</s:Parallel>
</s:Sequence>
</s:Transition>
Moral of the story, if you see something strange in flex, DISABLE TRANSITION

Similar Messages

  • RTE #1009 in flashx.textLayout.container::TextContainerManager when scrolling

    Hi all,
    I submitted a bug as http://bugs.adobe.com/jira/browse/SDK-31705 but it was closed as "Cannot reproduce". This bugs appens with TLF 3.0 on Flex SDK 4.5.1 and I cannot test 4.6.
    Since I don't know if the bug will be reopened, maybe a guy from TLF team could give me a workaround for this bug ?
    I read the source but... no success ^^'

    For those who are not logged to the bugtracker :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::addInlineGraphicElement()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerM anager.as:2400]
    at TMContainerController/addInlineGraphicElement()[C:\Vellum\dev\output\openSource\textLayou t\src\flashx\textLayout\container\TextContainerManager.as:2538]
    at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::updateGraphics()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerContr oller.as:3426]
    at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::updateCompositionShapes()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerContr oller.as:3124]
    at flashx.textLayout.compose::StandardFlowComposer/updateCompositionShapes()[C:\Vellum\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:616]
    at flashx.textLayout.compose::StandardFlowComposer/updateToController()[C:\Vellum\dev\output \openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:559]
    at flashx.textLayout.container::ContainerController/updateForScroll()[C:\Vellum\dev\output\o penSource\textLayout\src\flashx\textLayout\container\ContainerController.as:1163]
    at flashx.textLayout.container::ContainerController/set verticalScrollPosition()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout \container\ContainerController.as:1029]
    at flashx.textLayout.container::TextContainerManager/set verticalScrollPosition()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout \container\TextContainerManager.as:850]
    at spark.components::RichEditableText/commitProperties()[E:\dev\4.5.1\frameworks\projects\sp ark\src\spark\components\RichEditableText.as:2637]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateClient()[E:\dev\4.5.1\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:957]
    at mx.core::UIComponent/validateNow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core \UIComponent.as:8067]
    at spark.components::VScrollBar/http://www.adobe.com/2006/flex/mx/internal::mouseWheelHandler()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VScrollBar.as:562]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\managers\SystemManager.as:2924]
    Test case: http://knux.biki.fr/bronx/InlineGraphicTest.mxml
    Steps to reproduce:
    1. Run InlineGraphicTest.mxml using TLF 3.0 at http://sourceforge.net/projects/tlf.adobe/files/3.0/current/
    2. Try to scroll (use mouse wheel for example)
    I just try using the svn version (trunk) of TLF, same issue
    Anybody can help ?

  • SharePoint 2013 RTE Custom Styles lost on Team Site Wiki Page after you select a control in the editor

    I have a weird issue in that I have custom RTE styles working fine in publishing pages, but in the team site wiki page, when you first go into edit mode you see your styles, but if you highlight some text, select say the font drop down to expand it and then
    select it again to contract it (i.e. without selecting a font), all of a sudden all of the custom styles are lost and everything reverts back to the default RTE styles.
    In my master page I am running the following script to force my styles to be loaded.
    ExecuteOrDelayUntilScriptLoaded(
    function() {
         $(
    "div[RteRedirect]").each(function()
    varid = $(this).attr("RteRedirect"),
             editSettings = $(
    "#"+ id);
    if(editSettings.length > 0 &&
    editSettings[0].PrefixStyleSheet != 'custom-rte')
                 editSettings[0][
    'PrefixStyleSheet'] =
    'custom-rte';
                 editSettings[0][
    'StyleSheet'] =
    '\u002f_layouts\u002f15\u002fFiveP\u002frteStyles.css';
                 RTE.Canvas.fixRegion(id,
    false);
    "sp.ribbon.js");
    See below screenshots (note Heading 2 is orange).
    After you collapse the font menu, you see that the orange H2 has disappeared, and selecting the font drop down again now shows all of the default SharePoint RTE styles.
    I haven't been able to capture the Event that is being called using the debugger. Any ideas how to fix this?
    Alan Coulter.

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • How to get inputted value in a RTE field on custom page and submit by REST call in 'Sharepoint hosted app'.

    Hi I am facing the three questions below.
    1. How to use default RTE in custom page in Sharepoint hosted app.
     I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
    Does anybody know how to do this?
    2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
    <SharePoint:InputFormTextBox ID="rftDefaultValue"
    RichText="true"
    RichTextMode="FullHtml" runat="server"
    TextMode="MultiLine" Rows="5">
    </SharePoint:InputFormTextBox>
    In debugger, the returned value was 'undefined'.
    var note = $('#hogehoge').val();
    Is it possible to get the RTE value? If yes, please let me know how to do this.
    3. I need to submit the RTE value using REST call.
    In this
    article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?

    Hi,
    According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
    First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
    Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
    browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
    Two JavaScript Rich Text Editor plugins for your reference:
    http://quilljs.com/
    http://nicedit.com/
    If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
    with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
    Here is a code snippet about how to update a Multiple Line of Text column for your reference:
    updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
    function updateListItem(siteUrl, listName, itemId)
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
    "Title": "123"
    $.ajax({
    url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    $.ajax({
    url: data.d.__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.__metadata.etag
    success: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    // Getting the item type for the list
    function GetItemTypeForListName(name)
    return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How can I get RTE information in operator interface (LV) from TS API?

    Hi!
    I have operator interface in Labview and use TS API to run tests.
    I would like to eliminate RTE dialog and to show error messages directly in front panel control.
    I have created callback for TS Application Manager BreakOnRTE event.
    It works good and I can lock dialog apearance.
    But if I try to get ErrorObject from event parameter (execution) is is empty (has no error information).
    But this parameter is real execution which contains step with RTE.
    When I allow the dialog appearance in this callback, it contains RTE information.
    Where can I get error information from this callback or get it any another way?
    Thanks in advance for any assistance.
    Solved!
    Go to Solution.

    I have found the way to get RTE from callback BreakOnRunTimeError of ApplicationMgr.
    This way is:
     Execution->GetThread[0]->GetSequenceContext[0]->GetRuntimeErrorMessageEx().
    It was not clear for me: all Error fields in step and Sequence are not filled yet on callback time.
    Only the context method can return error message.
    The question is closed.

  • LV 8.2 won't associate with VIs and uses 7.1 RTE?!?!

    Hi,
    I'm in the process of creating a new exe of our project. A strange thing keeps happening and I don't know what's wrong. I had LV 7.1 installed on the machine, as well as LV 8.2 to transition to the new version. I created an .lvproj and built a new .exe of our application. Lo and behold, it flashes the LV 7.1 flash screen and then asks me to select the VI I want to run, when i select the main VI of the application, it simply gives me an Error 9 message and says that that vi is compiled in version 8.2 of LV and won't open. I tried right-clicking on a vi and trying to force it to associate with 8.2, that didn't work. I uninstalled 7.1 and the 7.1 RTE entirely and when I try to run my LV 8.2 built exe it STILL manages to use the 7.1 run time from somewhere.
    After that I tried to re-associate them with 8.2 yet again to no avail. When i run my exe it just tries to open them in the non-existing 7.1 RTE and re-associates them all with 7.1. Please help, i think this is a bug.

    Justin,
    Thanks for the reply. I do understand how bizzare this must seem to you, I had the same reaction. I know perfectly well the behavior of LV built exe, been using it for 5 years. The problem here is the bizzare behavior of the .exe (any in fact, i've built several test vis and exes) on 3 different machines.
    I'll try to explain what's happening:
    1) I create a new project
    2) I add my Test.vi to the project
    3) I set my Test.vi as the startup vi (Test.vi simply calls my main vi via the vi reference).
    4) I build the exe and execute it
    5) Upon execution, an LV 7.1 splash screen pops up for a brief second and I get an Open VI file dialog box asking me to select a VI I want to open, all the VI files inside that window take on the appearance of LV7.1 icons, instead of 8.2. If I try to select a VI from that window, I get LabView load error 9: VI version (8.2) is newer than LabView version (7.1).
    I'm used to that error after you recompile a 7.1 vi to 8.2, but I don't even have LV7.1 installed. It seems like the exe is trying to use LV7.1 RTE to run itself instead of 8.2. I though I have 8.2 RTE automatically installed by LV Dev, but I guess not since it doesn't show in Add/Remove Programs menu, but it DOES show up in MAX under software, go figure. I wish I could get someone in NI to look into this. I've never had a problem like this, it is happening on 3 PCs here and is taking up a lot of work time. I have source code I can send as well as a short video of what's happening on my machine.

  • Is there a way to read the RTE version of an executable without opening it?

    All,
    I'd like to find a method of determining which runtime engine is needed to run an executable programatically.  I'm working on an auto-updater program and have read dozens of forum posting on the topic.  I've found the Application property node for version number in the DevEnvr, and the FileVersionInfo.VI to read the build version number, etc. in the RTE.  The coding for updates within the same RTE is done and works fine.
    The one thing that is absent from all of the postings is a technique to determine the RTE needed to open and run an executable.  Is one out there?
    I've already got the code working to install the new version of RTE, but I'm at the last (skipped earlier) step of determining when that is needed.  Right now I've resorted to writing it in the build properties version information description and parsing it out.  I fear this flimsy work around could be easily missed on the next upgrade if someone doesn't read the documentation and include it.
    I just found this Idea Exchange  which looks like a suitable solution is going into NI R&D as of a couple days ago.  But until that is released, is there a more robust way of determining this?
    Solved!
    Go to Solution.

    Here's a recent thread about this:http://forums.ni.com/t5/LabVIEW/LabVIEW-Version-of-Built-Executables/td-p/2162718
    In short, we found a way to read the EXE as a text file and performed a search for a specific pattern.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Connect to database failed,rc=-10709 Connection failed (RTE:Database name)

    Hi gurues, I'm facing this issue with an IDES on MaxDB with Windows.
    System was up and running until someone tries to make an upgrade of the kernel. Since then we can not start our system. we tried to rollback kernel release to the previous one but it didn't work.
    When we start our system from MMC console we can see all process in green but work processes are in RUN state and after a few minutes they goes down with the following error
    trc file: "dev_w0", trc level: 1, release: "701"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon May 16 23:57:31 2011
    B  create_con (con_name=R/3)
    B  Loading DB library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' ...
    B  Library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' loaded
    B  Version of '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' is "700.08", patchlevel (0.24)
    B  New connection 0 created
    M sysno      00
    M sid        SED
    M systemid   562 (PC with Windows NT)
    M relno      7010
    M patchlevel 0
    M patchno    32
    M intno      20020600
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        212
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 212) [dpxxdisp.c   1348]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          22784     (1752)
    M  DpShMCreate: sizeof(tm_adm)          5912704     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000B2C0050, size: 6607136)
    M  DpShMCreate: allocated sys_adm at 000000000B2C0050
    M  DpShMCreate: allocated wp_adm at 000000000B2C2270
    M  DpShMCreate: allocated tm_adm_list at 000000000B2C7B70
    M  DpShMCreate: allocated tm_adm at 000000000B2C7BD0
    M  DpShMCreate: allocated wp_ca_adm at 000000000B86B450
    M  DpShMCreate: allocated appc_ca_adm at 000000000B871250
    M  DpShMCreate: allocated comm_adm at 000000000B873190
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000000B8F9E20
    M  DpShMCreate: allocated gw_adm at 000000000B8F9EA0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000B8F9ED0
    M  DpShMCreate: allocated wall_adm at 000000000B8F9EE0

    M Mon May 16 23:57:32 2011
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host sirillium1

    M Mon May 16 23:57:33 2011
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.32)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.024) Default value for max. input variables is 2000 (note 655018)
    C    (0.024) Profile parameter to define max. input variables (note 655018)
    C    (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
    C    (0.024) Input parameters for SQL statements increased (note 655018)
    C    (0.018) Create index serial for MaxDB 7.6 (note 1267841)
    C    (0.018) More trace in case of packed to string conversion error (note 1262799)
    C    (0.016) R3trans export aborts with signal 6 (note 1262245)
    C    (0.009) IA64 alignment errors (note 1245982)
    C    (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 007-123-091-175
    C  SQLDBC Library Version : libSQLDBC 7.6.5    BUILD 015-123-202-938
    C  SQLDBC client runtime is MaxDB 7.6.5.015 CL 202938
    C  SQLDBC supports new DECIMAL interface : 0
    C  SQLDBC supports VARIABLE INPUT data   : 1
    C  SQLDBC supports keepAlive indicator   : 0
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    [dbsdbsql.cpp 137]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1203] [dbsh    1203 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:Database name is missing) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1449]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10563]

    M  Info for wp 0

    M    pid = 212
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sirillium1_SED_00 on host sirillium1 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Mon May 16 23:57:33 2011
    M  *  RELEASE     701
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10783
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 212) [dpnttool.c   334]
    We check several entries on this SDN site, and look for a lot of notes on the marketplace, and they always are related to default user in xuser files, but our xuser list output is ok. We have a DEFAULT connection to SAPSID user, a DBM connection to CONTROL user and a USERDBA connection.
    XUSER Entry  1
    Key         :DEFAULT          
    Username    :SAPSID                                                         
    UsernameUCS2:S.A.P.S.E.D. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  2
    Key         :c                
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    XUSER Entry  3
    Key         :c_J2EE           
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  4
    Key         :w                
    Username    :SUPERDBA                                                       
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    Any idea? we are out of ideas at this moment.
    Regards
    Edited by: Gustavo Goicochea on May 17, 2011 6:37 PM

    Natalia, this system was not resored nor copied, it was up and running before kernel update. We did some of the tests you said and someothers, here are some outputs.
    We update kernel to release 142
    R3trans -d and -x exit with (all with user SIDADM)
    SVERS table does exist and belongs to SAPSID
    dbmcli on SID>sql_execute select * from domain.tables where tablename='SVERS'
    OK
    END
    'SAPSID';'SAPSID';'SVERS';'';'TABLE';'TABLE';'20100406';'00054637';'20100406';'00054637';'20100406';'00054638';'NO';(null);20000;(null);x'0000000000004842';'NO';'NO';'YES';'NO';(null)
    Why it still says that SVERS table does not exist and SQL error 942?
    C  Now I'm connected to SAP DB
    C  00: server1-SID, since=20110518015619, ABAP= <unknown> (0)
    B  Connection 0 opened (DBSL handle 0)
    C  *** ERROR =>   prepare() of C_0000, rc=1, rcSQL=-942 (POS(28) Unknown table name:SVERS) [
    dbsdbsql.cpp 1604]
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(28) Unknown table name:SVERS) [dbslsdb.cpp  7253]
    C sc_p=000000000CFAECC0,no=0,idc_p=0000000000000000,con=0,act=0,slen=34,smax=256,#vars=0,stmt=0000000002EA0AF0,table=SVERS                        
    C  SELECT VERSION INTO ? FROM SVERS  ;
    B  ***LOG BZA=> table SVERS      does not exist on database            [dblink#4 @ 1301] [dblink  1301 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 004096) [thxxhead.c   1515]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10824]

    Users seem to be ok
    dbmcli on SID>sql_execute SELECT username, usermode FROM users
    OK
    END
    'CONTROL';'ADMIN'
    'SUPERDBA';'SYSDBA'
    'SAPSID';'DBA'
    'SAPR3';'DBA'
    User SAPR3 does not have anything on database
    dbmcli on SID>sql_execute select * from domain.tables where owner='SAPR3'
    ERR
    -24988,ERR_SQL: SQL error
    100,Row not found
    Any idea?
    regards

  • I want to create an executable that installs the rte

    Hi, I made a small program and want to use it on a computer that does not have labview or the rte installed.
    How can I build the executable that will install the rte progamatically?
    Thanks

    You need to build an installer for the EXE.  In the installer, include the RTE.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • RTE, how to use it? Are there step by step instructions to make a runnable file for a SBC, load it and run it?

    How to use RTE? I need to run my CVI code on a SBC that has its OS on CompactFlash (CF). I have done the Build»Distributions command and made a cds file but don't know if I did it correctly. I have downloaded and installed CVI RTE on my desktop PC, but what to do next to get my CVI code on my SBC's CF? The CF has WindowsEmbedded and so it has the usual Windows folders. So what files do I load on the CF and where do they go?
    Help please! And thanks in advance!
    Solved!
    Go to Solution.

    John,
    I dont know a huge amount about deploying to windows embedded targets, but I would assume you would just install the RTE like you would any other program, then throw the distribution wherever you like to run it from. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • My executable compiled with Real Time Engine 5.1.1 in App Builder gives error when trying to run in App Builder with RTE 6.1

    Hello.  I built an executable using App Builder in LV 5.1.1 and now, years later, I am trying to run it in LV 6.1 but I get an error stating a requirement for Run Time Engine version 5.1.1.  To be able to run this, must I install the older version of Run Time Engine?  If so, where can I find the older version?  Do I have to install the older version of LabVIEW to get the RTE?  Will having both versions on my pc be a problem?
    I assume that once I am able to run the exe, that I will be able to recompile with the newer version of the RTE using App Builder.  Is this correct?
    I have been away from LabVIEW for several years and am a bit rusty on these details that I once knew.  Any help is appreciated.
    Alex

    The version of the run-time engine must match the version of LabVIEW that was used to create the executable. You can get any version of the run-time engine you want here. The only way to create a version 6.1 exe is to re-build it from the source code with diagrams. An exe has no block diagram so it cannot be converted to a newer version.

  • RTE not working in chrome and mozilla

    Hi
        I have an urgent issue.. My RTE is not working in chrome and mozilla.. It is showing up in my dialog; but when i enter data and submit it is not storing in CRX. Also non of the plugins is active
    Any help weill be appreciable
    Thanks
    Veena

    Hi Sham
         After lot of debug i found out the following issues
    In RTE if we put styles plugin only this issue is happening
    The issue happens because the RTE is getting disabled because of the following in RichText.js
    if (CQ.Ext.isIE) {
                var editorSheet = this.doc.createStyleSheet();
                for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                    styleToAdd = cssToAdd[cssIndex];
                    for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                        styleToCheck = styleSheets[sheetIndex];
                        rules = styleToCheck.rules;
                        ruleCnt = rules.length;
                        ruleToCopy = null;
                        for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                            ruleToProcess = rules[ruleIndex];
                            ruleText = ruleToProcess.selectorText;
                            if (ruleText == "." + styleToAdd) {
                                editorSheet.addRule(
                                        "." + ruleText, ruleToProcess.style.cssText);
                                break;
            } else {
                var styleDef = this.doc.createElement("style");
                styleDef.type = 'text/css';
                var cssText = "";
                for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                    styleToAdd = cssToAdd[cssIndex];
                    for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                        styleToCheck = styleSheets[sheetIndex];
                        rules = styleToCheck.cssRules;
                       ruleCnt = rules.length;
                        ruleToCopy = null;
                        for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                            ruleToProcess = rules[ruleIndex];
                            if (ruleToProcess.type) {
                                if (ruleToProcess.type == CSSRule.STYLE_RULE) {
                                    ruleText = ruleToProcess.selectorText;
                                    if (ruleText == ("." + styleToAdd)) {
                                        ruleToCopy = ruleToProcess;
                                        break;
                        if (ruleToCopy) {
                            cssText += ruleToCopy.cssText;
                            break;
                styleDef.appendChild(this.doc.createTextNode(cssText));
                headEl.appendChild(styleDef);
    The above lines are from 650-701 in RichText.js of CQ5.4 . They have handled the code for IE seperately from lines 650-670
    The error is happening in line number 679 ; Where the ruleCnt is returning null for some sheetIndex and so the code is breaking and the RTE is disabled.
    If i add the following line of code
    if(ruleCnt == null){
    continue;
    just after line 679 . This issue seems fixed. But i think it is not the proper way to fix it and it is only a temporary fix. I dont know if it is a CQ issue.
    Does any one have any solution for this.
    To replicate the scenario
    Create a rtePlugin in ur richtext widget
    add a styles dropdown with styles in it
    run this in chrome or any other browser except IE
    If you have a proper solution please let me know
    Thanks
    Veena

  • How to see the changes from format dropdown in RTE itself?

    Hi
       I have a RTE . I have enabled paraformat and is trying to add tags. But i am not able to see the changes in my RTE. How can i achieve this
    even if we select heading1 , the selected text should appear in H1 tag. But it is not happening. Can i know why it is so???
    Thanks
    Veena

    Hi Veena,
    Looking at snapshot I see paragraph is missing might be some customization done.
    As a sanity check download Enable-all-RTE-features-*.zip from package manager & verify.
    Thanks,
    Sham

  • LV RTE cannot open project files that have .lvlib references in Dependencies

    I'm writing a LabVIEW DLL to inspect LabVIEW project files, and I've noticed that if a project has a .lvlib reference in its Dependencies, then the Run-Time Engine contradicts itself about whether or not it can find the project file:
    Project.Open returns error 7 (file not found)
    Project.GetFileLVVersion is successful
    Here are snippets from my G and C code that exercise this behavior:
    int openStatus = StatusSuccess;
    char* projectVersion = createStringWithLength(VersionStringLength);
    printf("Analyzing %s\n", pathString);
    OpenProject(pathString, &openStatus, projectVersion, VersionStringLength);
    printf(" Project written in LabVIEW %s\n", projectVersion);
    if (openStatus == StatusSuccess)
    printf(" Opened project file.\n");
    else
    printf("Error: Could not find project file, or file was not a project file (error code %i).\n", openStatus);
    However, when running in the development environment, both methods succeed.
    Is this a bug, and if so, is it fixed in LabVIEW 2014?
    Here is how you can reproduce it:
    Prerequisites:
    LabVIEW 2013 SP1 32-bit
    ConEmu for a good console -- https://code.google.com/p/conemu-maximus5/wiki/Downloads
    minGW for compiling a program to use the LabVIEW DLL -- http://sourceforge.net/projects/mingw/files
    .lvlib reference in Dependencies breaks Project.Open in LV RTE
    Unzip the attachment into a temporary directory (eg c:\xtra\temp)
    Open "OpenProject.lvproj" in LabVIEW.
    Build "Open Project Library".
    Using ConEmu with a bash prompt, navigate to the temporary directory.
    Type make
    $ make
    patching file `builds/platdefines.h'
    gcc -std=c99 -g OpenProject.c -o OpenProject.exe -lOpenProject -Lbuilds
    6. Type OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    $ OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    Analyzing c:\xtra\temp\OpenProject.lvproj
    Project written in LabVIEW 13.0
    Opened project file.
     7.  Notice that both invoke nodes execute correctly.
     8.  Type OpenProject 'c:\xtra\temp\OpenProjectWithLvlibDep.lvproj'
    $ OpenProject 'c:\xtra\temp\OpenProjectWithLvlibDep.lvproj'
    Analyzing c:\xtra\temp\OpenProjectWithLvlibDep.lvproj
    Project written in LabVIEW 13.0
    Error: Could not find project file, or file was not a project file (error code 7).
     9.   Notice that the version node succeeded while the open one failed.
     10. Type diff OpenProject.lvproj OpenProjectWithLvlibDep.lvproj
    $ diff -u OpenProject.lvproj OpenProjectWithLvlibDep.lvproj
    --- OpenProject.lvproj Tue Nov 4 11:28:28 2014
    +++ OpenProjectWithLvlibDep.lvproj Tue Nov 4 11:32:37 2014
    @@ -13,7 +13,11 @@
    <Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
    <Property Name="specify.custom.address" Type="Bool">false</Property>
    <Item Name="OpenProject.vi" Type="VI" URL="../OpenProject.vi"/>
    - <Item Name="Dependencies" Type="Dependencies"/>
    + <Item Name="Dependencies" Type="Dependencies">
    + <Item Name="vi.lib" Type="Folder">
    + <Item Name="NI_MABase.lvlib" Type="Library" URL="/&lt;vilib&gt;/measure/NI_MABase.lvlib"/>
    + </Item>
    + </Item>
    <Item Name="Build Specifications" Type="Build">
    <Item Name="Open Project Library" Type="DLL">
    <Property Name="App_copyErrors" Type="Bool">true</Property>
    Here is another way to trigger this behavior, which also shows that LabVIEW only sometimes tidies the Dependencies item:
    Open "OpenProject.lvproj" in LabVIEW.
    Add a new VI to the project and place the "Application Directory" file path constant its block diagram.
    Select "File » Save All (this Project)" and use the default name for the new VI.
    Type OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    Notice there is an error again, as is expected.
    Remove the "Application Directory" file path constant.
    Select "File » Save All (this Project)"
    Type OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    Notice the problem is gone, as is expected.
    Re-add the "Application Directory" file path constant to the block diagram.
    Select "File » Save All (this Project)"
    Type OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    Notice there is no problem, which is surprising as there should be an error since the Dependencies item hasn't been tidied.
    Close the new VI and remove it from the project.
    Select "File » Save All (this Project)"
    Open "OpenProject.lvproj" in a text editor.
    Notice the Dependencies item has been tidied.
    Re-add the VI back to the project.
    Select "File » Save All (this Project)"
    Type OpenProject 'c:\xtra\temp\OpenProject.lvproj'
    Notice there is an error again, as is expected.
    Solved!
    Go to Solution.
    Attachments:
    LVRTE_OpenProject.zip ‏10 KB

    NInjaneer_wow wrote:
    The same behavior occurs in LabVIEW RTE: a new project with an Application Directory constant in a blank vi will return error 7 - file not found, but still return the correct version of LabVIEW in which the project was created. 
    I've been experimenting with workarounds for this behavior, and I found one.
    When I provide the LabVIEW path for libdir in my executable's ini file, the run-time is able to load and inspect the project file.
    libdir="C:\Program Files\National Instruments\LabVIEW 2013"
    While it's expected that a stand-alone executable may be placed on a system that doesn't have the LabVIEW IDE, it's still surprising to me that the Run-Time Engine cannot find LabVIEW's standard library without some explicit guidance. What other considerations contribute to that behavior?
    References:
    LabVIEW configuration file/Paths -- http://labviewwiki.org/LabVIEW_configuration_file/Paths

  • [svn:osmf:] 17499: Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

Maybe you are looking for

  • Document is not a valid PDF file

    Hi, I need help! Iøm trying to upload a visa paper using Adobe-Reader XI and when I upload, it keep saying "document is not a valid PDF file" - what to do now? Maliha

  • How do i choose what to see in my podcast list?

    I can't delete old podcasts any more and from what I understand, if I listen to something it will dissappear.  Can I fix this or go back to the old itunes?

  • Adding field to repository structure leads to syntax error in webservice

    Hello there, I have added a field to a structure that is used as a parameter type in a customer function module which is part of a function group which is the endpoint of an enterprise service. I would have expected the webservice where this structur

  • Security with Web Service calling some EJBs

    Hi everybody, I have implemented some web services residing in a war file deployed on my Tomcat. The web services module is a client to some EJBs deployed on my JBoss. I need to log the user in my realm on each WS request and log the user out before

  • Need some help regarding Client Proxy generation and test via SOAMANAGER

    Hello, we are integrating a 3rd party Java client via webservices. For that matter I generated a client proxy (consumer proxy) in se80 using the existing WSDL. This worked fine. The I wanted to create a logical port. Since this is only possible in SO