One VO used on two pages creating problem.-Nullpointer error

Hello All,
I have extended one VO on one page "ponAwardByQuotePG". I am done with that. But this VO is used on second next page as well.
After pressing one "AWARD" button on 1st page , it goes to 2nd page "ponAwardQuotePG". Both these pages use same VO which i have extended. Whenever I press Save Award GO button on second page, it throws NULLPOINTER exception error attached herewith. I have also attached the flow of steps along with corresponding VO and AM code.
I found following thing in 2nd page's CO even though my VO is extended as "XXEGAAwardByQuoteVOEx" , its showing following in CO:
AwardByQuoteVO awardbyquotevo = (AwardByQuoteVO)awardbyquoteam.findViewObject("AwardByQuoteVO");
Please guide what could be the reason (Contact me at [email protected] so that i can send you some more document as attachment.)
Following is the error stack:
"java.lang.NullPointerException<br /><br /> at oracle.apps.pon.award.creation.webui.AwardQuoteCO.processFormRequest(AwardQuoteCO.java:1710)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)<br /><br /> at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)<br /><br /> at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)<br /><br /> at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)<br /><br /> at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)<br /><br /> at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)<br /><br /> at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2676)<br /><br /> at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1683)<br /><br /> at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)<br /><br /> at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)<br /><br /> at _oa__html._OA._jspService(_OA.java:84)<br /><br /> at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)<br /><br /> at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)<br /><br /> at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)<br /><br /> at oracle.jsp.JspServlet.internalService(JspServlet.java:186)<br /><br /> at oracle.jsp.JspServlet.service(JspServlet.java:156)<br /><br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)<br /><br /> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)<br /><br /> at org.apache.jserv.JServConnection.run(JServConnection.java:294)<br /><br /> at java.lang.Thread.run(Thread.java:619)"

I found following thing in 2nd page's CO even though my VO is extended as "XXEGAAwardByQuoteVOEx" , its showing following in CO:
AwardByQuoteVO awardbyquotevo = (AwardByQuoteVO)awardbyquoteam.findViewObject("AwardByQuoteVO");controller code won't change when you substitute the VO. You will see it only at the runtime.
And to verify the substitution at the run time, select the "About this Page" link and expand the "Business Component References Details".
And to debug the error in the standard controller, you need to decompile the controller file and include it in your project.
This will show you the exact problem from where you can proceed further. You can use jad tool for decompilation.
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Using .mac with pages created by other apps

    Is there a way to publish pages created by other applications to .Mac?
    This may seem like a silly thing, but every year I run an NCAA basketball pool (all legal, of course). I have run this on my web site with my own domain, but would like to make the switch to my .Mac site. The software that I use to run the pool creates web files to upload to your site. With my old site, I would just create a page with a link to the pages, and upload everything. Is there a way to add files to your .Mac web folder somehow? Does this make any sense?

    Sure there is...
    Publish your files to a folder, then copy the whole folder to your iDisk/Sites/ folder. To get your iDisk mounted to your desktop, look under the Go menu of the Finder, then select "iDisk", then select "My iDisk".
    For example....if you publish your b-ball pool site to a folder called "bball". Then copy this folder to Sites folder at the root of your iDisk. You can then, access the web pages at the following Homepages URL:
    http://homepage.mac.com/yourdotmacname/bball/index.html (substitute your .Mac username and the appropriate start page name, of course).
    That's it!
    This is different from your iWeb site, but if you ever design pages in iWeb and publish them, you can simply provide a link on those pages to the above Homepages URL.

  • "Use the purchases page to try again" error while installing mac on a raw harddrive

    down votefavorite
    I want to install mac osx Mavericks on a  seagate internal raw hard . I downloaded "RecoveryDiskAssistant" and install it in a usb drive, before installing I made partition for new harddisk , and I stadted to install it through internet without problem,
    But after 10% it says: ""Use the purchases page to try again"" . and after clicking okey it`s installing bar doesnt go forward(Most comments which I found was about app strore but in this step I have no access to app store) . could you please help me what to do?

    http://www.apple.com/support/mac/app-store/contact/

  • Using the software update created problems

    Ok so I bought Leopard and upgraded from Tiger, then updated using the software update. Now I have a whole bunch of problems. My Apple Works is now missing, the program is just gone. All my Adobe programs now give me the error of Incompatible with current OS or some Your Licensing is not working error. I have a whole load of Adobe programs that should be working, like Contribute CS 3 and Photo Shop and Illustrator and Designer and so on. All of which worked under the 4.11 and the 5.1 OSes but now no longer work. This isn't even touching on the elimination of the Classic environment which i have a lot of programs that will cost way too much money to buy again for the new OS.
    Anybody know how to get back Apple Works and how to get the Adobe products running again?

    First set of problems, I had two software packaged programs go missing. Totally erased from the system. iWeb and Apple Works.
    This would not happen after a software update, unless the directory got damaged somehow*:
    http://www.macmaps.com/directoryfaq.html
    That would give the machine a difficult time trying to find files on the computer.
    Next set of problems my external firewire drive stopped being seen from the system.
    This most commonly happens if a Firewire hard drive does not have the proper firmware to be used with the operating system in question. This is one reason most people recommend dismounting and disconnecting all third party devices before applying updates. This used to be a more common problem with 10.3, but not out of the realm of experience of people with 10.5.
    The next most common cause is the clock battery dying, but not quite dead. Replacing it can fix that problem as well.
    I should say that my system consists of several computers networked together.
    I would have completely disconnected the computers before applying the update.
    I can take my external firewire back up time machine drives and connect them to a PC and see the data. But my macs do not even recognise them, they don't even show up when plugged in.
    This is further evidence the firmware on the hard drive was not yet updated for compatibility with the operating system.
    Third set of problems, all the apple install disks became unreadable by my system.
    This can be commonly caused by a dying optical drive, or bad permissions on the system, or a dying clock battery.
    Fourth set of problems, all the Adobe programs became un-useable and returned errors. Adobe has been working with me on this and have been far more helpful than Apple has been.
    That's a case of corrupt files, or files which were migrated from another system. Migration that is done improperly from a PowerPC to an Intel system may create issues with powerpc plugins on an Intel Mac. If your hard drive got over 85% full and/or the directory was damaged for any reason (especially forced reboots), that can also trigger such a reaction during an update.
    Fifth set of problems just recently discovered, all my stored movies, music and podcast in iTunes is gone.
    This is usually due to a directory issue, but can also be a dying hard drive issue.
    Sounds like you have multiple symptoms pointing towards a few common possible causes. Directory damage, and clock battery malfunctioning, and needing a better firmware on your Firewire hard drive case. Replacing the hard drive case with a compatible one is simple enough. http://www.macsales.com/ makes the right cases. I would not go with LaCie, Western Digital, or Seagate cases. Western Digital and Seagate internal hard drives are fine in of themselves. Replace the MyBook hard drive cases with http://www.macsales.com/ cases and same with the LaCies.
    I have Apple TV and EYE TV and a Midi interface box attached to my G5 mac. My G5 is the one that lost Apple Works and iWeb.
    Remove the Midi interface box. It may help things work better.
    My systems have the super drive on them and I have virtual PC and Softwindows installed.
    Softwindows barely works if at all under Classic, and VirtualPC only works with version 7.0.2 under Leopard. If you got an earlier version working under Leopard you were lucky. You really needed to migrate to a supported emulator under Leopard listed on my FAQ*:
    http://www.macmaps.com/macosxnative.html#WINTEL
    It says you didn't research your options well enough before upgrading to Leopard. This has been well documented in the forums before this.
    Booted up from the Norton disks and repaired disk.
    This is the biggest flaw in your plans, which caused ALL your problems. Norton is not compatible with any version of Mac OS X. It eats directories for breakfast, lunch, and dinner. Only Alsoft Disk Warrior is safe and only after a data recovery attempt with Prosoft Data Rescue II, Subrosasoft Filesalvage, or Boomerang's Boomerang. We have constantly harped on the forums here that Norton is damaging to data. This has been known about since Mac OS X came out. It has even been called "Norton Kevorkian" by some.
    You can't blame Apple for this. Your lack of research and lack of asking in the right places at the right time led to your failures.
    - * Links to my pages may give me compensation.

  • One control used in two ways??

    Hi,
    Is there a possibility to use a Combo control as a text control or vice-versa?
    I need to use one control with two functionalities, one to enter a free text and other to select from combo list at the same time. (In search scenario)
    Thanks & Regards,
    Praveen.

    Hi,
    no, this is not possible as normally there is a combo validation active for the underlying BQ property.
    What you can do is to create 2 controls, one for the combo, one for free text and put them exactly on top of each other., both of them hidden.
    In the onload event and in the place where you are able to decide which should be active you can toggle the property from hidden to normal and vice versa for both controls.
    Of course both controls need to be unbound and mapped to the particular BQ property/properties but this depends from your scenario.
    Regards,
    Wolfhard

  • How to define namespace with one XSD using in two different DB-Locations ?

    I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
    when using one common schema.xsd-definition
    in two different database-locations for exchange xml-documents?
    when insert xml-document I've got an error ORA-30937
    do you have an good exsample ?
    thanks
    Norbert
    schema :
    <xs:schema
    xmlns="http://sourcehost.com/namespace"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:oraxdb="http://xmlns.oracle.com/xdb"
    targetNamespace="http://sourcehost.com/namespace"
    xml-document :
    xmlns="http://Sourcehost.com/namespace"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
    SQL> insert into ADRESSEN values
    (XMLType
    (bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
    , 0 )
    --> error :
    ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"

    Norbert
    The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
    I can use the same URL , for instance
    http://xmlns.example.scom/xsd/myXMLSchema.xsd
    on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
    I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure.

  • Is it possible to have one library used between two users?

    Hello, I am setting up a friend's computer to have a seperate user for him and for his wife. The computer has been in use for about a year with just one user. Adding the second one makes sense for everything they use the computer for--except iPhoto. They have roughly 11,000 images in the library and want to be able to access, edit, export, etc them from whichever user is logged on. They would like it to work so that when one user adds images to the library, the other user has access to them as well. I looked into the sharing photos option, but it seems to restrict you to read only access when viewing shared libraries. Any suggestions on the best option for them? They are using a dual G5 Tower running iPhoto 5.0.4
    Thanks, Alan
    Powerbook 1.25 GHZ    

    Hey,
    saw this in macworld:
    (I haven't tried this, but it does indicate that permissions include read and write)
    Family Album
    My son and I share an iMac at home. Is there a way for us to use the same iPhoto library?—Kiki Mulliner
    With the proper privileges, this can be done with aliases. It works this way:
    Choose the most up-to-date iPhoto Library folder (located at your user folder/Pictures) and move it to the Shared folder inside the Users folder at the root level of the hard drive. Click on the iPhoto Library folder, press Command-I to call up the iPhoto Library Info window, click on the Ownership & Permissions triangle, and then click on the Details triangle below. Select Read & Write from the Access pop-up menu directly beneath the Group pop-up menu, select Read & Write from the Others pop-up menu, and then close the Info window. Hold down the Command and option keys and drag the iPhoto Library folder back to the Pictures folder to create an alias.
    Switch to your son’s user account, change the name of his iPhoto Library to something like iPhoto Library Old (in case you want to use this library again), open the Shared folder within the Users folder, and Command-option-drag that folder’s iPhoto Library folder to your son’s Pictures folder to create an alias.

  • Using of bulk insert create problem

    How to use the bulk insert statement in my jsp and which should be updated into the database.
    I've tried this one:
    bulk insert test from test1.txt with (fieldterminator=':')but it gives an error as:
    u don't have permission to use bulk statement.
    Could any1 get me rid off from this problem.
    in advance thanks.....

    Most likely the person responsible for permissions in your database could help you out there. If you're here looking for a way to execute commands that you aren't authorized to execute, you are wasting your time.

  • One method used in two classes

    Hi
    I have one method in class A and I need to use it (only this method) in class B. what should I do? Should I create subclass within class A with this method, and then use it in class B or create completely different class C with only this method?
    Thanks
    waso

    It's a good idea to use Java conventions about cAsE: especially since boolean and Boolean are different beasts.
    So:
    public class MyExample {
        public boolean example() {
            System.out.println("My example");
            return true;
    }You use it in some other class B like this:
    class B {
        void someMethod() {
            MyExample eg = new MyExample();
            boolean result = eg.example();
            System.out.println("example() returned " + result + " (as expected!)");
    }There's no subclassing ("in" A or elsewhere).
    This is a bit of a contrived example, because example() always returns the same thing. eg is initialised as an instance of MyExample but that class has no state so the method is effectively static. If MyExample had state and the method call did something genuine involving this state, then things would get interesting - and it is precisely then that subclassing, extracting someMethod() into some other class, or inlining it where it was used would make no sense.
    Edited by: pbrockway2 on Jul 12, 2008 9:26 PM

  • After Creating a RecordSet using Wizard, Unable to Create RecordSet Paging - Error Occurs

    I created a record set using the wizard and it tested just fine using the test button.  So my next step was to create the "RecordSet Paging" "Move to First Record", whe I select this I get the error "Before using this Server Behavior, please create a record set"
    The record set is there, it is even checked off in the binding list as being there, yet I can not do anything, I even went in and deleted it and tried again with the same result, this is getting very annoying and is causing me a lot of extra work.
    Is this a BUG!!!
    I have seen this issue several times now.
    Running Version 11.0 build 4993
    Signed
    Frustrated!!!!!

    Hi,
    For questions regarding dynamic site development,  hop over to the following forum.  You'll get better answers there.
    Dreamweaver Application Development Forum
    http://forums.adobe.com/community/dreamweaver/dreamweaver_development?view=discussions
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Failed to download use the purchases page to try again error

    I have tried for almost a day it wont download. I need to some steps to help me fix this problem!

    I just had this same problem. This worked for me:
    http://reviews.cnet.com/8301-13727_7-57530446-263/fix-corrupt-mac-app-store-down loads/

  • Finding association rule (creating problem)

    sir i m working on xquery for finding assocation rule using xquery i complete the conding for how i write xquery for that. but now i found a problem that they give me error that _"Unexpected token "declare function" beyond end of query_" i send me coding part for u plz help me out for how i do.........i m using oxygen xml developer for running the xquery my simple query running proper but we use more than one function in recursive manner they create problem give error Unexpected token "declare function" beyond end of query.
    (: You can activate the content completion by pressing the Ctrl+Space keys. :)
    xquery version "1.0";
    (: Namespace for the <oXygen/> custom functions and variables :)
    declare namespace oxy="http://www.oxygenxml.com/xquery/functions";
    declare namespace global="http://www.oxygenxml.com/xquery/functions";
    (: The URI of the document that is to be queried :)
    declare variable $oxy:document-uri as xs:string := "transaction.xml";
    declare variable $oxy:document-to-query as xs:string := "transaction.xml";
    declare variable $local:document-to-query as xs:string := "transaction.xml";
    declare variable $oxy:document as document-node() := doc($oxy:document-uri);
    let $src := doc("transaction.xml")//items
    let $minsup:=2
    let $total:=count($src)*1.00
    let $c:=distinct-values($src/*)
    let $l:=(for $itemset in $c
    let $items:=(for $item in $src/*
    where $itemset=$item
    return $item)
    let $sup:=(count($items)+1)
    where $sup>=$minsup
    return <largeItemset>
    <items> {$items} </items>
    <support> {$sup} </support>
    </largeItemset>)
    let $L:=$l
    return <largeItemsets>{oxyl:FP-growth($l,$L,$minsup,$total,$src)}
    </largeItemsets>
    _/////that part is fine but we we use next fp-growth function they give same error
    plz sir help me for solving this////*
    declare function oxy:FP-growth(element $l, element $L, element $minsup, element $total, element $src)
    returns element {
    let $f-item:= first item in $L
    let $l-item:= last item in $L
    let $T:=oxy:getl-itemsets($src, $total, $minsup)
    return <items>
    {oxy:join ($l-item, $T)}
    </items>
    let $l:=$l-items
    let $L:=oxy:remove($l)
    for f-item in $L
    where $f-item != $l-item
    return oxy:FP-growth($l, $L, $minsup, $total, $src)
    declare function oxy:getl-itemsets(element $src, element $total, element $minsup)
    returns element {
    let $l:=(for $itemset in $src
    where $itemset=$l-item
    return $itemset)
    let $sup:=(count($l)+1
    where $sup>=$minsup
    return <largeItemset>
    <items> {$item} </items>
    <support> {$sup} </support>
    </largeItemset>
    declare function oxy:join(element $X, element $Y) returns element {
    let $items := (for $item in $Y
    where every $i in $X satisfies
    $i != $item
    return $item)
    return $X union $items
    declare function oxy:removeDuplicate(element $C) returns element
    for $itemset1 in $C
    let $items1 := $itemset1/*
    let $items :=(for $itemset2 in $C
    let $items2 := $itemset2/*
    where $itemset2>>$itemset1 and
    count($items1) =
    count(commonIts($items1, $items2))
    return $items2)
    where count($items) = 0
    return $itemset1
    input file for this xquery is:=
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/css" href="personal-schema.css"?>
    <transactions>
    <transaction id="1">
    <items>
    <title>The Green Mile</title>
    <author>Stephen King</author>
    <item>a</item>
    <item>d</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="2">
    <items>
    <title>The Green Mile</title>
    <author>J. D. Salinger</author>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="3">
    <items>
    <title>The Green Mile</title>
    <author>Issac Asimov</author>
    <item>a</item>
    <item>c</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="4">
    <items>
    <title>The Green Mile</title>
    <author>Isaac Asimov</author>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="5">
    <items>
    <title>The Green Mile</title>
    <author>Oscar Wilde</author>
    <item>a</item>
    <item>b</item>
    </items>
    </transaction>
    </transactions>
    Edited by: 920412 on Mar 12, 2012 11:26 PM
    Edited by: 920412 on Mar 14, 2012 10:57 PM
    Edited by: 920412 on Mar 14, 2012 11:17 PM

    thank u sir my code is running
    but there is one problem the result he regerate is not correct sir
    i send the complete information to u my input file my project code my output file and my actual output that i need ......plz sir chek it where is he logical mistak in code i completely chek lots of time i m not able to find where is the logical mistak plz sir help me
    input file "transactions.xml"
    <?xml version="1.0" standalone="yes"?>
    <transactions>
    <transaction id="1">
    <items>
    <item>a</item>
    <item>d</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="2">
    <items>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="3">
    <items>
    <item>a</item>
    <item>c</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="4">
    <items>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="5">
    <items>
    <item>a</item>
    <item>b</item>
    </items>
    </transaction>
    </transactions>
    coding :=
    xquery version "1.0";
    declare namespace local = "http://www.w3.org/2003/11/xpath-local-functions";
    declare function local:join($X as element()*, $Y as element()*) as element()* {
    let $items := (for $item in $Y
    where every $i in $X satisfies
    $i != $item
    return $item)
    return $X union $items
    declare function local:commonIts($X as element()*, $Y as element()*) as element()* {
    for $item in $X
    where some $i in $Y satisfies $i = $item
    return $item
    declare function local:removeIts($X as element()*, $Y as element()*) as element()* {
    for $item in $X
    where every $i in $Y satisfies $i != $item
    return $item
    declare function local:candidateGen($l as element()*) as element()* {
    for $freqSet1 in $l
    let $items1 := $freqSet1//items/*
    for $freqSet2 in $l
    let $items2 := $freqSet2//items/*
    where $freqSet2 >> $freqSet1 and
    count($items1)+1 = count($items1 union $items2)
    and local:prune(local:join($items1,$items2), $l)
    return
    <items>{local:join($items1,$items2)}</items>
    declare function local:prune($X as element()*, $Y as element()*) as xs:boolean
    every $item in $X satisfies
    some $items in $Y//items satisfies
    count(local:commonIts(local:removeIts($X,$item),$items/*))
    = count($X) - 1
    declare function local:removeDuplicate($C as element()*) as element()*
    for $itemset1 in $C
    let $items1 := $itemset1/*
    let $items :=(for $itemset2 in $C
    let $items2 := $itemset2/*
    where $itemset2>>$itemset1 and
    count($items1) =
    count(local:commonIts($items1, $items2))
    return $items2)
    where count($items) = 0
    return $itemset1
    declare function local:getLargeItemsets($C as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
    for $items in $C
    let $trans := (for $tran in $src
    where every $item1 in $items/* satisfies
    some $item2 in $tran/*
    satisfies $item1 = $item2
    return $tran)
    let $sup := (count($trans) * 1.00) div $total
    where $sup >= $minsup
    return <largeItemset> {$items}
    <support> {$sup} </support>
    </largeItemset>
    declare function local:fp-growth($l as element()*, $L as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
    let $C := local:removeDuplicate(local:candidateGen($l))
    let $l := local:getLargeItemsets($C, $minsup, $total, $src)
    let $L := $l union $L
    return if (empty($l)) then
    $L
    else
    local:fp-growth($l, $L, $minsup, $total, $src)
    let $src := doc("transactions.xml")//items
    let $minsup := 0.5
    let $total := count($src) * 1.00
    let $C := distinct-values($src/*)
    let $l :=(for $itemset in $C
    let $items := (for $item in $src/*
    where $itemset = $item
    return $item)
    let $sup := (count($items) * 1.00) div $total
    where $sup >= $minsup
    return <largeItemset>
    <items> {$itemset} </items>
    <support> {$sup} </support>
    </largeItemset>)
    let $L := $l
    return <largeItemsets> { local:fp-growth($l, $L,$minsup, $total, $src) }
    </largeItemsets>
    output that is get for running the query:=
    <?xml version="1.0" encoding="UTF-8"?>
    <largeItemsets>
    <largeItemset>
    <items>a</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>d</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>b</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>c</items>
    <support>0.6</support>
    </largeItemset>
    </largeItemsets>
    but sir i want my output like that:=
    <?xml version="1.0" standalone="yes"?>
    <largeItemsets>
    <largeItemset>
    <Items>
    <item>a</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>b</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>c</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    <item>b</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>b</item>
    <item>c</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    <item>c</item>
    <item>b</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    </largeItemsets>
    sir i want that out which i shown last help me sir how i sort out this problem
    thank i advance

  • Can 119 phantom asslys at one bom level  create problem in product costing

    I am going through a scenario where there r 119 phantom assemlies at one bom level. Can this create problem in product costing? It has been told to me by somebody that there can not be more than 99 phantom asslys at one level of bom? Is that true? My problem is that when i am doing product costing it is showing error-" too many dummies at bom level". Is this related to no. of phantom asslys at one bom level?

    HI bala,
    all the materials are costing relevent. I thik this problem is releteted with no. of phantom assemlies allowed at one bom level.
    I had 119 phantom assemlies at bom level 3 of a varient material. At that time it gives me abap runtime error during product costing.
    Now I have removed special procurment key 50 from material master of 20 number of phantom asslys. so now there r now 99 phantom assemlies at bom level 3.
    I have taken costing run and its not giving error.
    so i reached to conclusion that statndard limit of no. of phantom assemlies at one bom level can not exeed 99.
    Now customer requires 119 phantom assleys at this level 3 of bom.
    So can u suggest me whether i should contact sap to increase this limit for this perticular case?
    will they solve my problem or there is any other solution to this?
    please reply.
    nitin

  • Illustrator CS3 - Double sided Business Card in two pages PDF

    Hi,
    How do you create a double sided business card in Illustrator CS3 and be able save on one PDF document with two pages? I know how to create a single sided business card (90 mm x 55 mm with 5mm bleed) and save in PDF without any problems. I'm now trying to create a two sided business card in the same illustrator file and be able to save as one PDF but with two pages.
    I searched a bit and tried playing around with page titling but the result just isn’t working out (the size of the business card in the PDF is too small).
    Any help would be really appreciated!

    I downloaded CS5 trail and it resolved my issue. So much more easier to create a two sided business cards and save in PDF.

  • How do I create a pdf from just one or two pages of an existing pdf?

    I just purchased this product (acrobat online)
    and it is not allowing me to do the things it promised, e.g. saving portions of one pdf to another, combining pages or entire docuements to create, even typing into a document (editing)! I am so frustrated - can someone please help!?

    But I jut paid $89.00 for the adobe pack - if I subscribe to Acrobat Plus, will that be credited?
    Date: Thu, 19 Sep 2013 15:50:14 -0700
    From: [email protected]
    To: [email protected]
    Subject: Files.Acrobat.com How do I create a pdf from just one or two pages of an existing pdf?
        Re: How do I create a pdf from just one or two pages of an existing pdf?
        created by H.Spector in Files.Acrobat.com - View the full discussion
    Hi,
    Thank you for your subscription.  If you are Acrobat Plus subscriber then you can extract the pages from the PDF file using Tools> Pages> Extract pages.
    You can find "Tools" at right top once you open your PDF file in Acroat.
    If you are subscriber to PDF Pack then please download Acrobat XI Plus from www.adobe.com.
    PDF Pack service offers "Convert to PDF", "Export from PDF"(to Word/PowerPoint/Excel/RTF formats so that you can edit the exported files) and "Combine Files" (combine your files into a single PDF file).
    Please let me know if you have any quesitons.
    thank you.
    hisami
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5697921#5697921
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5697921#5697921
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5697921#5697921. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Files.Acrobat.com by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Windows (7/8/8.1) moves everything to primary monitor after they are powered off.

    When using multiple monitors Windows moves all open windows and apps to the primary monitor after they have either gone to sleep or been powered off. I have been looking for 2 months now trying to find a solution. My current setup is running Windows

  • XML shows in Flash, but doesn't show on server?

    Hello. I have a Flash website with 5 sections (Featured Work, News, About Me, Services, Contact). All the sections works fine, both in Flash and on the server, if the content isn't loaded from XML. But in the News section i use XML for loading the ne

  • Z-Index inside flex 4???

    Hi iIve been hearing that adobe was planning to add Z index in Flex 4 to arrange the order in which objects are displayed. Is this true? We are developing a massive game like application with thousands of objects, many of which are moving (e.x. units

  • Itunes keeps opening up even though i have not connected it to my phone

    1) Itunes keeps opening up and playing random episodes of a series i bought from itunes stores and even when i force quit it it still opens up 2) when I'm watching an episode on itunes and i move it stops playing and even if i just move slightly it s

  • VPP bought software -- WHOSE appleID to install the software?

    We are setting up a VPP account (or at least attempting to...  The links in the VPP documentation lead to apple pages where VPP appleIDs are prohibited).  And we don't quite get how this works. -- we have set up an email in our domain especially for