BC Tester throwing error

Hi All,
I am trying to run the ADF BC Tester and it comes up with an error message saying
(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper) JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/jbo/http/HttpSessionCookieFactory)
I have a class oracle/jbo/http/HttpSessionCookieFactory in my FrameWorkExtension project which is using the Model project. These classes in FrameworkExtension project are for user authentication from Steve Meunch blog.
I need to know how I can make the BC tester working again. Please advise.
Thanks

After adding ADF Web Runtime I am getting this error
oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
     at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
     at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
     at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:437)
Caused by: java.lang.NullPointerException
     at vacar.framework.DynamicJDBCSessionCookieFactory.createSessionCookie(DynamicJDBCSessionCookieFactory.java:32)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:556)
     at oracle.adf.model.bc4j.DCJboDataControl.createSessionCookie(DCJboDataControl.java:576)
     at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:428)
     at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:303)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:199)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:123)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:102)
     at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:162)
     at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:128)
     at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
     at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
     at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
## Detail 0 ##
java.lang.NullPointerException
     at vacar.framework.DynamicJDBCSessionCookieFactory.createSessionCookie(DynamicJDBCSessionCookieFactory.java:32)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:556)
     at oracle.adf.model.bc4j.DCJboDataControl.createSessionCookie(DCJboDataControl.java:576)
     at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:428)
     at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:303)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:199)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:123)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:102)
     at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:162)
     at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:128)
     at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
     at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
     at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
The BC Tester stopped as soon as I integrated Steve Muench's Dynamic JDBC functionality to my application.
Thanks

Similar Messages

  • Embed test throwing ORA-00604 and ORA- 12705 errors

    Hi,
    I've setup a JEE application and when tried to make a connection the IDE was throwing errors
    ORA-00604: error occurred at recursive SQL level 1
    ORA- 12705: invalid or unknown NLS parameter value specified
    That I fixed adding two entrances in the jdev.conf file
    AddVMOption -Duser.region=us
    AddVMOption -Duser.language=en
    Now, when I try to run an embed test throws again the same errors
    oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    how can I fix this in a jdev 10.1.3.4?
    Thanks in advance.

    Hi, thanks for the reply.
    First, a question. How do I file a bug with customer support?
    Then, back to the problem.
    I have installed on a Windows Vista system the database. The windows system is set in Spanish and the database is an express edition 10.2.1015
    The JDeveloper's version where I have setup the project is 10.1.3.4.0
    The original value for the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_XE/NLS_LANG entrance was LATIN AMERICAN SPANISH_ECUADOR.WE8MSWIN1252, and now I have changed it to the result from querying from dual AMERICAN_AMERICA.AL32UTF8, with SELECT USERENV('LANGUAGE') FROM DUAL;
    I did this, because so I understood from the [error description|http://ora-12705.ora-code.com/]
    I also looked for a key like ORA_NLSxx in the registry, but not found
    Also checked the ORACLE_HOME and the path does lead me to the oracle installation and there is the nls folder
    But still showing the same error
    Please let me know if more info is needed.
    Thanks in advance.

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Why Webdynpro framework is throwing error in this testcase

    Hi All,
    In my requirement i'm using the WTGXXX(for Discount field) in Webdynpro ABAP.
    If I validate the entries there is a standard check performed by the webdynpro framework when entries other than the numercie fields are given.
    This is a webdypro ALV.
    For Ex:
    when the discount is given as (9-33) it is throwing the error that "The entered value can only contain numerical characters" but it is not throwing any error for (9-(9/22)) or (9-(42)) instead it is calculating the values which is a good feature. But why, (9-33) this case is not handled.
    I tried to keep the value in duegging it is working fine.
    Before any event gets trigerred for the above cases the value is calculated by the framweork by defalut.
    Some times some cases are handled sometimes not.
    I'm unable to get this behavior of the framework.
    For the first time (9-3*3) calcuation is throwing error from the 2nd time onwards this is giving the correct output. When I load the view for the first time and do this check then error is thrown, second time when the other calcuations are done and again do this calcaulation then this error is not shown instaead it is giving me 0 which is the result.
    This case applies to the cases where the expressions result in 0 (defalut values)
    One mroe test case for this is - (9-9).
    Eventhough the user knows the result of these expresions, these are throwing errors.
    How to handle this.
    I tired handling this with own DE/Domanin CURR 15 but for the 1st time this error is theon 2nd time on wards the reuslt is shown correct.
    Isn't a special case.
    When I bound the table again with INITIAL data then again the erorr is thrown for that case.
    ie I have one RESET button where i will bind the table again with the INITIAL table entries then agian the error is thrown for (9-3*3).
    Is there any SAPNOTE applied or Exceptions to this. Please let me know.
    Please replicate the same in Webdynpro Java also and share the reasons.
    Currently I'm doing this by taking the string only to avoid these erorrs in case of Zero.
    Regards,
    Lekha.

    Hi
    Use another forum for Webdynpro questions: Web Dynpro ABAP
    BR, Sergei

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Help, some font work on flash.text.engine throw Error #2161

    I found some font work on flash.text.engine throw Error #2161
    they are: "Vivaldi","Harlow Solid Italic","Bauhaus 93", "Algerian".
    the error info is:
    Error: Error #2161: 设置文本布局时出现内部错误。
    at flash.text.engine::TextBlock/DoCreateTextLine()
    at flash.text.engine::TextBlock/createTextLine()
    at flashx.tcal.compose::ComposeState/createTextLine()[C:\Development\tcal_core\flashx\tcal\c ompose\ComposeState.as:292]
    at flashx.tcal.compose::ComposeState/composeNextLine()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:207]
    at flashx.tcal.compose::BaseCompose/composeParagraphElement()[C:\Development\tcal_core\flash x\tcal\compose\BaseCompose.as:238]
    at flashx.tcal.compose::BaseCompose/composeBlockElement()[C:\Development\tcal_core\flashx\tc al\compose\BaseCompose.as:150]
    at flashx.tcal.compose::BaseCompose/composeInternal()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:213]
    at flashx.tcal.compose::ComposeState/composeInternal()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:120]
    at flashx.tcal.compose::BaseCompose/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:194]
    at flashx.tcal.compose::ComposeState/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:89]
    at flashx.tcal.compose::StandardFlowComposer/http://ns.adobe.com/tcal/internal/2008::callThe Composer()[C:\Development\tcal_core\flashx\tcal\compose\StandardFlowComposer.as:383]
    at flashx.tcal.compose::StandardFlowComposer/compose()[C:\Development\tcal_core\flashx\tcal\ compose\StandardFlowComposer.as:434]
    at flashx.tcal.factory::TextLineFactory$/factoryMeasure()[C:\Development\tcal_core\flashx\tc al\factory\TextLineFactory.as:267]
    at flashx.tcal.factory::TextLineFactory$/createTextLinesFromTextFlow()[C:\Development\tcal_c ore\flashx\tcal\factory\TextLineFactory.as:186]
    at mx.graphics.graphicsClasses::TextFlowComposer/composeTextFlow()[E:\dev\trunk\frameworks\p rojects\flex4\src\mx\graphics\graphicsClasses\TextFlowComposer.as:123]
    at mx.graphics::TextGraphic/compose()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:511]
    at mx.graphics::TextGraphic/measure()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:297]
    at mx.graphics.graphicsClasses::GraphicElement/measureSizes()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2592]
    at mx.graphics.graphicsClasses::GraphicElement/validateSize()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2554]
    at mx.components::Group/validateSize()[E:\dev\trunk\frameworks\projects\flex4\src\mx\compone nts\Group.as:307]
    at mx.managers::LayoutManager/validateClient()[E:\dev\trunk\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:837]
    at mx.controls::List/makeRowsAndColumns()[E:\dev\trunk\frameworks\projects\framework\src\mx\ controls\List.as:1302]
    at mx.controls.listClasses::ListBase/makeAdditionalRows()[E:\dev\trunk\frameworks\projects\f ramework\src\mx\controls\listClasses\ListBase.as:3901]
    at mx.controls.listClasses::ListBase/updateDisplayList()[E:\dev\trunk\frameworks\projects\fr amework\src\mx\controls\listClasses\ListBase.as:3635]
    at mx.controls::List/updateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\c ontrols\List.as:1004]
    at mx.controls.listClasses::ListBase/validateDisplayList()[E:\dev\trunk\frameworks\projects\ framework\src\mx\controls\listClasses\ListBase.as:3273]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:695]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\proje

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>xtaotao,<o:p></o:p></span></p> <br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Can<br />you please file a bug in the bug base at <a href="http://bugs.adobe.com/flex/">http://bugs.adobe.com/flex/</a><br />and include a simple test case (and/or a list of fonts not working for you)<br />showing the behavior. If you file against &#8220;Flex SDK&#8221; and the &#8220;Gumbo:<br />TextArea&#8221; it will end up in my queue and I can investigate and transfer<br />to the appropriate team(s) as needed.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Thanks,<o:p></o:p></span></p>< br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Peter<br />deHaan<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Flex<br />SDK Team | Adobe Systems Inc.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xtaotao<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Tuesday, November 04, 2008 4:07 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Help, some font work on flash.text.engine throw Error #2161<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />xtaotao in <br><br /><br><br /><b>Developers</b> --<br><br />  Help, some font work on flash.text.engine throw Error #2161<br><br /><br><br />and more font work on flash.text.engine do not throw error, but display effect<br />are different with TextField. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b6ee06/0">Help, some font work on<br />flash.text.engine throw Error #2161</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b6ee06!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Starting an array of DAQmx tasks throws error 50103 on start

    Hello,
    I am creating and starting a number of tasks from an enum array which will be subsequently used to read data from devices.  The issue is that the second iteration of the starting loop throws error 50103 (specified resource reserved).
    When I carried out some testing I discovered that the tasks are set up correctly and the error is thrown only on the start task.
    I have attached the section of code for reference. 
    Thanks
    Dave
    Attachments:
    DAQmx taskInit_fastLoop.vi ‏66 KB

    I have to call the start vi more than once as the tasks are contained within an array.  As I understand (but suspect I may be incorrect), that for each case corresponding to the input enum array, the task within that case is started (once) due to the auto indexing of the array.
    This is a subVI which is only called once in the application.  The output from this should be a list of started tasks which I use in subsequent read operations until the program is complete, where the tasks are then cleared down.
    Apologies if I have repeated myself, but I am trying to understand how this works, since what I am seeing does not seem to make any sense to me.
    Dave
    Attachments:
    tasksetup.png ‏103 KB

  • [svn:fx-trunk] 10891: Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants

    Revision: 10891
    Author:   [email protected]
    Date:     2009-10-06 09:46:47 -0700 (Tue, 06 Oct 2009)
    Log Message:
    Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants
    QE notes: None.
    Doc notes: None
    Bugs: SDK-22676
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22676
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java

    Have you tried using com.adobe.air.crypto.EncryptionKeyGenerator instead?

  • [Test(expects="Error")] not functioning as expected

    When testing against implementation code which is expected to throw an exception the test fails even when the expected exception is thrown.
    I broke this test down into a very simple example to help illustrate the issue:
    public class ExpectsExampleTest
        [Test(expects="Error")]
        public function testExpects():void
            throw new Error();
    The above code result in the following error:
    6/11/2009 23:23:39.519 [WARN] FlexUnit4 There was 1 failure:
    6/11/2009 23:23:39.522 [WARN] FlexUnit4 1 tests::ExpectsExampleTest.testExpects Error
    Not sure if I am missing something or not, however the implementation appears to be correct.
    Thanks,
    Eric

    mlabriola wrote:
    Eric,
    there was a bug surrounding this issue. Latest bits in SVN should have it corrected. There was a difference between the docs and code.
    if you get the latest, it will work as is, or, you can change the word expects to expected and it will likely work in yours.
    It the new version it accepts either,
    Mike
    thanks mike, you're right

  • [svn:fx-trunk] 9284: Fix bug: Spark BasicLayout should throw error/ RTE when setting useVirtualLayout

    Revision: 9284
    Author:   [email protected]
    Date:     2009-08-13 15:33:07 -0700 (Thu, 13 Aug 2009)
    Log Message:
    Fix bug: Spark BasicLayout should throw error/RTE when setting useVirtualLayout
    QE notes: None
    Doc notes: None
    Bugs: SDK-22211
    Reviewer: Hans
    Tests run: checkintests, gumbo/core/Group, gumbo/core/DataGroup, gumbo/core/List
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22211
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/layout.properties
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • ADC PHP enabling shell script throws errors

    Hi, guys.
    I recently tried to enable PHP on my MacBook Pro.
    I speak some bash, but no AppleScript.
    On the Apple Developer Center they write you a little script to enable PHP, which failed repeatedly before numerous edits by me. I eventually massaged the script to work, but I want to understand *why* the script didn't work.
    The code they give is as follows (and you can find it here: http://developer.apple.com/mac/articles/internet/phpeasyway.html):
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    # NOTE: Having a writeable database in your home directory can be a security risk!
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed
    "s^[email protected]^\$admin_email^" > $conf_new
    echo "(Re)Starting Apache ..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf;
    /usr/sbin/apachectl restart" with administrator privileges
    EOF
    Here are where this code throws errors for me:
    First:
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    I don't even recognize the shell syntax that this would work in. It's sort of csh like. Is this AppleScript?
    Anyway, OS X bash chokes on this at the first '(' and I changed it to:
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    which works just fine.
    Second:
    chmod a+r $user_index
    I have no idea how his is supposed to work without 'touch $user_index'
    I added:
    touch $user_index
    to the script.
    Third:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    Okay, this actually *works*, but I don't know why it should. In my book, it should choke on the \$2, because the \ is invalid.
    I've left it because it works and if it works it isn't wrong, but I would have written:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG_FILE/ {print $2}' | sed 's/"//g'`
    which I've tested and also works.
    I'd like to know why Apple's first line works.
    Fourth:
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed "s^[email protected]^\$admin_email^" > $conf_new
    The error here is that:
    sed "s^[email protected]^\$admin_email^"
    doesn't replace [email protected] with the contents of $admin_email.
    I don't know what the and are supposed to do, but this just replaces the string '[email protected]' with the string '\$admin_email'
    I replaced this with:
    sed 's^[email protected]^'$admin_email'^'
    This gives me a final script of:
    #!/bin/sh
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print $2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_index
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed 's^[email protected]^'$admin_email'^' > $conf_new
    echo "(Re)Starting Apache..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf; /usr/sbin/apachectl restart" with administrator privileges
    EOF
    which works just fine.
    But I'm still confused - why did ADC have a code snippet that could have never worked? Or am I missing something obvious?
    - Nathan

    Hey, RanjeetJones!
    You're probably right - it's a lot of code to uncomment a line and change the administrator setting.
    And the first time I set up PHP, I just found and edited the config file.
    But the script had me so confounded I went back to troubleshoot it and got all wrapped up in why it ended up that way.
    And this will help the next coder who wants to learn PHP and maybe doesn't speak bash.
    - Nathan

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction id in results:

    Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    Hello All,
    I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues. 
    Any suggestions on the issue i am facing
    error is :
    could not read result repository: unknown transaction id in results:
    or
    could not read result repository: unknown request id in results: 
    Thanks
    Satish

    Hi Kotapati,
    >>Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
    If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
    In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
    If possible, I suggest you could share me simple load test for us so that we will further help you.
    You could upload your load test to OneDrive and then copy link here.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

Maybe you are looking for