"ActiveTextHandler is not a type" error

Dear developers,

"I have a door problem, I intend to use the active text Manager to manage the click to a href in html text, the following code is quite similar to the example of https://developer.blackberry.com/cascades/reference/bb__cascades__activetexthandler.html, how ever, when I tried to run, the error occurs as '.

ctiveTextHandler is not a type

activeTextHandler: {ActiveTextHandler}

^)

BB::Cascades:QmlDocument:createRootObject document is not loaded or has errors, cannot create the root. "

Someone has an idea of what's not here? Thank you.

TextArea {
    id: statusTextArea
    text: "test"
    preferredWidth: 728
    inputMode: TextAreaInputMode.Text
    editable: false

    textStyle {
        fontSizeValue: 7
    }
    content {
        flags: TextContentFlag.ActiveText
    }
    activeTextHandler: ActiveTextHandler {
        onTriggered: {
            //do something
        }
    }
}

Thank you

Dong

Finally I've found a workaround, you must save the Manager:

qmlRegisterType("bb.cascades.activetexthandler", 1, 0, "ActiveTextHandler");
qmlRegisterUncreatableType("bb.cascades.activetexthandler", 1, 0, "ActiveTextTriggeredEvent", "");

And then import it into QML:

import bb.cascades.activetexthandler 1.0

Then it will work as expected!

See you soon,.

Dong

Tags: BlackBerry Developers

Similar Questions

  • Could not resolve type error

    Here is a school work we got. We must make a clock of all kinds. Before we do that, it gives us this code example to test, I copy paste in my program, but it gives me the following error:

    Clock can not resolve the type

    Here is the code:
    public class ClockClient
    {
    public static void main(String[] args)
    {
    Random rand = new Random(47); // Set the seed of this random number generator to 47
    System.out.println("\nTesting constructors\n");
    Clock c1 = new Clock();
    System.out.println("C1 " + c1);
    Clock c2 = new Clock(2);
    System.out.println("C2 " + c2);
    Clock c3 = new Clock(11, 13);
    System.out.println("C3 " + c3);
    Clock c4 = new Clock(5, 1, 29);
    System.out.println("C4 " + c4);
    Clock c5 = new Clock(25, -231, -77);
    System.out.println("C5 " + c5);
    System.out.println("\nTesting mutators\n");
    c1.setHours(100);
    c1.setMinutes(-80);
    c1.setSeconds(61);
    System.out.println("C1 " + c1);
    System.out.println("\nTesting mutators and accessors\n");
    c1.setHours(15);
    c1.setMinutes(49);
    c1.setSeconds(29);
    System.out.println("C1 " + c1.getHours() + ":" + c1.getMinutes()
    + ":" + c1.getSeconds());
    System.out.println("\nTesting advance-methods\n");
    for(int k = 0; k < 5; ++k)
    {
    int hh = rand.nextInt(24);
    int mm = rand.nextInt(60);
    int ss = rand.nextInt(60);
    c1.advanceHours(hh);
    c1.advanceMinutes(mm);
    c1.advanceSeconds(ss);
    System.out.printf("After advancing by %2d hours, %2d minutes, and %2d seconds C1 is %s\n",
    hh, mm, ss, c1);
    }
    }
    }
    I can't understand how to set my classpath in eclipse.

    I can't see the supposed release and test it because I can't understand this flaw that the teacher has left out in the PDF file. _ ;. Help, please. Thanks :)

    Published by: Basshunter36 on November 18, 2010 01:23

    Published by: Basshunter36 on November 18, 2010 01:29

    Basshunter36 wrote:
    >
    Vijay wrote:
    You have the source 'Clock.java' with you? If Yes, where is it located?
    >

    He had actulaly ClockClient.java and it is located in the src folder in the eclipse workspace folder. The project of course folder inside.

    No, there must be a class named clock.
    In the class ClockClient, you create an instance of the Clock class.

  • SystemDialog is not a type

    Hey all,.

    I was wondering if someone has dealt this previously.  I have included the library system of the blackberry, updated the .pro file and have included some system/bb/SystemDialog in my .h file, but also the bb.system 1.0 in all my qml files and I still get the

    SystemDialog is not a type error.

    Yes you can call it a javascript function.

    I could be wrong, but I think you should be able to change

    top_container.errorPop.show();
    

    with

    errorPop.show();
    

    Would it be possible for you to post the complete qml.

  • ORA-39083: Object type TRIGGER could not create with error: ORA-04072:

    OS: windows Server 2003 STD 64 Bit
    DB version: 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit

    I use impdp to a certain pattern and you get the following error:

    ORA-39083: Type WHAT TRIGGER could not create object error:
    ORA-04072: invalid trigger type
    Because sql is:
    DBMS_DDL BEGIN. SET_TRIGGER_FIRING_PROPERTY ('"AGILETEST" "," "SWAPOPTIMIZER" ', ALF)
    SE); END;

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMA of treatment
    P/INDEX_STATISTICS
    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX

    ----------
    I check in Metalink and found it to be a bug with no construction nearby.
    Bug 9858539 : DATA PUMP IMPORT FAILED TO TRIGGER LOGON ORA-04072: INVALID TYPE of TRIGGER

    ---------
    Any ideas?

    Well Yes, the patch is available for this bug 9858539 for 11.2.0.1 and 11.2.0.3.

    Salman

  • Type of Validation SQL "Exist" does not raise an error as expected

    Hello

    I'm doing a validation of the work. If no data is returned by the query on, triggers a validation error. Is there a SQL type of validation.

    Select 1
    OF sivoa.evv_ST25
    WHERE DATE1 COMES
    TO_DATE(:P3_DATE_DEBUT ||) '000000', ' DD/MM/YYYYHH24MISS') AND
    TO_DATE(:P3_DATE_DEBUT ||) "235959'," DD/MM/YYYYHH24MISS").

    Unfortunately, nothing happens (validation does not raise an error)

    I tried this:

    Select 1 double

    It does not work either! I mean that no error is raised. Where is my mistake?

    Thank you for your kind answers!

    Christian

    Why not change your validation for PL/SQL function returns BOOLEAN and to do this:

    DECLARE
    lv_ret NUMBER;
    BEGIN

    Select 1
    IN lv_ret
    OF sivoa.evv_ST25
    WHERE DATE1 COMES
    TO_DATE(:P3_DATE_DEBUT ||) '000000', ' DD/MM/YYYYHH24MISS') AND
    TO_DATE(:P3_DATE_DEBUT ||) "235959'," DD/MM/YYYYHH24MISS");

    RETURN TRUE;

    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RETURN FALSE;

    WHILE OTHERS
    THEN
    LIFT;

    END;

    Hope that helps

    Duncan

    "You can reward this comment of points by clicking useful or correct.

  • System.TypeLoadException: Could not load type 'DateTimeOffset '.

    Hello.
    I had trouble with "Vodafone Mobile Connect Lite" (Vodafone mobile broadband software) since I recently had to put windows xp on my computer. I have updated windows and have service pack 3 installed.
    I tried to remove the program and reinstalled it, but it always happens with the two errors below. I copied
    the error messages and paste in this message. They are as follows:

    First error:

    A program error has occurred.
    System.TypeLoadException: Could not load type 'DateTimeOffset' of assembly ' mscorlib, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089 ".". "
    at System.ComponentModel.ReflectTypeDescriptionProvider.get_IntrinsicTypeConverters)
    at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetConverter (object instance)
    at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetConverter)
    at System.Configuration.ApplicationSettingsBase.GetSerializeAs (Type type)
    to System.Configuration.ApplicationSettingsBase.CreateSetting (PropertyInfo propInfo)
    at System.Configuration.ApplicationSettingsBase.EnsureInitialized)
    at System.Configuration.ApplicationSettingsBase.get_Properties)
    at System.Configuration.SettingsBase.GetPropertyValueByName (String propertyName)
    at System.Configuration.SettingsBase.get_Item (String propertyName)
    at System.Configuration.ApplicationSettingsBase.GetPropertyValue (String propertyName)
    at System.Configuration.ApplicationSettingsBase.get_Item (String propertyName)
    CMV. USER INTERFACE. MobileConnect.Properties.Settings.get_ButtonBackColor)
    CMV. USER INTERFACE. MobileConnect.ButtonBox... ctor (SizeF scalingFactor)
    CMV. USER INTERFACE. MobileConnect.MainNavigationBox... ctor (SizeF scalingFactor)
    CMV. USER INTERFACE. MobileConnect.frmMobileConnect.InitializeNavigationBars (Int32 naviButtonsCount)
    CMV. USER INTERFACE. MobileConnect.frmMobileConnect... ctor (ServiceManager sm)
    Caller = frmMobileConnect:.ctor

    2nd error:

    System.TypeLoadException: Could not load type 'DateTimeOffset' of assembly ' mscorlib, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089 ".". "
    CMV. USER INTERFACE. MobileConnect.frmMobileConnect... ctor (ServiceManager sm)
    CMV. USER INTERFACE. MobileConnect.Program.StartVisiblePart)
    CMV. USER INTERFACE. MobileConnect.Program.Main (String [] args)

    Program error!

    The software / program then don't load properly on the computer and I can't connect to the broadband mobile thru «Vodafone Mobile Connect Lite»
    The same thing happens if I try to use the program ' sms.

    Can you please advise me what can I do to correct the situation.
    Thank you

    Hello mike4cara,

    Addition to the information that Joel provided, I have included a newer version of the software.

    If I read the papers on the right, you run Vodafone version 2.0 and there is a new version available.
    Click here for a link to download the latest version which is Vodafone Mobile Connect Lite V3.

    If this does not help, you can post in the Community Forums of Vodafone.
    Click here for a link to their forums.

    I hope this helps.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Windows Update does not work, get error 641, 80070641 and 8004FF01 on Vista Home Premium

    Windows Update does not work, get error 641, 80070641 and 8004FF01 on Vista Home Premium

    Hello!

    the mechanic system?
    It's what has helped us to

    Open Notepad.

    Copy the following into Notepad and save it as fixme.reg

       push all the files and then save it to your desktop.

    Windows Registry Editor Version 5.00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver]

    'DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27 '.

    "ImagePath" = hex (2): 25, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 72, 00, 6f, 00, 6f, 00,------.

    74,00,25,00 5 C 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 6 D,------.

    00,73,00,69,00,65,00,78,00,65,00,63,00,20,00, 2f, 56, 00, 00, 00, 00

    'Description"="@%SystemRoot%\\system32\\msimsg.dll,-32 '.

    "LocalSystem ObjectName"=""

    "ErrorControl" = DWORD: 00000001

    "Start" = dword:00000003

    'Type' = dword:00000010

    "DependOnService" = hex (7): 72, 00, 70, 00, 63, 00, 73, 00, 73, 00, 00, 00, 00, 00

    "ServiceSidType" = DWORD: 00000001

    "RequiredPrivileges" is hex (7): 53, 00, 65, 00, 54, 00, 63, 00 62 00, 50, 00, 72, 00, 69, 00, 76,------.

    00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 43, 00, 72, 00, 65, 00, 61, 00,------.

    74,00,65,00,50,00,61,00,67,00,65,00,66,00,69,00, 6 C, 00, 65, 00, 50, 00, 72, 00, 69,--------.

    00,76,00,69,00 6 c 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 4 c, 00, 6f 00, 63, 00,------.

    6B, 00, 4 d, 00, 65, 00, 6 d, 00, 6f, 00, 72, 00, 79, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c,

    00,65,00,67,00,65,00,00,00,53,00,65,00,49,00, 6F, 00, 63, 00, 72, 00, 65, 00, 61, 00,------.

    73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00, 6f, 00, 72, 00, 69, 00, 74,------.

    00,79,00,50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00,------.

    65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00, 6 d, 00, 61, 00, 6e,------.

    00,65,00, 6F, 00, 74, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 C, 00, 65, 00, 67, 00, 65, 00,------.

    00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,------.

    00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 53, 00, 65, 00, 63, 00, 75, 00, 72, 00,------.

    69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00,------.

    00,53,00,65,00,43,00,68,00,61,00, 6F, 00, 00, 65, 67, 00, 4F, 00, 6f, 00, 00, 69, 74, 00,------.

    66,00,79,00,50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53,------.

    00,65,00,50,00,72,00, 6f, 66, 00, 00, 69, 00, 6 c, 00, 65, 00, 53, 69, 00, 00, 6F, 00, 67, 00,------.

    6 c, 00, 65, 00, 50, 00, 72, 00, 6f, 00, 63, 00, 65, 00, 73, 00, 73, 00, 50, 00, 72, 00, 69, 00, 76,------.

    00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 49, 00, 6 D, 00, 00, 65, 70, 00,------.

    72,00,73,00, 6f, 00, 6F, 00, 61, 00, 74, 00, 65, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c,

    00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,------.

    47.00, 6 c, 00, 6f, 00, 62, 00, 61, 00, 6 c, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c, 00, 65,.

    00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00, 6F, 00, 50, 00,------.

    72,00,69,00, 6 d, 00, 61, 00, 72, 00, 79, 00, 54, 00, 6f, 00, 6 b, 65, 00, 00, 6F, 00, 00, 50, 72,------.

    00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 52, 00, 65, 00,------.

    73,00,74,00, 6f, 00, 72, 00, 65, 50, 00, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c, 00 65 00, 67,.

    00,65,00,00,00,53,00,65,00,49,00, 6F, 00, 63, 00, 72, 00, 65, 00, 61, 00, 73, 00, 65, 00,------.

    51,00,75,00, 6f, 00, 74, 00, 61, 50, 00, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c, 00 65 00, 67,.

    00,65,00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00, 6f, 77, 00, 00, 6F, 00,------.

    50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 54,------.

    00,61,00, 6B, 00, 65, 00, 4f, 77, 00, 00, 6F, 00, 65, 72, 00, 00, 73, 00, 68, 00, 00, 69, 70, 00,------.

    50,00,72,00,69,00,76,00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 4 C,

    00, 6f, 00, 61, 00, 64, 00, 44, 00, 72, 00, 69, 00, 76, 00, 65, 00, 72, 00, 50, 00, 72, 00, 69, 00,------.

    76,00,69,00, 6 c, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 42, 00, 61, 00, 63, 00, 6 b------.

    00,75,00,70,00,50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00,------.

    00.00

    "FailureActions" = hex: 84, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 14, 00, 00,------.

    00,01,00,00,00, c0, d4, 01, 00, 01, 00, 00, 00, e0, 93, 04, 00, 00, 00, 00, 00, 00, 00, 00, 00

    Go to your desktop and double-click the file name fixme.reg

    Restart the PC and try to install the updates again

    or

    Click Start.

    Type regedit in the search field and press to enter.

    On the registry change windows click on file and select import.

    Navigate to the location where the fixme.reg file and select the file.

    Click ok on the windows screen once the registry is merged successfully.

    Restart computer and check if updates installs.

    * We had system mechanic and I uninstalled it since I discovered that it corrupted my windows installer.

    Hope this helps

    Microsoft KB article

    http://support.Microsoft.com/kb/2642495

    Thank you!

    Makoi

  • Whenever I try to download something, he said that he could not access APPDATA Error 1606. How can I solve this problem without any of my stuff getting deleted?

    Whenever I try to download something, he said that he could not access APPDATA Error 1606. How can I solve this problem without any of my stuff getting deleted?

    Hello
    1. what Internet browser do you use?
    2 are you having the same problem with other browsers also?
     
     
    Method 1: I suggest you try SFC running [System File Checker] scan on the computer that would be a system file corrupt on the computer search and replace.

    http://support.Microsoft.com/kb/929833

    Method 2: If the problem persists, you can try the steps mentioned below and check if it helps.
     
    (a) click Start.
    (b) type regedit in the Start Search and press enter.
    (c) access the site mentioned below.
    "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    (d) then change the appdata read "% USERPROFILE%\AppData\Roaming" thing
     
    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    322756 (http://support.microsoft.com/kb/322756/)
    How to back up and restore the registry in Windows

    Hope this information is useful.
  • The remote access connection manager could not start. Error 2: cannot find the specified file.

    I've updated from vista to the most recent update.

    I have windows vista Home premium 32-bit.
    I want to get this matter resolved without having to reinstall as I have a few games installed it on this system.
    The modem is not the issue as other computers connect very well.
    Thanks for the help from Microsoft.
    Recently, I tried to connect to the internet but that was not possible, because no connection could be established. The remote access connection manager does not start 2 error: could not find the specified domain. the RasMan-dependent services are started, but Manager logins remote does not start.

    Hi Mundilfar,

    You can try the folliwng steps and see if it helps.

    Step 1:

    You can try to scan the file system [SFC] checker on the computer that will replace missing or corrupt files & check if the problem persists.

    For more information, you can consult the following link.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    Step 2:

    If you are always faced with the question, then you can try to give permission for the Rasman registry key and see if it helps.

    Important: The following steps show you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, follow the steps from the link below:

    Back up the registry

    a. Click Start, type regedit in the search box and press ENTER.

    b. Locate the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan

    c. right click on the key and click Permissions.

    d. Select Advanced, click on owner tab, click your user name, and check the 'Replace owner of subcontainers and objects', click Apply - click OK.

    e. click the user or group name that you want to work with.

    f. check allow total control. Click apply and then click OK.

    g. restart the computer and check.

    Hope this information is useful.

  • Windows 7 print spooler does not start: System error 1068 occurred. The dependency service or group could not start

    Hello

    I still have the "system error 1068. The dependency service or group was able to start.

    "I use Windows 7 Home premium 64-bit and my printer is HP PSC 1310 series.

    I downloaded the latest driver in the HP website, but it will not continue installation that the print spooler is not started.

    I tried "restart the spooler to print the title of the services, it does not, with the error message above.

    I have check the dependencies and it say HTTP and RPC

    I check on RPC and DCOM Server process Launcher two dependencies and the RPC end point Mapper is started

    I went to regedit and found the keys as follows I don't know if its correct:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler]

    'DisplayName"="@%systemroot%\\system32\\spoolsv.exe,-1 '.

    "Group"="SpoolerGroup."

    "ImagePath" = hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00,------.

    74,00,25,00, 5 C, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 73,------.

    00,70,00, 6f 00 6f, 6 c, 73, 00, 00, 00, 76, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 00, 00

    'Description"="@%systemroot%\\system32\\spoolsv.exe,-2 '.

    "LocalSystem ObjectName"=""

    "ErrorControl" = DWORD: 00000001

    "Start" =: 00000002

    'Type' = dword:00000110

    "DependOnService" is hex (7): 52, 00, 50, 00, 43, 00, 53, 00, 53, 00, 00, 00, 68, 00, 74, 00, 74, 00,------.

    70,00,00,00,00,00

    "ServiceSidType" = DWORD: 00000001

    "RequiredPrivileges" is hex (7): 53, 00, 65, 00, 54, 00, 63, 00 62 00, 50, 00, 72, 00, 69, 00, 76,------.

    00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 49, 00, 6 D, 00, 00, 65, 70, 00,------.

    72,00,73,00, 6f, 00, 6F, 00, 61, 00, 74, 00, 65, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c,

    00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,------.

    72,00,69,00,76,00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 43, 00, 68,.

    00,61,00, 6F, 00, 00, 65, 67, 00, 4F, 00, 6f, 00, 74, 00, 69, 00, 66, 00, 79, 00, 50, 00, 72, 00,------.

    69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 41, 00, 73, 00, 73,------.

    00,69,00,67,00, 6F, 00, 50, 00, 72, 00, 69, 00, 6 d, 00, 61, 00, 72, 00, 79, 00, 54, 00, 6f, 00,------.

    6 b, 65, 00, 00, 6F, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c, 00, 65, 00, 67, 00, 65, 00, 00,------.

    00,53,00,65,00, 4 c, 00, 6f, 00, 61, 00, 64, 00, 44, 00, 72, 00, 69, 00, 76, 00, 65, 00, 72, 00,------.

    50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 00, 00

    "FailureActions" = hex: 80, 51, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 14, 00, 00,------.

    00,01,00,00,00,60, EE, 00, 00, 01, 00, 00, 00, 60, ea, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler\Performance]

    "Close" ="PerfClose."

    "Collect"="PerfCollect."

    "Collect Timeout" = dword:000007 d 0

    "Library"="winspool.drv".

    "Object list"="1450".

    "Open" = "PerfOpen."

    "Open Timeout" = dword:00000fa0


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler\Security]

    "Security" = hex: 01, 00, 14, 80, 78, 00, 00, 00, 84, 00, 00, 00, 14, 00, 00, 00, 30, 00, 00, 00, 02,------.

    00, 1 c, 00, 01, 00, 00, 00, 02, 80, 14, 00, ff, 01, 0f, 00, 01, 01, 00, 00, 00, 00, 00, 01, 00, 00,------.

    00,00,02,00,48,00,03,00,00,00,00,00,14,00, 8 d, 01, 02, 00, 01, 01, 00, 00, 00, 00, 00,------.

    05, 0, 00, 00, 00, 00, 00, 18, 00, ff, 01, 0f, 00, 01, 02, 00, 00, 00, 00, 00, 05, 20, 00, 00, 00,------.

    20,02,00,00,00,00,14,00, fd, 01, 02, 00, 01, 01, 00, 00, 00, 00, 00, 05, 12, 00, 00, 00, 01,

    01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

    I go to C:\Windows\System32\spool\PRINTERS, there is nothing for me to remove it.

    Any other advice would be greatly appreciated...

    Hello yan_dao69,

    I suggest that you try the methods below to solve the problem.

    Method 1:

    I suggest that you run the printer troubleshooter. This will automatically diagnose and fix printing problems:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Ideally, this would set the print spooler service issues.

    Method 2:

    I suggest that you disable the Antivirus software temporarily and verify if you are able to start the print spooler service. You can check the link that will give you information disable antivirus below:

    http://Windows.Microsoft.com/en-in/Windows7/disable-antivirus-software

    Note: Please make sure that you enable the antivirus software after the test to keep your computer protected.

    Method 3:

    Check the dependency of the spooler services in the registry.

    a. Click Start, type regedit in the search box and press ENTER.

    b. look for, and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler

    c. right-click on spooler, click Export, save a backup file on your desktop.

    NOTE: If an unforeseen problem be encountered after changing the registry, please double-click on the file to restore the backup.

    d. in the details pane, if the DependOnService value shows values of RPCSS and other key, right-click DependOnService and then click on edit.

    e. in the value data box, delete the other keys and then click OK.

    f. exit the registry editor.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756 ) how to back up and restore the registry in Windows.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 7 slow down and MS security essential does not work with error "0xc0000185.

    My PC does not work well.

    I use Windows 7.

    When I tried to open it, it will take at least 5 minutes before turning into log in page. and after I entered my password again 5 minutes to load.

    When I connect successfully my essential security MS does not work with error "0xc0000185"... then my Explorer windows always crashing.

    After each action I did it takes time to load... also, I tried to turn on my Defender, but unable to locate... I also tried to analyse using malware bytes, but it also shut down the application...

    Help, please. I need all my files...

    Thank you.

    Hello

    Windows Defender is disabled by default when you use MSE and nothing to worry about.

    Analysis of Malware in Mode safe mode with networking.

    Download, install, update and scan your system with version free Malwarebytes AntiMalware and if necessary do in Mode safe mode with networking:

    http://www.Malwarebytes.org/products/malwarebytes_free

    'Advanced options boot (including safe mode).

    http://Windows.Microsoft.com/en-us/Windows/Advanced-startup-options-including-safe-mode#1TC=Windows-7

    _______________________________________

    And also scan with the free version of SUPERAntiSpyware

    http://www.SUPERAntiSpyware.com/download.html

    SUPERAntiSpyware Free Edition is 100% free and will detect and remove thousands of Spyware, Adware, Malware, Trojans, KeyLoggers, Dialers, Hi-Jackers, and worms. SUPERAntiSpyware features many unique and powerful technologies and removes spyware threats that other applications fail to remove.

    SUPERAntiSpyware Free Edition does not include blocking in real time or scheduled scan.

    ______________________________________

    It is a very good program to scan your system to remove adware, etc.:

    http://www.bleepingcomputer.com/download/adwcleaner/

    AdwCleaner is a program that finds and removes the Adware, toolbars, potentially unwanted programs (PUP) and browser hijackers from your computer.  Using AdwCleaner you can easily more of these types of programs for a better user experience on your computer delete and while browsing the web.

    _____________________________________

    And just to be sure, nothing is lurking in the background:

    'TDSSKiller Rootkit Removal Utility download for free'

    http://USA.Kaspersky.com/downloads/TDSSKiller

    See you soon.

  • RouteMapInvoker is not a type - work on Simulator not on Q10

    I tried to test my app on my new Q10 (10.1.0.4211) and the application does not start. In the Console output, I see the error:

    BB::Cascades:QmlDocument: error loading QML of: QUrl ("asset:///main.qml")
    -errors: (asset:///main.qml:43:9: asset:///EventsPage.qml:148:9 not available, Type EventsPage: RouteMapInvoker is not a type)

    The EventsPage has a viewlist of events and you can use the menu command to call the map for directions.

    I used the example of the RouteMapInvoker documentation to create my version.

    Again, this works in the Simulator, so I was very surprised to get this error on the device.  The RouteMapInvoker has been available since 10.0.0, so it should work on a 10.1.0 device.

    I made sure that I added LIBS +=-lbbplatform to the .pro file, checked the location of Access Services in the .bar file and importing the class bb.platform 1.0.

    Any suggestions?

    The EventPage.qml

    import bb.cascades 1.0
    import bb.system 1.0
    import bb.platform 1.0
    import MeetupServices 1.0
    
    Page {
        property bool hasLocation:false;
        property string locationName;
        Container {
            ActivityIndicator {
                objectName: "aiEvents"
                id: aiEvents
                preferredWidth: 100
            }
            Header {
                id: hMeetupEvents
                // Localized text with the dynamic translation and locale updates support
                title: qsTr("Meetup Events") + Retranslate.onLocaleOrLanguageChanged
                subtitle: qsTr("Upcoming events you have RSVP'd for")
            }
    
            SegmentedControl {
                id: rsvpOptions
                Option {
                    id: optionYes
                    text: "Yes"
                    value: "YES"
                    selected: true
                }
                Option {
                    id: optionNo
                    text: "No"
                    value: "NO"
                }
                Option {
                    id: optionNone
                    text: "None"
                    value: "NONE"
                }
                onSelectedIndexChanged: {
                    var value = rsvpOptions.selectedValue
                    console.debug("Selected value: " + value);
                    meetupWS.filterEvents(value);
                }
            }
            ListView {
                id: lvMeetupEvents
                objectName: "lvMeetupEvents"
                listItemComponents: ListItemComponent {
                    type: "item"
                    Container {
                        id: itemRoot
    
                        Label { text: ListItemData.title
                            multiline: true
                        }
                        Label { text: qsTr("at " + ListItemData.eventhour)
                        }
                        Label { text: ListItemData.description }
                        Container {
                            background: Color.create("#ffffff")
                            Label { text: ListItemData.group
                                textStyle.color: Color.Red
                                multiline: true
                            }
                        }
                    }
    
                }
                onTriggered: {
                    console.log("selected : " + indexPath);
                    clearSelection();
                    toggleSelection(indexPath);
    
                    routeInvokerID.resetEndLatitude();
                    routeInvokerID.resetEndLongitude();
                    routeInvokerID.resetEndName();
                    routeInvokerID.resetEndName();
                    routeInvokerID.resetEndAddress();
    
                    var selectedItem = lvMeetupEvents.dataModel.data(indexPath);
                    locationName = selectedItem.venue_name.toString();
    
                    if(locationName.length > 0) {
                        hasLocation = true;
                    } else {
                        hasLocation = false;
                    }
    
                    if(hasLocation) {
                        routeInvokerID.setEndName(selectedItem.venue_name.toString());
                        routeInvokerID.setEndDescription("Meetup Location");
                        routeInvokerID.setEndAddress(selectedItem.venue_address_1 + " "
                            + selectedItem.venue_city + ", "
                            + selectedItem.venue_state + " "
                            + selectedItem.venue_zip);
                        routeInvokerID.setEndLatitude(parseFloat(selectedItem.venue_lat.toString()));
                        routeInvokerID.setEndLongitude(parseFloat(selectedItem.venue_lon.toString()));
                    }
                }
                contextActions: [
                    ActionSet {
                        ActionItem {title: "Map Location"
                            imageSource: "asset:///images/Map.png"
                            onTriggered: {
                                if(hasLocation) {
                                    routeInvokerID.go();
                                 } else {
                                     eventsToast.body = "No Location";
                                     eventsToast.show();
                                 }
                            }
                        }
                        ActionItem {title: "Change RSVP"
                            imageSource: "asset:///images/edit_rsvp.png"
                        }
                    }
                ]
            }
        }
        function refreshData() {
            meetupWS.eventsDataRetrieved.connect(dataLoading);
            meetupWS.eventsDataGet.connect(dataLoading)
    
            // get
            meetupWS.getSelf("events");
        }
        function dataLoading() {
            if(aiEvents.running) {
                aiEvents.stop();
            } else {
                aiEvents.start();
            }
        }
        actions: [
            ActionItem {
                title: "Refresh"
                onTriggered: refreshData()
                ActionBar.placement: ActionBarPlacement.InOverflow
                imageSource: "asset:///images/Reload.png"
            }
        ]
        attachedObjects: [
            SystemToast {
                id: eventsToast
                body: "Meetup Events data loading"
            },
            RouteMapInvoker {
                id: routeInvokerID
    
                // Raleigh as starting location // remove when done
                startLatitude    : 35.786627       // Raleigh latitude
                startLongitude   : -78.660965      // Raleigh longitude
                startName        : "Raleigh, NC"
                startDescription : "North Carolina's capital"
    
            },
            MeetupServices {
                id: meetupWS
            }
        ]
    }
    

    did you declare you in your main.cpp like this?

    #include 
    

    under the present law:

    Q_DECL_EXPORT int main(int argc, char **argv)
    {
    

    Insert this code so that the routeMapInvoker can be called in the QML:

    qmlRegisterType("bb.platform", 1, 0, "RouteMapInvoker");
            bb::data::DataSource::registerQmlTypes();
    
  • Problem loading qml. Toast of system is not a type

    Button {
                    id: login_button
                    horizontalAlignment: HorizontalAlignment.Center
                    text: "Login"
                    objectName: "login_button"
    
                    onClicked: {
                        myQmlDialog.show();
                    }
                    attachedObjects: [
                        SystemToast {
                            id: myQmlToast
                            body: "No network connectivity!"
                            onFinished: {
                            }
                        },
                        SystemDialog {
                            id: myQmlDialog
                            onFinished: {
                                if (myQmlDialog.result ==   SystemUiResult.CancelButtonSelection) myQmlToast.show();
                            }
                        }
                    ]
    }
    

    I'm showing a toast of qml. I enclose the code that I use in qml. And this is the error: loading qml overview. Toast of system is not a type.

    Any help would be appreciated. Thank you

    Welcome on the support forums.

    Unfortunately the preview no longer works if you use custom types. I hope he'll get fixed sometime, until then you can copy your UI code to another qml to adjust the appearance (I do it like that).

  • LMS 3.2 (solaris 10) - user tracking: once again "ogs_server_urn" not found! Errors

    LMS 3.2 on a solaris 10 server that had problems with ctm_config.txt in the past (https://supportforums.cisco.com/thread/2033941) now once again has problems with the device Selector in UT. There are FATAL errors of type it below connected to CampusOGSServer.log:

    [Tue 19 Oct 18:27:22 CEST 2010] FATAL Com.cisco.nm.xms.ogs.server.GroupCacheImpl getHierarchy no first-level cache for: /[email protected] / * /[email protected]/ * defined //System groups inaccessible devices
    [Tue 19 Oct 18:30:52 EST 2010] FATAL Com.cisco.nm.xms.ogs.server.GroupCacheImpl getHierarchy no first-level cache for: /[email protected] / * /-Server
    [Tue 19 Oct 18:33:03 EST 2010] FATAL Com.cisco.nm.xms.ogs.server.GroupCacheImpl getHierarchy no first-level cache for: /[email protected] / * /[email protected]/ * defined //System groups inaccessible devices
    [Tue 19 Oct 18:35:04 CEST 2010] FATAL Com.cisco.nm.xms.ogs.server.GroupCacheImpl getHierarchy no first-level cache for: /[email protected] / * /-Server/Pre-deployed
    [Tue 19 Oct 18:35:05 EST 2010] FATAL Com.cisco.nm.xms.ogs.server.GroupCacheImpl getHierarchy no first-level cache for: /[email protected] / * /-Server/User Defined groups

    To create failure I'm going to UT > reports > generator-online Switch Port report > Switch Port summary
    The switch of the device that opens contains all devices and clicking the search button produces the following error:

    Problem with file /WEB-INF/screens/deviceselector/DeviceFilter.jsp! URN_NOT_FOUND: urn 'ogs_server_urn': not found!

    also, the following error is located in /opt/CSCOpx/MDC/tomcat/logs/stdout.log:

    October 18, 2010 14:18:49 org.apache.catalina.core.ApplicationDispatcher invoke

    SERIOUS: Servlet.service () for servlet jsp threw exception

    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND: urn 'ogs_server_urn': not found!

    at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)

    to com.cisco.nm.xms.ctm.client.CTMCall. (CTMCall.java:218)

    to com.cisco.nm.xms.ctm.client.CTMClientProxy. (CTMClientProxy.java:64)

    at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)

    at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)

    at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)

    to com.cisco.nm.xms.ogs.client.OGSServerProxy. (OGSServerProxy.java:85)

    at com.cisco.nm.xms.ogs.client.mgmt.OGSRuleExpressionUtil.getServerProxy(OGSRuleExpressionUtil.java:102)

    at com.cisco.nm.xms.ogs.client.mgmt.OGSRuleExpressionUtil.getClassDefUtil(OGSRuleExpressionUtil.java:123)

    at com.cisco.nm.xms.ogs.client.mgmt.OGSRuleExpressionUtil.getInternalClasses(OGSRuleExpressionUtil.java:153)

    at com.cisco.nm.xms.ogs.client.mgmt.OGSRuleExpressionUtil.getClasses(OGSRuleExpressionUtil.java:174)

    at org.apache.jsp.WEB_002dINF.screens.deviceselector.DeviceFilter_jsp._jspService(DeviceFilter_jsp.java:158)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:692)

    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)

    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:506)

    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)

    at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614)

    at com.cisco.nm.uii.taglib.framework.ContentAreaTag.doStartTag(ContentAreaTag.java:76)

    at org.apache.jsp.WEB_002dINF.screens.popup_jsp._jspx_meth_embu_contentarea_0(popup_jsp.java:876)

    at org.apache.jsp.WEB_002dINF.screens.popup_jsp._jspService(popup_jsp.java:693)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:692)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:405)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

    at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)

    at com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)

    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)

    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)

    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)

    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)

    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)

    to org.apache.jk.common.ChannelSocket$ SocketConnection.runIt (ChannelSocket.java:876)

    to org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:684)

    at java.lang.Thread.run(Thread.java:595)

    I checked the file ctm_config.txt in the directory campus and cmapps, removed the files ctmregistry and ctmregistry.backup from/opt/CSCOpx/MDC/tomcat/webapps/campus/WEB-INF/lib, deleted all files and directories below/opt/CSCOpx/MDC/tomcat/work/Standalone/localhost/and restart the services.
    No change...

    What I noticed by looking directly in the database of the CMF is that "CampusOgsGroupCacheTable" is completely empty where the following tables contain data:
    CampusOgsGroupPropertiesTable
    CampusOGSTagTable
    CampusUserGroupAssociationTable

    What could be the reason for this behavior?

    I still thought of the option to export all groups of CMF (or at least groups of campus) and delete all tables of OGS and re-import the groups but when I try to do it I get the following error:

    [email protected] / * /-server #. / perl./OGSCli.sh u admin
    Enter the password for the CiscoWorks:
    Authentication succeeded.
    INFO: Type EXIT to exit from OGSCli guest at any time.
    Enter a task OGSCli [export]: export
    Enter a filename of export groups:./OGSGroupExport.info

    WARN: The details of the group in the selected file will be replaced by new groups of export information. Do you want to continue? (y/n) [n]: y
    Enter a name of group hierarchy defined by the user to export or the full export of all groups defined by the user of all of the applications [all]: all the
    INFO: Hierarchies of groups defined by the user in all the applications that are installed in all servers, will be exported to. / OGSGroupExport.info.
    Authorization succeeded.
    ERROR: Could not export the specified groups, user-defined hierarchies in. / OGSGroupExport.info.
    ERROR: This could be due to one or more of the following reasons:
    ERROR: * OGSServer process may not work
    ERROR: * remote server consolidation or Application may not be accessible
    ERROR: * lack perhaps of free disk space
    ERROR: * you do not have the required file permissions to create the file.
    ERROR: See /var/adm/CSCOpx/log/CMFOGSClient.log for more details.
    [email protected] / * /-server #. / perl./OGSCli.sh u admin d
    Enter the password for the CiscoWorks:
    Authentication failed.
    Check the username and password you entered.
    [email protected] / * /-server #.

    just to be sure, I download the 2 files ctm_config.txt...

    Instead of setting DYNAMIC_PORT_ALLOCATION = 0, replace perms on both ctm_config.txt 0444 files, use the original port and see if UT works.  If so, run in this configuration for some time see if corruption returns.  It should not since casuser won't be able to write to the file.

  • ORA-00947: not enough values error collect in bulk

    Hi guys,.

    I'm trying to COLLECT in a PL/SQL table, but I get ORA-00947: not enough values error message, even if the table has 4 values and select 4 values. Am I missing something?

    I have to add something to this?

    I've included the types of database objects that I created on the database.

    I have commented on the Original code and used the table DOUBLE just to make simple workout.

    /*

    CREATE or REPLACE TYPE Usage_Groups_for_coda_rec as

    object

    (Usage_Group_ID NUMBER (10),)

    Coda_comment VARCHAR2 (45).

    Amount NUMBER,

    Deduction_amount NUMBER);

    CREATE OR REPLACE

    TYPE USAGE_GROUPS_FOR_CODA_TAB AS

    TABLE OF Usage_Groups_for_coda_rec;

    */

    declare

    -CURSOR c_adj_roy_trans

    -EAST

    -SELECT DISTINCT rotr.on_behalf_of_soc_nbr, rotr.right_type

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes;

    CURSOR c_adj_roy_trans

    IS

    SELECT '052', 'P '.

    DOUBLE;

    t_uge_Grp_for_coda_tab USAGE_GROUPS_FOR_CODA_TAB; -the type of table was created on the database

    Start

    FOR r_adj_roy_trans IN c_adj_roy_trans LOOP

    -SELECT rotr.usage_group_id as Usage_Group_ID,

    -cm_coda_account_default.get_canc_adj_coda_comment | '- CAE' as Coda_comment,

    -SUM (NVL (rotr.gross_amt, 0) + NVL (rotr.reciprocal_deduction_amt, 0)) as an amount

    -SUM (rotr.reciprocal_deduction_amt) as Deduction_amount

    -COLLECT LOOSE t_uge_Grp_for_coda_tab

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes

    - AND rotr.on_behalf_of_soc_nbr = r_adj_roy_trans.on_behalf_of_soc_nbr

    - AND rotr.right_type = r_adj_roy_trans.right_type

    -Rotr.usage_group_id group;

    SELECT 6874534 as Usage_Group_ID,

    "This is a test - CAE" as Coda_comment.

    100 as an amount

    50 as Deduction_amount

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    /*

    IF l_uge_Grp_for_coda_tab. COUNT > 0 THEN

    cm002p.std_coda_post_cashing_out_bulk (p_on_behalf_of_society_number = > r_adj_roy_trans.on_behalf_of_soc_nbr,)

    p_right_type = > r_adj_roy_trans.right_type,

    p_Usage_Groups_for_coda_tab = > t_uge_Grp_for_coda_tab,

    p_reverse_posting_direction = > FALSE,

    p_posting_override_direction = > NULL,

    p_cohi_id = > NULL

    );

    END IF;

    */

    END LOOP;

    end;



    Here's what you need to do:


    SELECT Usage_Groups_for_coda_rec(6874534, "It is a test - CAE", 100, 50)

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    You try bulk collect into a collection of Usage_Groups_for_coda_recs, then you will need to make type compatible using the implicit of the type constructor.

Maybe you are looking for