Essbase Error(1200329): Error compiling formula for [Asset Description] (li

Hi,
I am having some problem in debugging one error
Detail:Cannot calculate. Essbase Error(1200329): Error compiling formula for [Asset Description] (line 37): invalid assignment
I am just creating a Add asset script as my client does not have license to CapEx module.
Script Below- please let me know what can be an issue
VAR numAsset = [NumAsset];
VAR usFulLife=[UsefulLife];
FIX(@CHILDREN("Total New"), [Scenario], [Version], [Entity], [Department], [AssetClass],[Year],"BegBalance","Local", "HSP_InputValue")
"Asset Description" (
IF (numAsset > 0 AND @MAXS(SKIPMISSING, @CHILDREN("Asset Properties")) == #MISSING )
numAsset = numAsset - 1;
          "Asset Status" = 0; /* flag to know this is a new asset*/
          "Asset ID" = [AssetID];
"Asset Description" = [AssetDesc];
          "CAR No." = [AssetCAR];
          "Purchase Units" = [AssetUnits];
          "Purchase Amount(per unit)" = [AssetRate];
          "In Service Date" = [InserviceDate];
     /*     "Total Cost" = "Purchase Units" *"Purchase Amount(per unit)";*/
IF(usFulLife > 0)
          "Useful Life (in Years)" = usFulLife;
ELSE
               "Useful Life (in Years)" = "No Scenario"->"No Version"->"No Entity"->"No Department"->"No LineItem"->"Useful Life (in Years)";
ENDIF
ENDIF
ENDFIX
FIX([Scenario], [Version], [Entity], [Department], "Local", "HSP_InputValue")
CALC DIM ("TimePeriod");
@IANCESTORS("Line Item 1");
@ANCESTORS([AssetClass]);
ENDFIX
Note- "Asset Description" is a member of Text type and in this script [AssetDesc] is a global variable of StringAsNumber
Regards,
-KP

Thanks for responding but my issue resolved, it was a Space in the member name.
-KP

Similar Messages

  • Error: 1200329 Error compiling formula :Invalid Assisgnment

    Hi All,
    I am getting the following error when I validate a calc script.
    Error: 1200329 Error compiling formula for [2450]
    Code
    FIX(some mebers)
    Var abc;
    Var def;
    "Mbr name"
    IF(Gradde<10)
    "abc"=200*4;
    ELSE
    "def"=500*4;
    ENDIF;
    FIX(Jan:Dec)
    "Mbr name"=("abc"+"def)"/12;
    ENDFIX
    ENDFIX
    Thanks & Regards,
    Sravan Kumar.

    PadmajaV,
    The problem with your approach is that:
    FIX(Jan:Dec)
    "Mbr name"=("abc"+"def)"/12;
    ENDFIX
    Is going to fail because abc and def are variables that only exist within the scope of the member calc block.
    The OP might try:
    FIX(some mebers)
    Var abc;
    Var def;
    "Mbr name"
    IF(Gradde<10)
    "abc"=200*4;
    ELSE
    "def"=500*4;
    ENDIF;
    /* I suspect this test for month isn't necessary, or should be better handled in the overall FIX */
    IF(@ISMBR("Jan":"Dec"))
    "Mbr name"=("abc"+"def)"/12;
    ENDIF
    ENDFIX
    Again, it may be better to not put in that IF @ISMBR at all and just change the first FIX to :
    FIX(some mebers, "Jan":"Dec")
    Regards,
    Cameron Lackpour

  • Error - No GL account selected for Asset account in Business partner master

    Hi Experts,
    Scenario - While adding A/P Invoice for Asset item, the error "Error - No GL account selected for Asset account in Business partner master Message (3518-13)
    Awaiting your replies
    Regards,
    Sid

    Hi,
    You need to map the control account of that vendor(business partner).
    ->Open the respective Business Partner master data
    ->Under accounting tab
    ->Under General tab
    ->Control accounts (will be indicated with ... button),on opening this
    ->You will be prompted to map the control accounts
                                             ^ Down Payment Payables
                                             ^Assets Account
                                             ^Open Debts
    Here you need to map the Asset account which also must be a control account(control account option should be checked in the chart of accounts).
    Pls do check in the test system,understand the behavior of this account by booking ap invoice and payment,then proceed in the live system.
    Hope this is helpful

  • Projects Release  - Error: Enter a Distribution Rule for Asset without val

    Hi Experts ,
    While Releasing Projects , we got error :
    Enter a Distribution Rule for Asset without a Validity limit.
    Message No : KD059.
    Diagnosis:
    The settelement Profile used requires you to define a distribution rule for asset . For period 005 , 2009 , however not created a distribution rule for Asset.
    We gave checked Settelement Profile , still we are not clear what settings is causes for this error ,
    Please throw some light on if some one come across ...
    Regards,
    Sujana

    check out OSS note 115618

  • Error in Posting Periodic Postings for Assets

    Hi
    I have an error in processing periodic posting of Assets. We have three depreciation areas. Depreciation Area 01 calculates the depreciation as per local reporting requirements and updates the GL. We have depreciation area 15 which calculates the depreciation based on tax laws. We have a third depreciation area 71, which is a derived depreciation area and calculates the difference between Depreciation area 01 and 15. I have maintained the formula for the same in Depreciation area 71 and have assigned the GLs also under special reserves in AO90. However, after running the depreciation cycle AFAB, when i run the periodic posting through T Code ASKBN or ASKB, the system is not generating an accounting document. The system is displaying values for all the three depreciation areas in Asset Explorer AW01N. Pls suggest what could be the error.
    Regards
    Sanil Bhandari

    First Use TCode AFABN and Not AFAB.
    Depreciation area 15 doesnot post any where.
    Inorder to post values your 71 dep area, you need posting to this depreiciation area periodically.
    Check how the depreciation is posting into this area. If it is not posting to this area change it to posts periodicaly.
    You also need to assign seperate set of GL accounts for this area in AO90.
    Reward if useful.
    Sarma

  • Error while Creating a formula for field AZNOR (T-Code : OP17)

    Dear Experts,
    i am facing a problem in Transaction OP17 while creating a formula for field AZNOR ( No of indivual capacity in work center) in work center (T-Code : CR02) .
    It shows the error
    The data object "F" has no component called "AZNOR''..
    Please let me know the solution..
    Thanks & Regards
    Birendra Kumar

    Hi,
    I have the same problem.
    Could You tell me witch is the correct origin?
    Thanks a lot!
    Bye
    Laura

  • Tomcat 4.1 Bean error (Unable to compile class for JSP)

    Help,
    I am using Tomcat 4.1 with with JDK1.3.1_01. I have a JSP page in which I try to use a Bean, but I get the following error from Tomcat.
    The JSP page is very simple. I am using package names in the import statement. Code below.
    I've put the class files under
    <TOMCAT>\webapps\projectname\WEB-INF\classes under the appropriate packages. What else is missing? I can not figure out what I am doing wrong.
    ***************** START JSP CODE *********************
    <html>
    <head>
    <title>User Information</title>
    </head>
    <%@ page session="true" %>
    <%@ page import="com.xxx.yyy.data.*" %>
    <body>
    <P> </P>
    <P> </P>
    <P> </P>
    <!--
    <jsp:useBean id="user" class="com.xxx.yyy.data.User" scope="session"/>
    -->
    <%
         User user = (User) session.getAttribute("user");
    %>
    UserID = <%= user.getUserID() %><BR>
    User Name = <%= user.getUserName() %><BR>
    Password = <%= user.getPassword() %><BR>
    Password Hint = <%= user.getPasswordHint() %><BR>
    </body>
    </html>
    ***************** END JSP CODE *********************
    ***************** START TOMCAT ERROR MESSAGE *********************
    org.apache.jasper.JasperException: Unable to compile class for JSP
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:477)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:7: package com.xxx.yyy.data does not exist
    import com.xxx.yyy.data.*;
    ^
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:61: package com.xxx.yyy.data does not exist
    com.xxx.yyy.data.User user = null;
    ^
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:63: package com.xxx.yyy.data does not exist
    user = (com.xxx.yyy.data.User) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
    ^
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:66: package com.xxx.yyy.data does not exist
    user = (com.xxx.yyy.data.User) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.xxx.yyy.data.User");
    ^
    An error occurred at line: 25 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:77: cannot resolve symbol
    symbol : class User
    location: class org.apache.jsp.userInfo_jsp
         User user = (User) session.getAttribute("user");
    ^
    An error occurred at line: 25 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:77: cannot resolve symbol
    symbol : class User
    location: class org.apache.jsp.userInfo_jsp
         User user = (User) session.getAttribute("user");
    ^
    6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    ***************** END TOMCAT ERROR MESSAGE *********************

    Hi
    I am running my Tomcat apps (on a Windows dev machine) in an alternate location (ie. not default webapps). The same crap comes to me every time. Unable to install etc. I have tried every trick in the book regarding classpath settings etc.
    When I use 'javap' to check the classpath from any location on my machine, its works and javap returns the signature of my class.
    When I use it though Tomcat (with the import set to include the filename), it get the error. I have heard rumors that using JDK 1.3 in stead of 1.4 helps, but I just want it to work with 1.4 :)
    So if any of you can help me on this, please.
    PS. On my linux server it works just fine, as does every other thing on that machine ;)
    Chris (chris.schuit <at> euronet.nl)

  • Error ORABPEL-10902 compilation failed, for an almost empty bpel  file

    Thank you for reading my post
    I have a problem with a bpel process in Oracle SOA suite 10.1.3.1 and its compliance jdeveloper (10.1.3.1).
    when i try to compile the appliaction and deploy it to server it returns and error which i include in this message.
    Here is the bpel file
    <process name="Puchase_Request" abstractProcess="no"
             enableInstanceCompensation="no" suppressJoinFailure="no"
             targetNamespace="www.testi.com"
           xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:ns1="http://testi2.com/"
             xmlns:ns2="www.testi.com"
             xmlns:ns3="www.testi.com" >
                  </process>and here is the error message it returns
    Problem is that i get an error like :
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "F:\appplication\bpel\Puchase_Request.bpel", XML parsing failed because "".
    [Potential fix]: n/a.
    Does any one faced such problem?

    Hi
    I too got similar problem
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/C:/JDeveloper/jdev/mywork/CICWorkSpace/CICBPEL/bpel/CICBPEL.wsdl", message part element "{http://xmlns.oracle.com/orchestration}confirmationMessage" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.." [Potential fix]: n/a.
    WSDL
    =====
    <definitions
    name="CICBPEL"
    targetNamespace="http://xmlns.oracle.com/CICBPEL"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC"
    xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg"
    xmlns:client="http://xmlns.oracle.com/CICBPEL"
    >
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org" xmlns:ns1="http://www.globalcompany.com/ns/sales"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://www.1sync.org" schemaLocation="CatalogueItemConfirmationProxy.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/CICBPEL" schemaLocation="CICBPEL.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/orchestration" schemaLocation="CanonicalConfirmationMessageSchema.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC" xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" schemaLocation="selectmsg_table.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC" xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg"
    xmlns:ns2="http://xmlns.oracle.com/orchestration" xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" schemaLocation="message.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/orchestration" schemaLocation="CanonicalConfirmationMessageSchema.xsd"/>
    </xsd:schema>
    </types>
    <message name="CICBPELRequestMessage">
    <part name="payload" element="ns5:M4uDmdMessagesCollection"/>
    </message>
    <message name="CICBPELResponseMessage">
    <part name="payload" element="ns4:envelope"/>
    </message>
    <message name="canonical_CICMessage">
    <part name="payload" element="ns2:confirmationMessage"/>
    </message>
    <portType name="CICBPEL">
    <operation name="initiate">
    <input message="client:CICBPELRequestMessage"/>
    </operation>
    </portType>
    <portType name="CICBPELCallback">
    <operation name="onResult">
    <input message="client:CICBPELResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="CICBPEL">
    <plnk:role name="CICBPELProvider">
    <plnk:portType name="client:CICBPEL"/>
    </plnk:role>
    <plnk:role name="CICBPELRequester">
    <plnk:portType name="client:CICBPELCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    I dont understand the problem

  • Error when creating a bdc for asset master upload

    I am getting a warning message (AA186), when changing the depreciation start date to capitalization date. It says,
    "Different Order Dep. start date in depreciation area 01. Check"
    This error is a problem in creating the BDC for asset master upload. We have only one depreciaton area 01 (book dep).
    Please help.

    This is normal message you get when you try to change depn start date. I think this should not be a problem for BDC posting. This message can always be bypassed.

  • Generated servlet error - unable to compile class for JSP - using NB5.5/SS9

    I am using NB5.5 beta2 and Sun server 9.0 with JSF 1.1 - all is OK when I am creating firts JSF application - welcomeJSF.jsp page is rendered normally - but when I am adding one more jsp with JSP view and so on - then - I am getting errors in both JSF pages - both - in original welcomeJSF and the new invoice.jsp page
    here is code for typical error
    org.apache.jasper.JasperException: Unable to compile class for JSP
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:99: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.jsf_core.ViewTag
    [javac] jspxth_f_view_0.setJspId("id7");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    note The full stack trace of the root cause is available in the Sun Java System Application Server Platform Edition 9.0 logs.
    and there is output for another error:
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
    and here is code of my new invoice.jsp page:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
       <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
          <h1><h:outputText value="Java Server Faces" /></h1>
        <h:inputText value="#{managerBean.currentInvoice.id}"/>
        <h:inputText value="#{managerBean.currentInvoice.description}"/>
        <h:inputText value="#{managerBean.currentInvoice.total}"/>
        <h:commandButton value="new_invoice"
                         type="submit"
                         actionListener="#{managerBean.createNewInvoice}"/> 
        </body>
    </f:view>and faces-config.xml file:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config>
        <managed-bean>
            <managed-bean-name>managerBean</managed-bean-name>
            <managed-bean-class>com.brl.ERPSolution.ui.ManagerBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
    </faces-config>managerBean was intended to be backing beans which will call the facaed beans of EJB 3.0 entity beans - but at presnet - almost empty methods are declared there:
    package com.brl.ERPSolution.ui;
    import javax.faces.event.ActionEvent;
    import com.brl.solutions.EJB3.*;
    * @author Administrator
    public class ManagerBean {
        protected int currentInvoiceId;
        protected Invoices currentInvoice;
        protected InvoicesFacade invoicesFacade;
        /** Creates a new instance of ManagerBean */
        public ManagerBean() {
        /* business methods */
        public void createNewInvoice(ActionEvent actionEvent)
            invoicesFacade.create(this.currentInvoice);
        public Invoices getCurrentInvoice()
            return this.currentInvoice;
        public void setCurrentInvoice(Invoices currentInvoice)
            this.currentInvoice=currentInvoice;
    }I read in one blog (actually - the only page which was returned by yahoo - so - this should be very rare error!!!) to try to use Sun server's verifier.bat - and - it reported 0 errors and 0 warning. Build was succesfull as well and also - deployment was without errors - but - above mentioned error appeared during the automatic compilation of jsp pages/servlet when newly deployed jsps are first accessed from remote browser.
    So - is it possible, please, to receive some advice - what to do further? I feel that my invoice.jsp page can be with errors, - however - the original welcomeJSF.jsp should be working without errors even the erronwous JFS jsp page is added to web application.
    Thans for any adice or hint in advance!!!

    OK - I have made 'clean and build main project' from NB menu and the deployed the resulting *.war and the error messages have disappeared... So - it seems to be bug...

  • Error:Unable to compile class for JSP

    Hi all,
    I am new at jsp,just started to learn a week ago :) Anyway I'm having troubles with using a compiled java class in jsp code.I use tomcat 4.1.31 and java 1.4.2.I have compiled the following programm and put the class into tomcats' webapps\ch06\WEB-INF\classes directory
    public class ch06_01
    public ch06_01()
    public String msg()
    return "Hello from JSP!";
    Then I have the following jsp file in the webapps\ch06 dir as well:
    <%@ page import="ch06_01" %>
    <HTML>
    <HEAD>
    <TITLE>Using a JavaBean</TITLE>
    </HEAD>
    <BODY>
    <H1>Using a JavaBean</H1>
    <% ch06_01 messager = new ch06_01(); %>
    The message is: <%= messager.msg() %>
    </BODY>
    </HTML>
    But when I try to ran the jsp page following error occures:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\ch06\ch06_02_jsp.java:7: '.' expected
    import ch06_01;
    ^
    1 error
    Can anybody help me,please!I appreciate your help a lot!
    Thank you verry much!
    Best regards Daisy

    Its not a Tomcat issue per se, but a change in the J2SE.
    Its been the case since the release of Java 1.4, when they disabled access to the "default" package. Quite a few of the books written before Java1.4 was released are still around, and there are endless examples around the net that no longer work as a result of this change.

  • Error during Material Docuemnt cancellation for Asset

    Hi
    When I am trying to cancell  material receipt for asset using 122 movt type I am encountering the follwoing error
    No conversion Found for LOT to
    Message No. 8I171
    The UOM does not exist
    The UOM conversion does not exist in the material master for the material & UOM entered.
    I  have used a PO with acct assignment category A and Material code for this Asset procurement. LOT is defined in base Units of measurement already. In material master i have nothing entered in the additional data tab for alternate units and I have not used anything else as Ordering unit in purchasing view also. That is to say every where LOT is used. How to solve  this issue.
    Regards

    hi
    goto J1ID and here check the units given for chat id , remove it
    aslo if ur uing TAXINJ process then check the units in EXCISE TAX RATE
    regards
    kunal

  • Error in the SAP query for Assets?

    Hi,
    I am trying to make 2 queries related to the assets but it is not selecting the data may I know why and where I am doing wrong.
    I have joined the tables ANLA, ANLC, ANLP and ANLB.
    Fields that have been selected are as follows:
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Fiscal Year ANLC-GJAHR
    Ordinary depreciation posted in the current year ANLC-NAFAG
    Planned ordinary depreciation for the year ANLC-NAFAP
    Accumulated ordinary depreciation ANLC-KNAFA
    Cumulative acquisition and production costs ANLC-KANSW
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Fiscal Year ANLC-GJAHR
    Ordinary depreciation posted in the current year ANLC-NAFAG
    Planned ordinary depreciation for the year ANLC-NAFAP
    Accumulated ordinary depreciation ANLC-KNAFA
    Cumulative acquisition and production costs ANLC-KANSW
    Transactions for the year affecting asset values ANLP-ANSWL
    Planned ordinary depreciation for the year ANLP-NAFAP
    Ordinary depreciation posted in the current year ANLP-NAFAG
    Ordinary depreciation to be posted ANLP-NAFAZ
    Asset acquisition year (currently not used) ANLP-ZUJHR
    Depreciation calculation period ANLP-PERAF
    Original useful life in years ANLB-NDURJ
    Depreciation key ANLB-AFASL
    Please tell me where SAP query is no working and what shall I do to make it work.
    Thanks and regards
    Nitin

    Thanks !!!!

  • Depreciation Formula for Assets

    Hi All,
    I am in a process of preparing a Depreciation Projection Report. Currently we are having a Standard Depreciation Projection Report.
    My problem is i don't know from where to find the formula for all the Depreciation methods which is used in Fixed Assets Module.
    Kindly Help.
    Thanks
    Aryan

    Hi Chris,
    Thanks for the reply buddy and sorry for replying late. I know that this report is actually a black box, but i hope that this report also or the front end form uses some sort of logic to get the depreciation.
    I hope some user guide or some other report can help me in getting the formula for this Depreciation Projection report.
    Thanks
    Aryan

  • SYntax error while creating a formula for %

    Hi All,
    I have to calculate Growth percentage and creating formula.  But its giving me a syntax error.
    I am writing like this:-
    (Month to Date Sales-MTD PRior Year Sales)/ MTD PRior Year Sales*100 %
    Can anyone please tell me where I am making a mistake.
    Regards

    Syntex for Percentage Deviation (%)
    Plan Sales % Actual Sales (this will give the percentage deviation between Planned Sales and Actual Sales)
    this is identical to formula
    100 * (Planned Sales - Actual Sales) / (Actual Sales)
    please check the space in your foumula
    Dev

Maybe you are looking for

  • Can I get my Sprint 4S to work on Tmobile?

    Ok, here are the facts: iPhone 4S sold by Sprint has both CDMA and GSM capabilities. Sprint will unlock your iPhone for international GSM use, but not for domestic carriers like ATT, Tmobile, or even CDMA Verizon. My iPhone 4S has been unlocked by Sp

  • Remote Desktop Session Host USB Redirection with Windows 8.1

    Hello all, I've currently setup this environment (both OS/Client are fully up to date as of today). I am using one server as the Gateway, Web Access, Connection Broker and RD Session Host with one collection. I am trying to get USB redirection setup

  • Trouble with Adobe Reader 9.3

    Website form will not open for printing.  Using Adobe Reader 9.3.1. When selecting the form to be printed it tries to download but halts at about 50% in the progress bar.  In about 2 minutes a block appears telling me to quit Adobe Reader and try aga

  • "The macros in the project are disabled" displayed after PDF is generated from Word

    Hello, We are using Microsoft Word (2003) and Acrobat  in a Citrix Environment. We ahve a Word Document with several Macros that we want to convert to a PDF while preserving Headings, Table of Contents etc.  We use the Convert to PDF option which suc

  • How to make a search results page

    Hi there, I'm pretty new to coding and I'm currently making a shop website. All products are displayed in tables and clicking each one takes you to their individual product page. What I'm trying to do is create a search which will display all the res