History Manager throws error

I have
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical" horizontalAlign="center"
creationComplete="initApp();"
implements="mx.managers.IHistoryManagerClient">
<mx:states>
<mx:State name="partners"/>
</mx:states>
I also have an accordion on currentState="" as follows:
<mx:Accordion width="100%" height="90%"
id="toppage_accordeon" historyManagementEnabled="true">
I also have loadState ans SaveState as follows:
public function initApp() :void
HistoryManager.register(this);
HistoryManager.register(toppage_accordeon);
addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
initCollections();
* Implementation of saveState() method required by
* the IHistoryManagerClient interface.
public function saveState() :Object
var historyState:Object = new Object();
historyState.currentState = currentState;
return historyState;
* Implementation of loadState() method required by the
* IHistoryManagerClient interface.
public function loadState(historyState:Object) :void
// Temporarily ignore currentStateChange events.
removeEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
if (historyState == null)
{ // TRICKY: Null value indicates that initial state is
required.
currentState = "";
else
currentState = historyState.currentState;
// Listen for currentStateChange events again.
addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
public function handleStateChange(event:StateChangeEvent)
:void
HistoryManager.save();
When I launch and change the accordion state I get an error
as follows:
TypeError: Error #1009: Il est impossible d'accéder
à la propriété ou à la méthode d'une
référence d'objet nul.
at
mx.managers::HistoryManagerImpl/save()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framew ork\src\mx\managers\HistoryManagerImpl.as:555]
at
mx.managers::HistoryManager$/save()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework \src\mx\managers\HistoryManager.as:140]
at
mx.containers::Accordion/commitSelectedIndex()[E:\dev\flex_3_beta2\sdk\frameworks\project s\framework\src\mx\containers\Accordion.as:1775]
at
mx.containers::Accordion/commitProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projects\f ramework\src\mx\containers\Accordion.as:1056]
at
mx.core::UIComponent/validateProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projects\fra mework\src\mx\core\UIComponent.as:5552]
at
mx.managers::LayoutManager/validateProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:517]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta2\sdk\frameworks\pro jects\framework\src\mx\managers\LayoutManager.as:667]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta2\sdk\frameworks\projects\f ramework\src\mx\core\UIComponent.as:8338]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta2\sdk\frameworks\projects\fr amework\src\mx\core\UIComponent.as:8281]
Is this my mistake or an issueon FB 3?
Thx for help.

By the way I aso tried with
<mx:Accordion width="100%" height="90%"
id="toppage_accordeon" historyManagementEnabled="false"> since
implicitly it is enabled. Same result.

Similar Messages

  • 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

  • Throwing error message for a component

    I have a form in which there are several fields. One of field is LOV for which i do some validation on valuechangeListener. If that validation fails, i send error to the form for that particular field. It is working fine. but after this if user submits the form, it is submitted. In case of validation failed by framewrok, it is not submitted. HOw i can set that component in error state so that form is not submitted. I am using following code to throw error or component:
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Invalid value");
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(binding.getClientId(context), msg);
    I am using Jdeveloper 11g with latest patch set of ADF i.e. 11.1.3.x

    Hi,
    actually you are not throwing an error but set a message to display to the user. Can't you just create a validation for the input field. The field has a property for you to define a managed bean validation reference. You can generate the method skeleton from JDeveloper.
    Frank

  • SL500 throws error 1804 (unauth. WAN card), impossible to boot

    Just as a note upfront: I'm aware of similar threads like for example SL300 throws error 1804 (unauth. WAN card), impossible to boot. So here is my posting:
    I get the 1804 error during boot. I can not enter BIOS any longer. Yesterday I could boot one time despite the fatal error message that says it halts the system (and it does normally), I somehow managed to get into the BIOS anyway, changed some settings and the could boot into the OS. Unfortunately today this does not seem possible any longer.
    I tried to remove the WAN card to boot again but one of the two screws is wasted and I can not remove it. The other went out with no problems. So right now, the card is stuck inside and I can not remove it.
    I also tried to disconnect the CMOS backup battery, but this did not help.
    So I need help from someone with actual technical expertise to circumvent that fatal error on boot time. I know that normal IBM/Lenovo support personal can reset the bios, change the serial number etc. So I assume some tools and key-kombinations exist so that I can still boot this laptop.
    As written, yesterday already I could boot that laptop even that error comes all the time. But I don't know how I managed that.
    The only way I can imagine right now is to physically break up the WAN card so that it can removed in parts and the edge with the screw in can stay in while the card is destructed and therefore could be disconnected from the slot. However doing that, there is high risk to destroy more of that computer which I would like to prevent.
    Any help is greatly appreceated. The WAN card was not in use. I have no clue why that problem pops up after years of use of that devide without any changes.

    If you can enter BIOS again, go to Security > I/O Port Access > WWAN and set it to Disabled.
    As for the screw/card, I had the exact same experience with an X61's WLAN card. It's far harder to rip apart the card than it is to drill through the screw head. (I ended up trying to snap the card before drilling, so...)
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • MDIS Unmapped Values ADD is not Working Throws errors

    Hi Experts,
    I have a Qualified table where the Non qualifier is a Lietaral Date field.
    Qualified Update -> Update
    New links -> Create
    Existing Links -> All mapped Fields
    MDIS unmapped values -> ADD
    All is working well,When the Incoming file has exactly the same NOn qualifier as in Data manager,  But when the incoming file has some New non-qualifers then it fails with a value Exception...
    1166657856 2011/09/27 16:29:16.326 GMT Importing: 'Samplee_27sep[1].xml.MDM_DATA' Table --> 'CostCentre.CostCentre' Table.
    1166657856 2011/09/27 16:29:16.341 GMT Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    1166657856 2011/09/27 16:29:16.346 GMT Import failed. Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    Import action: Update (All Mapped Fields)
    Source record no: 1
    But ideally it should NOT fail as the MDIS Unmapped fields are set to ADD..
    I would expect it to Add any new NON qualfiers to QT and add that Link to that Record.
    But it is throwing error...
    Did anyone face this issue till date???
    Kind Regards
    Eva
    Why is this behaviour..

    Hi,
    In the Import map as the Non qualifier is the literal date field and in DM i can see they are stored in MM/DD/YYYY format.
    The incoming value from the File is also the same format but the Config parameters date format in Import map is different, is this the problem for not adding New dates even though the MDIS unmapped fields are set to ADD..
    Also, are Config parameters Specific to Map or Repository Or server!!
    i.e if i change a config parameter and save the map.
    will the config parameters in all import maps be changed automatically??
    Kind Regards
    Eva

  • [Windows] file.url throw error when application executable in root directory

    Here is the bugbase ticked: Bug#3940278 - [Windows] file.url throw error when application executable in root directory
    If you launch AIR application packaged as bundle from root directory and try to get url property of any file you get IllegalOperationError.
    No matter what file url property you try to get.
    It's a big problem when you distribute your application on CD disks or flash drive.
    I'd like to ask everyone affected by this issue to take a minute and vote for the following bug.
    Thanks.

    I checked all deployment descriptions and there are no references to t3://localhost:7001. Few months back, I had the complete clustering setup working on 2 machines and now when I deploy my application on same configuration, it fails with t3://localhost:7001 unreachable error. I created a new cluster configuration on one machine with 2 managed server and it deploys fine. Can not figure out what has changed ?

  • Export command throws error?

    Hi All,
    Greeting to all,
    As i try to extract whole repository by export command,it throws error las below and doesn't export all xml files under repository.Although it exports many of files but not all.
    So,can anyone give some suggestion why it comes and how to solve it?
    java.lang.NullPointerException
    java.lang.NullPointerException
    at com.waveset.session.Exporter.exportObjects(Exporter.java:481)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:177)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:291)
    at com.waveset.session.LocalSession.exportObjects(LocalSession.java:4567)
    at com.waveset.session.WavesetConsole.cmdExport(WavesetConsole.java:1459)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Console.callMethod(Console.java:555)
    at com.waveset.util.Console.doCommand(Console.java:345)
    at com.waveset.util.Console.interactiveConsole(Console.java:239)
    at com.waveset.util.Console.run(Console.java:95)
    at com.waveset.session.WavesetConsole.start(WavesetConsole.java:323)
    at com.waveset.session.WavesetConsole.main(WavesetConsole.java:209)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Command.runMain(Command.java:196)
    at com.waveset.util.Command.launch(Command.java:175)
    at com.waveset.util.Command.main(Command.java:303)
    Thanks,
    Nadeeb

    1. where is my tcsh history file?
    You need to configure tcsh to save history. Something like this in .tcshrc or .login
    set histdup=erase
    set history=500
    set savehist=500
    The file .history will be created by the shell.
    2. How to hinder the grayed out history in my tcsh window at start up?
    I'm guessing that sourcing perlbrew's bashrc is screwing up tcsh when it attempts to read it. The path of least resistance would be to change your shell to bash so you can use perlbrew. If you want to keep tcsh as your interactive shell then source perlbrew's bashrc in the .bashrc in your home directory. Create a bash sub-shell by typing bash in your tcsh shell.

  • Logout throws error 500

    Hi OTN,
    After WebLogic 10.3.3 -> 10.3.4 migration (ADF 11.1.1.3 -> 11.1.1.4) logout link in my application throws error 500 internal server error.
    <af:goLink text="Exit" id="gl1"
                               destination="adfAuthentication?logout=true"
                               shortDesc="Exit from application"/>How could I fix it?
    Thanks.
    Here's a stacktrace:
    Error 500--Internal Server Error
    java.io.CharConversionException: Not an ISO 8859-1 character: В
         at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:99)
         at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:252)
         at oracle.adf.share.security.authentication.AuthenticationServlet.doLogout(AuthenticationServlet.java:244)
         at oracle.adf.share.security.authentication.AuthenticationServlet.processRequest(AuthenticationServlet.java:157)
         at oracle.adf.share.security.authentication.AuthenticationServlet.doGet(AuthenticationServlet.java:122)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:45)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:268)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:471)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    Instead of using af:goLink, can you use af:commandLink for the logout functionality and add the logout code in the action method in the managed bean as specified in the blog post:
    http://blogs.oracle.com/jdevotnharvest/2011/01/how-to_logout_from_adf_security.html
    Thanks,
    Navaneeth

  • History Manager - FFox - Debug Player

    Hi,
    I'm getting a weird security exception. My setup is:
    1 main application
    2 load external module through the moduleloader
    3 use a view state component in the main module to enable the
    history
    management.
    I am getting:
    Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047:
    Security
    sandbox violation: LocalConnection.send: mydomain.com cannot
    access
    http://local.mydomain.com/home.swf.
    Where home.swf is the main module.
    This only happens in Firefox.
    Does somebody ran accross that and got it to work?
    Thanks,
    JG

    I will just reply to myself :-) I figured it out, Flex does
    some weird
    things. I suspected that some class was not included or
    instanced at the
    beginning of the application to handle the history manager.
    The setup I had
    was:
    main app:
    <mx:ModuleLoader url="home.swf" ready="progressBox.visible
    = false"
    id="home" left="0" right="0" bottom="0" top="0"/>
    home module:
    <mx:ViewStack id="views" horizontalCenter="0"
    verticalCenter="0"
    width="100%" height="100%"
    historyManagementEnabled="true">
    </mx:ViewStack>
    That's when I was getting the bug. So, my quick fix is:
    main app:
    <mx:ViewStack height="100%" y="0" width="100%" x="0"
    historyManagementEnabled="true">
    <mx:ModuleLoader url="home.swf"
    ready="progressBox.visible = false"
    id="home" left="0" right="0" bottom="0" top="0"/>
    </mx:ViewStack>
    home module:
    same as before
    and voila :-)
    JG
    "Jose Guevara" <[email protected]>
    wrote in message
    news:eubtog$5l5$[email protected]..
    > Hi,
    >
    > I'm getting a weird security exception. My setup is:
    >
    > 1 main application
    > 2 load external module through the moduleloader
    > 3 use a view state component in the main module to
    enable the history
    > management.
    >
    > I am getting:
    > Error #2044: Unhandled SecurityErrorEvent:. text=Error
    #2047: Security
    > sandbox violation: LocalConnection.send: mydomain.com
    cannot access
    >
    http://local.mydomain.com/home.swf.
    >
    > Where home.swf is the main module.
    >
    > This only happens in Firefox.
    >
    > Does somebody ran accross that and got it to work?
    >
    > Thanks,
    > JG
    >
    >

  • Adobe application manager - download error. please contact customer support

    trying to download cc apps to my laptop (my second computer) - mac os 10.8.3 - safari browser (failed w/ firefox too)
    been having this issue for a couple months... want to clear it up befor the new cc releases
    so I just uninstalled and removed all adobe apps from my computer - including the adobe application manager
    restarted my computer (shut down my desktop) - downloaded the 'new' adobe application manager
    tried to log in and got the following error (same error I have been getting for months)
    adobe application manager - download error. please contact customer support

    I renamed the OOBE folder to OOBE_old
    but I cannot find the opm.db file -
    I do not seem to have a library in my user h2oonstone folder...
    I did search the HD for the opm.db file - says nothing found

  • Problem with history manager on internet explorer

    Hello,
    I'm using the flex's history manager to save a state of my
    application. When I use firefox everything works almost fine, but
    when I use internet explorer nothing works. I tried both 6.0 and
    7.0.
    Do anyone know why does this happen and how can I workaround
    it?

    Hi Konstantin,
    Searching through our bugbase, I found this bug which sounds
    like the issue you're having:
    history management doesn't work when previewing a local file
    in IE:
    http://bugs.adobe.com/jira/browse/FB-443
    This should work fine when using an http url. If not, can you
    please log a bug?
    thanks,
    Sharon

  • 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

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • 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

Maybe you are looking for

  • Text File into a List?

    I have a text file of an English-French dictionary. I want to enter an english phrase into a text box - search through the list(dictionary) - and output the French phrase in a separate text box. I want to search through the dictionary(list) for an en

  • Mini Concern

    Hi, I have been using my mini as a replacement for my xp box for almost a year now, and it is continuing to amaze me day after day. I just, however, encountered an experience which has left me feeling slightly concerned. I rendered some Garageband wo

  • Convert Smartform to Word

    I have a requiremnt to convert a smartform output generated to Word format. Apart from the font sizes, i have a logo generated in smartform which also needs to be converted in that word. Can anyone know about this or have done this requirement then p

  • For Michal Krawczyk - JDBC to IDoc Scenario

    Hi Michal, I am trying to run JDBC to IDoc scenario and somehow my mapping is not getting executed and because of that at receiver side IDoc is not getting LIFNR value which should come from  Database table and as a result i am getting error 51 on po

  • Abap Class for Enterprise Service

    Hi guys. I've published as webservice in SAP ECC as enterprise service get it in Enterprise Service Workplace. I have two questions: 1- How can I know the abap class associated to this enterprise service. 2- Could I extend the functionality of this e