Null Error in Displaying a value through view attribute

I just want to display a value through message styled text bean from view attribute .
For that i use the code in PR:
But it gives null error: Please any one help me.
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject)am.findViewObject("StaffInfoVO1");
if(vo!=null)
OARow row = (OARow)vo.getCurrentRow();
System.out.println("vo is not null");
String str1 = row.getAttribute("FullName").toString();
OAMessageStyledTextBean stext1 = (OAMessageStyledTextBean)webBean.findChildRecursive("RFStaffName");
stext1.setText(str1);
While getattribute("FullName") executed it gives null error. Why?
how to rectify?

Hai,
I can execute the query in toad which returns 1 row of data. It is not null rows.
But my vo object, why it is not executed. Returning null. I dont know.. Too many hours i spent.
VO query:
select distinct papf.person_id,papf.FULL_NAME,
papf.EMPLOYEE_NUMBER,
papf.EMAIL_ADDRESS,
papf.WORK_TELEPHONE,
hla.COUNTRY,
sysdate,
pap.NAME,
haou.NAMe department,
ood.ORGANIZATION_NAME
from
per_all_people_f papf,
per_all_assignments_f paaf,
per_all_positions pap,
per_jobs pj,
per_grades pg,
per_person_types ppt,
hr_all_organization_units haou,
hr_locations_all hla,
org_organization_definitions ood
where
papf.PERSON_TYPE_ID=ppt.PERSON_TYPE_ID and
papf.PERSON_ID=paaf.PERSON_ID and
paaf.POSITION_ID=pap.POSITION_ID and
paaf.JOB_ID=pj.JOB_ID and
paaf.BUSINESS_GROUP_ID=haou.BUSINESS_GROUP_ID and
papf.person_type_id=13 and
haou.business_group_id=202 and
haou.NAME like '%Global%Sales%' and
papf.FULL_NAME like '%Stand%' and
paaf.LOCATION_ID=hla.LOCATION_ID and
paaf.ORGANIZATION_ID=ood.ORGANIZATION_ID and
sysdate between papf.EFFECTIVE_START_DATE and papf.EFFECTIVE_END_DATE and
sysdate between paaf.EFFECTIVE_START_DATE and paaf.EFFECTIVE_END_DATE
Help Me.
Thanks & Regards

Similar Messages

  • Setting null values to view.attributes

    Hi all, I am getting following NPE posting form to server. Below I m writing snippet of code which causes the issue:
    SEVERE: value is null for a not available property: test
    java.lang.NullPointerException: value is null for a not available property: test
         at javax.faces.component._ComponentAttributesMap.put(_ComponentAttributesMap.java:303)
         at javax.el.MapELResolver.setValue(MapELResolver.java:90)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:69)
         at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:180)
         at org.apache.el.parser.AstValue.setValue(AstValue.java:158)
         at org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
         at org.apache.jasper.el.JspValueExpression.setValue(JspValueExpression.java:85)
         at javax.faces.component.UIInput.updateModel(UIInput.java:287)
         at javax.faces.component.UIInput.processUpdates(UIInput.java:214)
         at javax.faces.component.UIForm.processUpdates(UIForm.java:99)
         at org.ajax4jsf.component.AjaxViewRoot$2.invokeContextCallback(AjaxViewRoot.java:424)
         at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:240)
         at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:440)
         at org.apache.myfaces.lifecycle.UpdateModelValuesExecutor.execute(UpdateModelValuesExecutor.java:33)
         at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Unknown Source)My Jsp Page code snippet:
    <t:selectOneMenu value="#{view.attributes['test']}">
         <f:selectItems value="#{myController.listValues}"/>
    </t:selectOneMenu>MyController.java bean property:
    public List<SelectItem> getListValues() {
              listValues.clear();
              SelectItem si = new SelectItem("", "-Select-");
              SelectItem si2 = new SelectItem("1", "1");
              SelectItem si3 = new SelectItem("2", "2");
              listValues.add(si);
              listValues.add(si2);
              listValues.add(si3);
              return listValues;
         }When user selects nothing, I need to set NULL value for this drop down. Kindly suggest if there is any other way or best practice to do the same.I am using Myfaces 1.2.5 for JSF 1.2. This thing was working fine in Myfaces 1.1.5 for JSF 1.1.Any suggestions?

    Give this a try:
    <t:selectOneMenu value="#{view.attributes['test']}">
            <f:selectItem itemLabel="-Select-" />
         <f:selectItems value="#{myController.listValues}"/>
    </t:selectOneMenu>
    public List<SelectItem> getListValues() {
              listValues.clear();
              listValues.add(new SelectItem("1", "1");
              listValues.add(new SelectItem("2", "2");
              return listValues;
         }Note: I cleaned up your getListValue() a bit - most of the changes are cosmetic except for removing you '-Select-' selectItem. Also, why do you use a class level variable if you are generating it on each call? Either generate the list on constructor call (or when needed) and just return it from getListValues(), or simply use a local variable.

  • Page 404 Error when passing Session values through URL

    The current application I'm working on is a 'Targeted Email Communications' application. Bascially, employees at the school at which I'm employed can go in and select services to recieve outage notification emails on.
    The problem I'm discussing in this post has to do with our so called 'Notification Summary Screen.' This screen is basically a report region which displays all outage notifications issued by this application. In the left-most column of this report, I have an edit button that when clicked, redirects the user to the 'Create / Update / Send Screen' with the primary key values passed through the URL. When this happens, all other page items query their values based on the NOTIF_ID passed in through the URL. All of this works fine.
    The problem is, on the Notification Summary Screen, I also have a button labeled 'Create a new notification.' This button redirects the user to the same page as before, except now all of the values are NULL because this outage notification has not yet been created. The problem is, when I try and do this - I get a page 404 not found error. I'm pretty sure it's because my application is getting confused because earlier all of the values were passed in through a URL. For the 'Create New' button, I clear the page cache for this page - and it still does nothing. I am at a loss for what to do here because I keep getting the error.
    Here's the code for the URL button found in the report query in the 'Notification Summary Screen' :
    ('<a href='
              || 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
              || 'P2_NOTIF_ID,P2_NOTIF_SEQ,P2_INFO_TYPE:'
              || a.notif_id ||','|| b.notif_seq || ',' || 'Update'
              || '>'
              || '<img src="#APP_IMAGES#EditButton.gif" />'
              || '</a>') as "edit",** NOTE, I took out the double quotes after href and before the closing right karat brackets because for some reason the code in the URL wouldn't display...weird.... **
    The NOTIF_ID value is the primary key identifier for each outage notification. Additionally, the NOTIF_SEQ value is the sequence number for each (because each notification could have multiple updates). The INFO_TYPE value just references whether this is 'Initial', 'Updated', or 'Closing' information.
    Any suggestions would be much appreciated.
    Eric
    Edited by: user11685190 on Nov 6, 2009 1:12 PM
    Edited by: user11685190 on Nov 6, 2009 1:13 PM
    Edited by: user11685190 on Nov 6, 2009 1:14 PM

    Hey you guys,
    Thanks for your responses. I actually just started working for this academic institution, and have to finish a probationary period before I have access to their VPN (5 Months). Therefore, I cannot access my workspace, nor will they allow me to export my application because it's considered their intellectual property. I believe it may be the &DEBUG portion of it.
    Though I cannot state the exact URL the error states, I can tell you that if I go into application builder to the page in question and try and run it before the page that links to it, I get the error. However, when I use the link everything works fine. When I use the 'Create New' button to link to the page with no values passed, I get the error again. I work again on Monday and will have more information then.
    Thanks again!
    Eric

  • Error while saving a Entry through view cluster ( getting TK 319 message)

    We are  facing an issue while saving the entry in one of the view at the lowest level of the three level View cluster.
    Please find the Details of view Cluster below.
    1)First level- Key  => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) .
    2)Second level-Key =>MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + START_DATE( DATS ,8).
    3)Third level (Lowest level  )-key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + MEAL_RULE_TYPE( INT1 ,3) +  START_DATE( DATS ,8) .
    we are not able to save the Entry at the Third level  and is getting the  Message "Fill table key for table ITC_CALCRULE_ML only up to position 044 only " .
    As per our understanding problem is that " the transport interface is called with a incorrect object key for table ITC_CALCRULE_ML  "  . we thaught of either reduce the width of the key or if we want
    to define also  the date, by  changing the order of MEAL_RULE_TYPE and START_DATE .Also we could use a CHAR1 instead of the INT1 for the MEAL_RULE_TYPE.
    After analyzing  this  we came to a conclusion that we have two solutions for solving it.
    1) Database Design Change : Which is generally not preferable.
    2) Apply the Event  12  ( After changing the key entries for the change task (E071K) ) on the view and in its code we reduce the Object key width for the Transport Organizer  and
        would be able to save the entry in the database  and would be able to transport the entries to our Q-system.

    Hi. Were you able to fix the error?

  • Error in Displaying Default Value calculacted by Service

    Hi Experts,
      In my VC Model i had a Drop down on Week No with Static List of week no from 1-52.
      Which is working fine,User selects the Week No he wants and that week no is sent an a variable to query....
      And my requirment is to display Current Week no as a Default Value of the Week No drop down list.
      I defined a Data service in VC which is  based on Function Module in BI ...which give the current week no.
    When i included the Data Service to model...Its input is connected to Start and output is connected to Store.
    Now i connected out put of service which is connected to Store to In put of variable form and Week no dropdown button in default Value formula i included the week no which is out put of service
    But when i executed the iview its not displaying current week (which is output) of service as a default value
    Please update where i was wrong
    Thanks

    Hi,
      I am using the same FM DATE_GET_WEEK
    Could you please explain me in detail..
    Currently i had a Variable form with that connects to 2 diff queries.
    I had a user entry variable on Cal week/year on those 2 queries.
    My requirment is to create a drop down on week...so the user selects the desired week (from the static list) and that week is concatenated with current year (from now()) and go to variable of query.
    it is working correctly........
    Now for this week drop down the default value should be current week no.
    Please explain on how to do this
    I used service DATE_GET_WEEK .....
    How do you connnect the input and output ports of this service
    Thanks

  • Passing value of View Attribute from standard page to custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters whose value will depend on the dynamic selection by user. So how to get the currently executed value from VO.
    For ex: Vendor Id , contact id and site Id all are to be fetched which are present in three different VOs. When user select particular vendor, contact and site these values will change accordind to selection.
    Here do I need to extend the controller and application module of the standard page or it can be done by passing parameters in destination URI of submit button.
    I tried using parameters in destination URI of submit button as {VO.ViewAttributeName} and printing in custom page but it was printing " {VO.ViewAttributeName}" as it is.
    Please help..
    Thanks in advance.
    Edited by: Kittu on Nov 18, 2010 1:05 PM

    Hi Meher,
    I tried doing it by destination uri but it was not taking the value.
    I tried CO extension with the following code in my extended CO :
    public class ExtendedByrCntDirCO extends ByrCntctDirCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    /* I WANT TO CREATE TEH SUBMIT BUTTON PROGRAMATICALLY */
    OASubmitButtonBean oasb= (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,"BUTTON_SUBMIT");
    oasb.setID("SubmitBtn");
    oasb.setUINodeName("SubmitBtn");
    oasb.setEvent("xxSubmitButton");
    oasb.setText("Submit");
    webBean.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String url = "OA.jsp?page=/oracle/apps/aeap/Vendors/webui/VendorContactsPG";
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject VendorsVO = (OAViewObject)am.findViewObject("VendorsVO1"); // To retrive the attribute of a particular VO
    Number VendorId = (Number)VendorsVO.getCurrentRow().getAttribute("VendorId"); *// But here its showing null pointer exception*
    HashMap params = new HashMap(1);
    params.put("VendorId", VendorId);
    String strEvent= pageContext.getParameter(EVENT_PARAM) ;
    if ( strEvent.equals("xxSubmitButton"))
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    So how can I retrive the value from VO . Is there any another way . Plz help...
    Edited by: Kittu on Nov 19, 2010 12:46 PM

  • DRG-10705: invalid value 149 for attribute TYPE_ID

    When doing a call to the procedure ctx_report.index_stats on one of my index, I get a DRG-1075 and the procedure fails. I don't think it is data related because I can reproduce the error on multiple databases with different datasets. It is specific to the index I am analyzing though, I don't have the error on another domain index. A rebuild did not help.
    There is nothing in metalink or elsewhere about that error, I don't really understand it.
    If someone has a clue, it is welcome
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-10705: invalid value 149 for attribute TYPE_ID
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_REPORT", line 534
    ORA-06512: at line 4
    Regards,
    Pierre

    Thanks a lot for the answer, I have been under pression because of deadlines but I'll focus on this problem next week.
    We have a serious performance issue with a text index on a XMType column (the index is very big one, 14G). The only way to get decent performance is to pin the DR$ I table in memory, but I had a bad surprise : when one do a ctx_ddl.optimize_index with rebuild the index becomes much bigger (from 14G to 18G) and so it does not fit in the keep cache anymore. A rebuild or a drop/create put back the index to the original size. I suspect that some storage options are changed but could not understand which. I'll do a test case and post it on this forum.
    That's why I wanted the ctx_report.analyze_index but it fails (even when the base table is truncated, so you might be right, there could be a leftover from a previous index). I'll set-up a test case with a freshly created database.
    The product manager, Richard Ford, wrote a white paper about putting the index in the keep cache, it makes a very big difference for us. But I think it should be adapted to the Oracle 12c case (with separate offset and BIG_IO for example).
    I'll post the test case asap, thanks already for pointing me to the right direction.
    Pierre

  • "Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008

    I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
    Value cannot be null.
    Parameter name: component (System.Design)
    Program Location:
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
       at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    And in the Design view screen
    "Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'. 
    I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
    environment information is below. 
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Analysis Services Client Tools
    2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
    6.0.6002.18005 (lh_sp2rtm.090410-1830)
    Microsoft MSXML 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 8.0.6001.18943
    Microsoft .NET Framework 2.0.50727.4206
    Operating System 6.0.6002

    I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
    missing directory causes the "Value cannot be null" error.
    My missing file name was:
    C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
    But the file name changes on every startup.
    So my missing directory name was:
    C:\Users\<username>\AppData\Local\Temp\2
    After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
    I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
    Hope this helps other people to solve their issues too.
    Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
    running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea?

  • While running a report through workspace getting "Null" error

    While running a report through workspace i am getting "Null" error.i have checekd the db connection and also access to hfm.
    Thanks

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator

    Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
    involving all list items) are currently prohibited.
    Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
    Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
    Prashanth

    Reorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Error creating index (trailing null missing from STR bind value)

    I'm having the following error:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-50857: oracle error in dreii0fsh
    ORA-01480: trailing null missing from STR bind value
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    ORA-06512: at line 1
    my script is:
    create index IDX_XML on EN_TESTE_XML(TXT_XML_CURRICULO)
    indextype is ctxsys.context;
    My Oracle is 9.0.1
    TXT_XML_CURRICULO -> XMLTYPE then
    the section group is PATH_SECTION_GROUP by default.
    thanks.
    Marlon

    If you get an OCI error when simply updating a record in PL/SQL Developer, it sounds like a PL/SQL Developer issue, although not one I've come across. You might try Allround Automations tech support. They'll need your exact versions of Oracle server, Oracle client and PL/SQL Developer.
    SQL*Plus is part of the Oracle Client software so you should have it somewhere, or you can download it free.

  • BlackBerry Desktop Software displays the error "Caught _com_error exception. Description(): (null): Error(): -2147319779 (0x8002801D). ErrorMessage(): Library not registered.:Source(): (null)." when attempting to synchronize organizer data

    BlackBerry Desktop Software displays the error "Caught _com_error exception. Description(): (null): Error(): -2147319779 (0x8002801D). ErrorMessage(): Library not registered.ource(): (null)." when attempting to synchronize organizer data.Can someone help me with this?  

    Tried clean wipe and reinstall. Immediately after reinstall of DM, in setting up my 9900 "for the first time", I received the following error message...
    "Either there is no default email client or the current mail client cannot fulfill the messaging request. Please open Microsoft Outlook and set it as the default mail client."
    I opened Outlook 2013 and checked that it was the default mail client. It was already.
    After going in and clicking to confirm default email client, I was allowed to proceed to configure organizer sync settings. I configured memo only (one way from device). I then received the same error message that I was receiving (per my original post in the last message). I've previously tried configuring only one type of organizer sync and not one of them completed a successful sync, so it can't be a bad entry in the calendar or contacts. I also tried deleting CICAL entries for all of email addresses other than my primary one. No difference. Also, prior to setup and sync, I confirmed that my 9900 was not on wireless sync.
    I was hoping that this was an old issue and I could use one of the old work-arounds, so if anyone has any ideas for something else to try, please let me know.
    In the mean time, I  have to assume that it's something that's changed with Outlook 2013 (particularly given the new error message I reported above. I hope that someone at RIM is aware of these error messages and is working on a compatibility fix for Office 2013.
    Thanks in advance,
    Sheldon
    Twitter: @sheldonbk
    Twitter: @sheldonbk

  • Error in the display of values

    Hi friends,
    I have a problem in the display of values in my report, It displays ### in some columns. But my table has numerical values in it. But it doesn't display it. Why is it so?
    Help me out.

    We just upgraded to the DASYlab 11 pro, we were using DASYlab 10 basic, but are still getting the same issues.
    Our NI-DAQ is the PCI-6251
    We are using Windows XP
    I attached the sheet, and if it doesn't work, there's also a screen shot to illustrate our set up
    -Ryan
    Attachments:
    RestCIT.DSB ‏173 KB
    REST CIT.JPG ‏175 KB

  • Getting error while selecting LOV value

    Hi all,
    I am getting the below error in R12 apps while selecting the lov value from list (But it is working properly in 11i apps and loacal jdeveloper.)
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The view object ProjectInformationAM.EmployeeLOVVO1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    The lov query is select employee_number,full_name from per_all_people_f
    I have tried both internal and external lov but both cases it is showing the error in R12
    I have used below code in PR of create page, still no use
    if(!am.getEmployeelovVO1().isPreparedForExecution())
    am.getEmployeelovVO1().executeQuery();
    Row row1 = am.getEmployeelovVO1().createRow();
    am.getEmployeelovVO1().insertRow(row1);
    row1.setNewRowState(Row.STATUS_INITIALIZED);
    Except this lov all lov's working properly,
    Any one help on this it is very very urgent....
    Thanks

    Hi,
    I had a similar issue just now, and we fixed it in this way. But the case is probably different compared to your situation.
    Situation:
    - custom inquiry page
    - case: manual search, so not results based or Auto Customization Criteria
    - multiple search criteria fields
    - separate AM for all the LOV fields
    - each LOV has its own VO
    - Results table on same page, but with its own VO
    - each search criteria field has Lov mapping to the corresponding external Lov region
    Issue: when selecting a value via the Lov and coming back into the search page, I received the stale data error.
    searched lots of places and finally figured out what was wrong in my case.
    Each search field had its BC4J properties set to the VO of the results table. And since we wanted to make a manual search thing, this is not good.
    Removing the View Instance value and the View Attribute value in the properties of the search fields resolved the error.
    Hoperfully this can help other beginners, like me, in finding a solution for the same mistakes... :)
    regards
    Ronny

  • Error in displaying Cascading Reports

    Hi,
    I'm using ASP.NET 2.0 page to display reports from Crystal Reports Server XI R2.
    I have trouble when displaying dynamic cascading reports in my web page:
    I got this error message:
    List of Values failure: fail to get values. [Cause of error: initializationEx SDKException:An error occurred at the server :
    Not a valid logon token.]
    The reports are displayed fine in Infoview.
    Actually sometimes the cascading reports work fine in my web, but at most cases the error occurs.
    The following code works fine when the report is not cascading type.
    Code:
    ReportApplicationServer.InfoStoreConnectionHelper helper = new ReportApplicationServer.InfoStoreConnectionHelper();
    using (helper)
           CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument doc = helper.GetClientDocumentByID(id);
           if (doc != null)
          {     doc.DatabaseController.LogonEx(ConfigurationManager.AppSettings["report_servername"], ConfigurationManager.AppSettings["report_dbname"],ConfigurationManager.AppSettings["report_username"],ConfigurationManager.AppSettings["report_password"]);
                 crViewer.ReportSource = doc;
    Variable id contains report id in repository and is passed from previous page and I put that code on Page_Load.
    The following is stack trace:
    [COMException (0x80004005): List of Values failure: fail to get values. [Cause of error: initializationEx SDKException:An error occurred at the server :
    Not a valid logon token.
    CrystalDecisions.ReportAppServer.Prompting.IPromptEngine.processPrompting(IPromptingFeedback feedback) +0
    CrystalDecisions.ReportSource.EromReportSourceBase.DoParameterPrompting(PromptingRequestContext reqContext) +386
    CrystalDecisions.Web.ReportAgentBase.ProcessPrompting(PromptingHTMLFeedback feedback) +80
    CrystalDecisions.Web.CrystalReportViewerBase.OnParameterPrompt() +258
    CrystalDecisions.Web.CrystalReportViewerBase.RaisePostBackEvent(String eventArgument) +39
    CrystalDecisions.Web.CrystalReportViewer.RaisePostBackEvent(String eventArgument) +88
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +172
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4921
    Please help me

    Hi, thanks for your reply.
    Actually my setting for Crystal Report Viewer in Infoview is Advanced DHTML Viewer.
    I've tried to switch between Advanced DHTML viewer and normal DHTML viewer but everything is OK in Infoview.
    I suspect if I need more than just calling LogonEx in my ASP.NET code for this case, but I have no reference.
    Everything is fine for static and dynamic (non cascading) reports in my web.
    Do you have any suggestion for this problem?

Maybe you are looking for

  • Print report with diferent dimensions

    i need print a report that print a page with exatly 6.7x4.0 inches and stop. i make a report in report 6i windows nt and my printer don't have a custom settings. only a4 letter and b5. I have a continous page on printer and i need that the report sto

  • GRE with VRF on MPLS/VPN

    Hi. Backbone network is running MPLS/VPN. I have one VRF (VRF-A) for client VPN network. One requirement is to configure another VRF (VRF-B) for this client for a separate public VRF connection. Sub-interfacing not allowed on CE-to-PE due to access p

  • Password entry is on web site, seperate window opens in FF, not allowing log in

    Password entry block is located on Web site, but Firefox opens another window asking for a password, which the site does not accept the password once entered in Firefox block.

  • WYSIWYG for Eclipse (HTML5/Java development) ?

    Hi Experts, I would like to know if there are some useful WYSIWYG for UI development that could be integrated to Eclipse ? Thank you in advance. Best regards.

  • Table Name for screen layout in FB01 transaction

    Hi frnds,    I am using call transaction method to upload data from flat file to FB01 transaction. But depends on the accounting document types some fields are hidden. So I have to validate the screen active status. Eg : BSEG-WMWST is hidden based on