Академический Документы
Профессиональный Документы
Культура Документы
start=30&tstart=0
38 Replies Latest reply on Jan 26, 2011 7:29 PM by user12019117 Go to original post 1 2 3
FND_TOP=/u003/apps/applmgr/hrdevlappl/fnd/11.5.0
Yes. I did commit after deleting the document. Also confirmed by running printDocument which resposnded with No document found. I
bounced Apached abd i got an error saying that the Document is not found. Region is NULL XML Path=null. (without Start of Root
element clause).
I imported the file again. Checked with print Document, It listed the document. I bounced the apache. When i checked the function, it
erorred out again with the "Start of root element Not found" clause.
Naresh,
I think your JRAD XML file is corrupt. Please do the following.
- Transfer the xml file back from the server, to your desktop. Open the XML File in JDeveloper Project. See if this works.
Just wanted to cross check that there were no issues with the FTP (bin/txt) etc...!
This is what i am getting when i have copied the file from server and run from JDev.
org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
1 of 6 2/14/2017 7:53 PM
Unable to find component with absolute reference. | Oracle Community https://community.oracle.com/thread/439966?start=30&tstart=0
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:300)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:262)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147)
at oracle.cabo.share.xml.ParserAdapter.parse(Unknown Source)
at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
at oracle.adf.mds.internal.parse.ParserUtils.createNode(ParserUtils.java:283)
at oracle.adf.mds.internal.parse.ParserUtils.createNode(ParserUtils.java:115)
at oracle.adf.mds.adapters.DBAdapter.loadSharedCustomizationData(DBAdapter.java:637)
at oracle.adf.mds.internal.MetadataManagerBase.getCustomizationData(MetadataManagerBase.java:1793)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2123)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
2 of 6 2/14/2017 7:53 PM
Unable to find component with absolute reference. | Oracle Community https://community.oracle.com/thread/439966?start=30&tstart=0
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
I believe that there was some issue during the FTP Transfer to the server. Can you cross check that you are using the text mode for
file transfer.
Action Items:
- Take the proper xml file (that worked in JDev. earlier) and ftp to the server in text mode.
- Test your application after the bounce.
No Luck.
This is the XML FIle. Do you see anything wrong in this file.
3 of 6 2/14/2017 7:53 PM
Unable to find component with absolute reference. | Oracle Community https://community.oracle.com/thread/439966?start=30&tstart=0
amUsageName="NewHireAM" headerDisabled="true">
<ui:contents>
<oa:staticStyledText id="HrInstruction" styleClass="OraInstructionText" textTranslationExpansion="100%"
promptTranslationExpansion="100%" user:akAttributeCode="HR_INSTRUCTION" user:akAttributeApplicationId="800"
messageAppShortName="PER" messageName="HR_INST_CREATE_EMPLOYEE"/>
<oa:flowLayout id="REQUIREDREGION" extends="/oracle/apps/fnd/framework/webui/OAReqFieldDescRG"/>
<oa:defaultSingleColumn akRegionCode="HR_CREATE_EMPLOYEE_SS" regionName="Create Employee Region"
headerDisabled="true" standalone="true" text="Hire Employee" shortDesc="Hire Employee" id="HireEmpRegion"
user:akAttributeCode="HR_NESTED_REGION1" user:akAttributeApplicationId="800">
<ui:contents>
<oa:messageLovInput externalListOfValues="/oracle/apps/per/selfservice/newhire/webui/BusinessGrpLovRN" vAlign="TOP"
required="yes" columns="20" prompt="Business Group" viewName="HireDetailsVO" viewAttr="BusinessGroup"
maximumLength="80" id="HireBusinessGroup" promptTranslationExpansion="100%" user:akAttributeCode="BUSINESS_GROUP"
user:akAttributeApplicationId="800">
<lovMappings>
<lovMap criteriaFrom="HireBusinessGroup" lovItem="LovBusinessGroup"/>
<lovMap resultTo="HireBusinessGroup" lovItem="LovBusinessGroup"/>
<lovMap resultTo="HireBusinessGroupId" lovItem="LovBusinessGroupId"/>
<lovMap resultTo="HireLegislationCode" lovItem="LovLegislationCode"/>
</lovMappings>
</oa:messageLovInput>
<oa:formValue prompt="Business Group Id" viewName="HireDetailsVO" viewAttr="BusinessGroupId" id="HireBusinessGroupId"
promptTranslationExpansion="100%" user:akAttributeCode="HR_BUSINESS_GROUP_ID" user:akAttributeApplicationId="800"/>
<oa:formValue prompt="Legislation Code" viewName="HireDetailsVO" viewAttr="LegislationCode" id="HireLegislationCode"
promptTranslationExpansion="100%" user:akAttributeCode="HR_LEGISLATION_CODE" user:akAttributeApplicationId="800"/>
<oa:messageTextInput vAlign="TOP" required="yes" columns="20" prompt="Last Name" viewName="HireDetailsVO"
viewAttr="LastName" maximumLength="150" id="HireLastName" promptTranslationExpansion="100%"
user:akAttributeCode="HR_LAST_NAMES" user:akAttributeApplicationId="800"/>
<oa:messageTextInput vAlign="TOP" columns="20" prompt="First Name" viewName="HireDetailsVO" viewAttr="FirstName"
maximumLength="150" id="HireFirstName" promptTranslationExpansion="100%" user:akAttributeCode="HR_FIRST_NAMES"
user:akAttributeApplicationId="800"/>
<oa:flex id="HrPersonDevDfFlex" shortDesc="Person Developer DF" viewName="HireDetailsVO" flexName="Person Developer DF"
flexFieldAppShortName="PER" rendered="false"/>
<oa:messageTextInput vAlign="TOP" columns="11" prompt="Date of Birth" dataType="DATE" viewName="HireDetailsVO"
viewAttr="DateOfBirth" maximumLength="11" id="HireDateOfBirth" tipType="dateFormat" promptTranslationExpansion="100%"
user:akAttributeCode="HR_DATE_OF_BIRTH" user:akAttributeApplicationId="800"/>
<oa:messageTextInput vAlign="TOP" viewName="HireDetailsVO" viewAttr="NationalIdentifier" id="HireNationalIdentifier"
promptTranslationExpansion="100%" user:akAttributeCode="HR_NATIONAL_IDENTIFIER" user:akAttributeApplicationId="800"
use="/oracle/apps/per/attributesets/PerAllPeopleF/NationalIdentifier" columns="20"/>
<oa:messageTextInput vAlign="TOP" required="yes" columns="11" prompt="Start Date" dataType="DATE"
viewName="HireDetailsVO" viewAttr="HireDate" maximumLength="11" id="HireHireDate" promptTranslationExpansion="100%"
user:akAttributeCode="HR_HIRE_DATE_SS" user:akAttributeApplicationId="800"/>
</ui:contents>
</oa:defaultSingleColumn>
</ui:contents>
</oa:defaultSingleColumn>
</ui:contents>
<ui:copyright>
<oa:messageStyledText id="ICX_COPYRIGHT" extends="/oracle/apps/fnd/framework/webui/OAFooter.CopyRight"/>
</ui:copyright>
<ui:privacy>
<oa:link id="ICX_PRIVACY" extends="/oracle/apps/fnd/framework/webui/OAFooter.Privacy"/>
</ui:privacy>
</oa:pageLayout>
</content>
</page>
4 of 6 2/14/2017 7:53 PM
Unable to find component with absolute reference. | Oracle Community https://community.oracle.com/thread/439966?start=30&tstart=0
We will not be able to tell that by looking at what you had copied here. There might some special characters appended in your xml
file which will not be visible here. Did you try and open it in vi editor to check if there is any invalid caharcters present in the start of
the file. Were you able to open the file in jdeveloper ?
Naresh,
The fact that
- it works in JDev with the original version.
- it does not work when the xml is transferred to the server and when the file from server is used in JDev.
suggests that there is some issue with the file transfer. Please try to resolve it.
I had the same issue, I resolved it by getting the MDS name used by oracle:
2. Get document id
DECLARE
v_doc_id jdr_paths.path_docid%TYPE;
BEGIN
v_doc_id := jdr_mds_internal.getDocumentID
( '/xxaai/oracle/apps/pa/taskclosures/app/server/webui/RestrictedTaskWarningInfoPG');
dbms_output.put_line(v_doc_id);
END;
DECLARE
v_comp_name varchar2(4000);
BEGIN
v_COMP_name := jdr_mds_internal.getdocumentName
(87549 );
dbms_output.put_line(v_comp_name);
END;
------>
I used the name from #3 in my function call. It must have been slightly different from the name that I got when I used the XML utility
to load the page. In my case the page loaded successufully, but when I set up the "function" definition in Oracle, I got the error each
5 of 6 2/14/2017 7:53 PM
Unable to find component with absolute reference. | Oracle Community https://community.oracle.com/thread/439966?start=30&tstart=0
time I attempted to call the function. Not sure why there was a difference, but hopefully that will help someone else. I copied and
pasted the component name and used that as part of the function setup in Oracle.
1 2 3
Go to original post
Powered by
6 of 6 2/14/2017 7:53 PM