ViewObject may not have been properly initialized

Hi, sorry I am a newbie... please be patience with me...
I have a custom page to create rec, I have a CreateAM, CreateDetailVO, and also the CreatePG.
Tested and I can create a record.
Now in my CreatePG, I want to make an item to be a poplist.
So I created a popList.Server.SupplierVO
(I select View Row Class:SupplierVORowImpl to Generate Java File and Accessors),
and attached my SupplierVO to the CreateAM.
Make my field Style to "messageChoice",
and Picklist View Definition point to my SupplierVO,
Picklist View Instance = blank,
Picklist Display/value attribute to SupplierCd.
When I run the page, it came up fine, the poplist display values and I can select one,
but when I hit the apply button, it gave me the following error message
*Developer Mode Error: Stale Data
Cause:
The view object CreateAM.SupplierVO1 contained no record. The displayed
records may have been deleted, or the current record for the view object
may not have been properly initialized.
What am I missing? Any advise?
Thanks in advance!

hi SWL
make sure that you intializing VO properly in the processrequest method of you CO
check against this one
OAViewObject vo = (OAViewObject)getEmployeeTab1();(your get method for VO)
if (!vo.isPreparedForExecution())
vo.executeQuery();
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
Regards,
kosal

Similar Messages

  • OAF, View object used with the clausule setWhereClause, show the error  not have been properly initialized.

    Hi to all,
    I'm new with oaf and in mi AM i have to VO that I use to find relative information to the one is shown to the user on a query region, after the user pressed the go buton  the CO request the AM tho load both VO and those information are used to show in a popup region to display and update. the main problem is when the popup region closes it send a submit to the server an the error "View object may not have been properly initialized during Update." is displayed
    The main page and the popup uses the same AM, the initM2mVo() and initTavleVo() are  called by the CO at the processRequest of the main PG, the popup dosen´t have a CO.
    This the AM that uses the main PG and the popup region
    package tasc.oracle.apps.tasc.m2m.imei.server;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class ActualizarImeiAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public ActualizarImeiAMImpl() {
        /*******************************USE FOR CUSTOM CODE****************************/
         * Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
         * @param taskNumber
        public void loadImeiVo(String taskNumber) {
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null) {
                voTableQry.reset();
                voTableQry.setWhereClause(null);
                voTableQry.setWhereClauseParams(null);
                voTableQry.setWhereClause("TASK_NUMBER = :1");
                voTableQry.setWhereClauseParam(0, taskNumber);
                voTableQry.executeQuery();
                if (voTableQry.hasNext()) {
                    voTableQry.next();
                    String idActuacion =
                        (String)voTableQry.getCurrentRow().getAttribute("IdActuacion");
                    String dsM2m =
                        (String)voTableQry.getCurrentRow().getAttribute("DsM2m");
                    String imei =
                        (String)voTableQry.getCurrentRow().getAttribute("Imei");
                    if (idActuacion != null) {
                        OAViewObjectImpl m2mVo = (OAViewObjectImpl)this.getTascTransEqInstM2mVO1();
                        m2mVo.reset();
                        if (!m2mVo.isPreparedForExecution()) {
                            m2mVo.setMaxFetchSize(0);
                            m2mVo.executeQuery();
                        m2mVo.setWhereClause(null);
                        m2mVo.setWhereClauseParams(null);
                        m2mVo.setWhereClause("ID_ACTUACION = :1 AND DS_M2M = :2 AND IMEI = :3 ");
                        m2mVo.setWhereClauseParam(0, idActuacion);
                        m2mVo.setWhereClauseParam(1, dsM2m);
                        m2mVo.setWhereClauseParam(2, imei);
                        m2mVo.executeQuery();
                        if(m2mVo.hasNext()){
                            m2mVo.next();
         * Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca
         * el  IMEI seleccionado.
        public void loadImeiValuesList(String taskNumber) {
            ViewObject viewobject = this.getImeiListVO1();
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null && voTableQry.getCurrentRow() != null) {
                String imeiType =
                    (String)voTableQry.getCurrentRow().getAttribute("Attribute17");
                if (viewobject != null & imeiType != null) {
                    viewobject.setWhereClause(null);
                    viewobject.setWhereClauseParams(null);
                    viewobject.setWhereClause("TASK_NUMBER = :1 AND ATTRIBUTE17 = :2");
                    viewobject.setWhereClauseParam(0, taskNumber);
                    viewobject.setWhereClauseParam(1, imeiType);
                    viewobject.executeQuery();
        /*******************************USE FOR CUSTOM CODE****************************/
        /**Container's getter for TableVO1
        public OAViewObjectImpl getTableVO1() {
            return (OAViewObjectImpl)findViewObject("TableVO1");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) { /* package name */
            /* Configuration Name */launchTester("tasc.oracle.apps.tasc.m2m.imei.server",
                                                 "ActualizarImeiAMLocal");
        /**Container's getter for TascTransEqInstM2mVO1
        public OAViewObjectImpl getTascTransEqInstM2mVO1() {
            return (OAViewObjectImpl)findViewObject("TascTransEqInstM2mVO1");
        /**Container's getter for ImeiListVO1
        public OAViewObjectImpl getImeiListVO1() {
            return (OAViewObjectImpl)findViewObject("ImeiListVO1");
        /**Container's getter for TableQryVO1
        public OAViewObjectImpl getTableQryVO1() {
            return (OAViewObjectImpl)findViewObject("TableQryVO1");
    this is the CO of the main PG
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package tasc.oracle.apps.tasc.m2m.imei.webui;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
    * Controller for ...
    public class ActualizarImeiCO extends OAControllerImpl {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //verifica si la transaccion de creacion esta activa todavia
            if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"ActualizarImeiM2m", false))
                // deshace cambios y finaliza Txn
                am.invokeMethod("rollback");
                TransactionUnitHelper.endTransactionUnit(pageContext, "ActualizarImeiM2m");
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            super.processFormRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //Detección del botón go de la región de query.
            this.queryButonGO(pageContext, webBean, am);
            this.updateImei(pageContext, am);
         * Detección del botón go de la región de query
         * @param pageContext
         * @param webBean
         * @param am
        public void queryButonGO(OAPageContext pageContext, OAWebBean webBean,
                                 OAApplicationModule am) {
            OAQueryBean queryBean =
                (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
            String idGo = queryBean.getGoButtonName();
            if (pageContext.getParameter(idGo) != null) {
                String tareaId = pageContext.getParameter("TaskNumberLovInput");
                //Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
                Serializable[] parameters2 = { tareaId };
                Class[] paramTypes2 = { String.class };
                am.invokeMethod("loadImeiVo", parameters2, paramTypes2);
                //Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca  el  IMEI seleccionado.
                Serializable[] parameters = { tareaId };
                Class[] paramTypes = { String.class };
                am.invokeMethod("loadImeiValuesList", parameters, paramTypes);
        public void updateImei(OAPageContext pageContext, OAApplicationModule am){
            if (pageContext.getParameter("ActualizarImei") != null){
                String imei = pageContext.getParameter("ImeiPopup");
                //TODO......
    thanks to all.

    I thing I got the problem.
    I have the following configuration:
    One Main Page and external RN that is call as popup in main page
    2 VO, queries by java code, one to capture some information that is used to query the 2 VO that I use to update information by the popup.
    One AM that is map only in the Main Page. (Initially I had the external RN mapped to same AM as the main PG, but I remove it).
    The solution was remove the mapping of the AM from the external region and in the messageimput of the external region set the View instance and view Attribute manually in this fields (http://screencast.com/t/uDTALEedCh do not use the wizard ) as the one instanced am the AM, so the problem it seem that was that defining an AM to the external region create a new instance, causing that it can not see the information that I load manually in the VO by query it them.
    for this case there is not need to use the next code, because the Rows are load with information by the query in the java code, this only will have to be made when inserting a new row .
        public void initM2mVo(){
            //get a handle to the View Object that we wish to initialize
            OAViewObject vo = (OAViewObject)this.getTascTransEqInstM2mVO1();
            if (!vo.isPreparedForExecution()) {
                vo.setMaxFetchSize(0);
                vo.executeQuery();
            //Create a blank Row
            Row row = vo.createRow();
            //Attach that blank row to the VO. Data will be fed into this row, when the user types into the fields
            vo.insertRow(row);
            //Set the status of the blank row to initialized. This tells OA Framework that record is blank and must not be included in DML
            //Operations until    changes are made to its underlying VO [via screen fields]
            row.setNewRowState(Row.STATUS_INITIALIZED);

  • Errors in the high-level relational engine. The data source view does not contain a definition for the table or view. The Source property may not have been set.

    Hi All,
    I have a cube in which i'm using the TIME DIM that i created in the warehouse. But now i wanted a new measure in the cube which is Average over time and when i wanted to created the new measure i got a message that no time dim was defined, so i created a
    new time dimension in the SSAS using wizard. But when i tried to process the new time dimension i'm getting the follwoing error message
    "Errors in the high-level relational engine. The data source view does not contain a definition for "SSASTIMEDIM" the table or view. The Source property may not have been set."
    Can anyone please tell me why i cannot create a new measure average over the time using my time dimension? Also what am i doing wrong with the SSASTIMEDIM, that i'm getting the error.
    Thanks

    Hi PMunshi,
    According to your description, you get the above error when processing the time dimension. Right?
    In this scenario, since you have updated the DSV, it should have no problem on the table existence. One possibility is that table has been specified for tracking in the notifications for proactive caching, but isn't available any more for some
    reason. Please change the setting in Proactive Caching into "MOLAP".
    Reference:
    How To Implement Proactive Caching in SQL Server Analysis Services SSAS
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Two previous questions may not have been as clear as I would have liked. I recently upgraded my MacBook 2008 (10.5.8) to Snow Leopard (10.6.8). With the updates came iTunes 11.1.1 and Quicktime 7.6.6. I am still using Garageband 2008 and iPhoto 2008. When

    Two previous questions may not have been as clear as I would have liked. I recently upgraded my MacBook 2008 (10.5.8) to Snow Leopard (10.6.8). With the updates came iTunes 11.1.1 and Quicktime 7.6.6. I am still using Garageband 2008 and iPhoto 2008. When I create music in Garageband I usually adjust the volume and save it. Even now when I share the Garageband created files with iTunes 11.1.1, the volime I previously set in Garageband is retained. However, when I use the music to create a slide show in iPhoto 2008 and export to Quicktime 7.6.6, the volume level I previously set is lost and seems to default to a low level. The problem seems to be either in the slide show export from iPhoto 2008 to Quicktime 7.6.6 or in Quicktime itself. Is there a work around, so that I can retain the volume level I had previously set in Garageband, a volume level that seems to transfer without problem to the new iTunes. But then iPhoto 2008 (slide show) possibly or Quicktime 7.6.6 do not cooperate. Before I did the upgrade to Snow Leopard, the new iTunes and Quicktime I had no problems with the set volume being retained in the old Quicktime. The reason I need control over the volume is that all these music files are uploaded to YouTube.

    Two previous questions may not have been as clear as I would have liked. I recently upgraded my MacBook 2008 (10.5.8) to Snow Leopard (10.6.8). With the updates came iTunes 11.1.1 and Quicktime 7.6.6. I am still using Garageband 2008 and iPhoto 2008. When I create music in Garageband I usually adjust the volume and save it. Even now when I share the Garageband created files with iTunes 11.1.1, the volime I previously set in Garageband is retained. However, when I use the music to create a slide show in iPhoto 2008 and export to Quicktime 7.6.6, the volume level I previously set is lost and seems to default to a low level. The problem seems to be either in the slide show export from iPhoto 2008 to Quicktime 7.6.6 or in Quicktime itself. Is there a work around, so that I can retain the volume level I had previously set in Garageband, a volume level that seems to transfer without problem to the new iTunes. But then iPhoto 2008 (slide show) possibly or Quicktime 7.6.6 do not cooperate. Before I did the upgrade to Snow Leopard, the new iTunes and Quicktime I had no problems with the set volume being retained in the old Quicktime. The reason I need control over the volume is that all these music files are uploaded to YouTube.

  • "This message may not have been delivered to User Name because there was no response from the server." in IM chat

    Hello All, 
    Sometime users are getting below error message on the IM windows when they having P2P IM Chat. 
    "This message may not have been delivered to User Name because there
    was no response from the server."
    I can see below error on the Lync 2013 Monitoring page. 

    Hi,
    Please make sure all required ports have been allowed. You can verify that all ports are open can accepting connections using telnet.
    Telnet from External Client:
    Test to SIP.domain.com 443/SIP
    Test to WebConf.domain.com 443/PSOM
    Test to AV.domain.com 443/STUN
    Telnet from Lync 2013 Edge:
    Telnet to Pool.domain.com 5061/SIP
    Telnet from Lync 2013 Pool:
    Telnet to LyncEdge.domain.com 5061
    Telnet to LyncEdge.domain.com 443
    Telnet to LyncEdge.domain.com 5062
    Telnet to LyncEdge.domain.com 4443
    Telnet to LyncEdge.domain.com 8057
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator.

    Hi,
    I'm not able to access the term store. I get an below mentioned error.
    "The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator. "
    Since this is happening on my local machine (Dev environment). I have full control on the term store and the all the site collections.
    Hence, this is not a permission issue.
    I have checked, the Metadata service is active on the machine. All the application pools in IIS is running.
    After reading one of the recommendation on internet, I created a new Managed Metadata Service.
    After which I was able access both (old and new) MMS from Central Admin only (highlight the MMS from manage service applications and click Manage ) and not from the site collection (term store management).
    Now again its not working after I did an IISRESET.
    The managed metadata service (Managed Metadata Service Connection) is grayed out.
    ULS Error says:
    Failed to create ManageLink for service proxy 'Managed Metadata Service'. Exception: System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout
    value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/7a91ec90b46843e995c144be48d804f0/MetadataWebService.svc' has exceeded the allotted
    timeout of 00:00:09.9990000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out 
    Please let me know if you need more information.

    Hi Victoria,
    Thanks for your reply
    I tried making all the changes you had recommended and which are mentioned in the link you have provided.
    I tried making all possible combination of changes to the web.config and client.config files but it does not make any difference to the environment.
    One thing is that, my error in ULS logs has changed.
    Error 1: 
    Exception returned from back end service. System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted
    to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000. The time
    allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out 
        at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) 
        at System.Net.HttpWebRequest.GetRequestStream() 
        at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()     --- End of inner exception stack trace --- 
        at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() 
        at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) 
        at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     --- End of inner exception stack trace ---    Server stack trace:  
        at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
        at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
        at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:  
        at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 
        at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 
        at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()
    Error 2:
    Error encountered in background cache check System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time
    allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000.
    The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out 
        at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) 
        at System.Net.HttpWebRequest.GetRequestStream() 
        at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()     --- End of inner exception stack trace --- 
        at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() 
        at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) 
        at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     --- End of inner exception stack trace ---    Server stack trace:  
        at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) 
        at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
        at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
        at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:  
        at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 
        at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 
        at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b() 
        at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2a() 
        at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.RunOnChannel(CodeToRun codeToRun, Double operationTimeoutFactor) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.ReadApplicationSettings(Guid rawPartitionId) 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.get_ServiceApplicationSettings() 
        at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.TimeToCheckForUpdates() 
        at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.CheckForChanges() 
        at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.<LoopForChanges>b__0().

  • Powerview Cannot connect to the server due to a security issue. The server may not have been able to match the host for silverlight

    Hello,
    I have a sharepoint 2010 sp1 CU Dec 2011 server with a SQL Server 2012 SP1 CU4 reporting services instance.  I am able to open Power View and use it normally when bypassing the ISA Reverse Proxy server.  However when going thru ISA I receive the
    following Error.
    Power View  Cannot connect to the server due to a security issue.  The server may not have been able to match the host for Silverlight.  This error appears after I click yes on an Internet Explorer Display Mixed Mode prompt.
    I've seen a couple references to this issue but not much.  This one mentions a clientaccesspolicy.xml file but I haven't had any luck with that.  http://connect.microsoft.com/SQLServer/feedback/details/716433/cannot-connect-to-the-server-due-to-a-security-issue-the-server-may-not-have-been-able-to-match-the-host-for-silverlight
    Any Ideas?  Thanks.
    Ryan

    Hi Ryan,
    Based on my research, the issue should occur due to a by design behavior in Threat Management Gateway (TMG). To work around this issue, you can use SSL between the TMG and the SharePoint Web Server.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • FacesMessage(s) have been enqueued, but may not have been displayed.

    I have a page with the following snippet of JSF code.
    <html:message showSummary="true" errorStyle="font-color:#FF0000" for="authorName"/>
    <html:outputLabel styleClass="leftFieldTags" for="authorName">Author Name</html:outputLabel>
    <html:inputText id="authorName" style="text-align:left;margin:4px;font-size:13;width:40em;" value="#{addEditionPage.name}" size="128" />The following code in a bean places a message on the queue. The control field is a string "authorName".
            String msg = messages.getString(key, args);
            FacesContext.getCurrentInstance().addMessage(control,
                    new FacesMessage(severity, msg, ""));My navigation on error points back to the same page.
    When executed I get the following error.
    2007-06-19 13:21:40,015 INFO  [javax.enterprise.resource.webcontainer.jsf.lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
    sourceId=authorName[severity=(ERROR 2), summary=(Too many authors returned), detail=()]What's going on, and why doesn't my message display. The function that adds the message is an Action method.

    807976 wrote:
    Hi.
    I'm experience something similar.
    Did you finally resolve this stuff?.
    ThanksDon't resurrect old threads. Create a new one and provide a complete problem description.

  • This User Profile Application's connection is currently not available. The Application pool or user profile service may not have been started

    Hi, we had installed SharePoint Service Pack 1 (SP1). And now the user profile service application is not available. Getting this
    Error "This User Profile Application’s connection is currently not available. The Application pool or user profile service may not have been started".
    How to troubleshoot the issue anh help/thoughts will be appreciated

    Not sure, if this will help, but in my case all of my services were up and running (including app pools) and also IISRESET did not help. So at that point, looking at the error message, I assumed that there is something wrong with the app pool (or app pool
    credentials) and went to CA --> Application Management --> Manage Service Applications and selected UPSA and under properties just created a new app pool to run under farm account (did not want to take any chances).
    As soon as the new app pool was provisioned, the service came back.
    Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question.

  • Help needed: variables may not have been called

    Here's the program, just compile it, it'll out put that 'loop' and 'c' may not have been called and doesn't compile. here it is....
    class GCDTest {
    public static void main( String [] args ) {
    // Make sure we get exactly two args.
    if ( args.length != 2 ){
    System.out.println( "Usage: java GCDTest int int" );
    return;
    System.out.println("pre call");
    int a = Integer.parseInt( args[0] ); // first arg is a
    int b = Integer.parseInt( args[1] ); // second arg is b
    GCDTest the_object = new GCDTest();
    // print value of iterative method
    System.out.println( "gcdIterative(" + a + "," + b + ")=" +
    the_object.gcdIterative( a, b ) );
    // print oracle's answer
    System.out.println( "gcdRecursive(" + a + "," + b + ")=" +
    the_object.gcdRecursive( a, b ) );
    } //main
    public int gcdIterative( int a, int b ) {
              int c;
              System.out.println("first call 1");
              boolean loop;
              boolean d = true;
              if (b > a) {
                   c = b;
                   b = a;
                   a = c;
              System.out.println("first call 2");
              while (loop) {
                   while (d) {
                        if (a >= (2*b))
                             a = a-b;
                        else d = false;
                   c = b;
                   b = a-b;
                   a = c;
                   if (b == '0');
                        loop = false;
         return c;
    //your while-loop goes here.
    } //gcdIterative
    public int gcdRecursive( int a, int b ) {
    if ( b == 0 ) return a; // base case
    return gcdRecursive( b, a % b ); // recursive case
    } //gcdRecursive
    } //GCDTest

    because you have declared c in you method
    public int gcdIterative( int a, int b ) {
    int c;
    System.out.println("first call 1");
    boolean loop;
    boolean d = true;
    if (b > a) {
    c = b;
    b = a;
    a = c;
    so when u call your variable from another method that is normal that your compiler can't find it.
    The best way, define your variable outside your method or call your method within your loop.
    Hope that help you

  • Error: unsupported format or damaged file/ one of the necessary components may not have been install

    Hi folks,
    Lately I am unable to attach to a Premiere- project any jpg- or avi-file. The error message above shows every time I try.
    There is a hint (via Quicktime) to add Xvid, but that's already installed (with K-Lite Full, latest edition)
    When I replay a avi-file via QT I only hear audio, no video.
    In other players (i.e. GOM) I have no problem.
    Stranger ofcourse is the impossibility to add jpg-pictures to my project.
    What to do?

    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037?tstart=0
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811?tstart=0
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037?tstart=0
    You need to convert to DV AVI type 2 with 16bit 48khz sound... not some other codec "hiding" inside that AVI wrapper

  • In my earlier question, I may not have been clear that when the pointer scans the icon for Firefox there is a box that comes up with "Location: "C:/ etc., V. 3. etc. instead of reflecting V. 4

    Yes, i can rename the title under the icon that is always there on the desktop (which I did) but as the mouse scans the icons a light yellowish colored box pops up near the Firefox icon that starts with "Location: C:/Program Files/Mozilla Firefox 3.1 Beta 3". This is the info that should now reflect V. 4. Is there anyway to change this? This is a strange apparition that sporadically appears and then disappears on its own without any intervention on my part.

    In which folder is Firefox installed?
    *http://kb.mozillazine.org/Installation_directory

  • Variable might not have been initialized, but I can't get around it...

    I'm getting a variable might not have been initialized error, and I know why, but I can't get around it. Basically, this snippet of my code is reading in a map file for a game. The first two lines of the map file are configuration information, and the rest is coordinates for the tiling graphics.
    while ((str = in.readLine()) != null) {
                    if(!read_info){
                        //process first line: tileset image, size, playerpos
                        temp = str.split(",");
                        loadTileset(temp[0],32);
                        size_x = Integer.parseInt(temp[1]);
                        size_y = Integer.parseInt(temp[2]);
                        map = new Tile[size_x][size_y];
                        player.resetLoc(Integer.parseInt(temp[3]),Integer.parseInt(temp[4]));
                        //process second line: impassible
                        str = in.readLine();
                        temp = str.split("!");
                        impassable = new Point[temp.length];
                        for(int m=0;m<temp.length;m++){
                            tmp_coords = temp[m].split(",");
                            impassable[m] = new Point(Integer.parseInt(tmp_coords[0]),Integer.parseInt(tmp_coords[1]));
                        read_info = true;
                    } else{
                        temp = str.split("!");
                        for(int i=0;i<size_x;i++){
                            tmp_coords = temp.split(",");
    boolean ti = true;
    for(int p=0;p<impassable.length;p++){
    map[i][j] = new Tile(Integer.parseInt(tmp_coords[0]),Integer.parseInt(tmp_coords[1]),true);
    j++;
    I'm not including everything.. this should make sense. Impassable is a Point[].
    I can't say how big the Impassable list will be until it reads the second line of the map file. However, that happens in the first run-through of the file-reading processes.
    Is there a try/catch statement I can use to get past this?

    If you set that variable to null you will fix this
    error.
    Object obj;to
    Object obj = null;Beware this may cuase NullPointerExceptions, so you
    should check this variable for being null before you
    try to access it.That's usually the wrong way to approach this. Getting this compiler error is often a sign of a logic error. Only initialize the variable if it makes sense for the variable to have that value. Don't do it just to satisfy the compiler.

  • Variable mois might not have been initialized error help

    String mois;
              switch (month)
                   case 1:
                   mois = "January";
                   break;
                   case 2:
                   mois = "February";
                   break;
    System.out.println (mois);
    after compiling im getting this error.....variable mois might not have been initialized.....I don't know what it is....can somebody help???

    int month = keyboard.nextInt ();
              if (month >= 1 && month <= 12)
              else
                   System.out.println ("Error: invalid month. Must be in the range [1,12]");
    String mois;
              switch (month)
                   case 1:
                   mois = "January";
                   break;
                   case 2:
                   mois = "February";
                   break;
                   case 3:
                   mois = "March";
                   break;
                   case 4:
                   mois = "April";
                   break;
                   case 5:
                   mois = "May";
                   break;
                   case 6:
                   mois = "June";
                   break;
                   case 7:
                   mois = "July";
                   break;
                   case 8:
                   mois = "August";
                   break;
                   case 9:
                   mois = "September";
                   break;
                   case 10:
                   mois = "October";
                   break;
                   case 11:
                   mois = "November";
                   break;
                   case 12:
                   mois = "December";
                   break;
    System.out.println (mois);
    what is wrong with this then??? im getting the initialized error with the output of mois........

  • Variable  might not have been initialized Help!

    Part of a servlet i am working on gets values from a select box off an html page, i am trying to use if else statement so depending what value the select a int variable is assigned a number.
    if ( levelForm.equals("0"))
                     numRental = 3;
                    else if (levelForm.equals("1"))
                        numRental = 1;
                    else if (levelForm.equals("2"))
                        numRental = 2;
                    else if (levelForm.equals("3"))
                        numRental = 3;
            String insert = "INSERT INTO customers(first_name,last_name,email,user_name,password,level, num_rentals) VALUES('" + firstNameForm + "','" + lastNameForm + "','" + emailForm + "','" + userForm + "','" +  passwordForm + "','" + levelForm + "','" + numRental +"')";
                          System.out.println(insert);When i compile i get the an error saying numRental might not have been initialized, can anybody help me solve this?

    Just to expound a bit, you have:
    if ( levelForm.equals("0")) //...
    else if ( levelForm.equals("1")) //...
    else if ( levelForm.equals("2")) //...
    else if ( levelForm.equals("3")) //...What happens if levelForm.equals("4")? or "5", or null? It may be 'impossible' from your point of view, knowing how the value gets set, but the compiler can't know that and needs a default value, such as:
    int numRental=3;
    if ( levelForm.equals("0")) //...
    else if ( levelForm.equals("1")) //...
    else if ( levelForm.equals("2")) //...
    else if ( levelForm.equals("3")) //...Or
    if ( levelForm.equals("1")) numRental = 1;
    else if ( levelForm.equals("2")) numRental = 2;
    else numRental = 3;So the compiler knows that there will be exactly 3 options, and one of them will come true (if all the others fail, the last else will be executed).
    ps One of the best reasons to use .equals with Strings is to prevent null pointer errors. The way you have it is backwards to protect against the null pointer. A safer method when comparing a variable of type string versus a constant string would be to put the constant String first:
    if("1".equals(levelForm)) since you know the constant String can't be null. Just a pointer.
    Message was edited by:
    stevejluke

Maybe you are looking for

  • Huey Pro Calibration Error message- measurement  error

    i need using this huey pro calibration for year. but now i am trying to calibrate my apple cinema display LCD 30 inch it keep saying error message- display measurement error.. and huey support never answer my e-mail. any idea? how can i fix it.. i di

  • IChat video connection issue, not related to router

    I received a brand new 20" iMac Core 2 Duo just yesterday and intended to use iChat AV to video conference with my girlfriend, who has a 12" iBook G4 1.2GHz with an iSight and all system software up-to-date. We both have DSL connections at home. We a

  • 10.2.0.3 cloning installation

    Hello, I am experiencing technical issues with my cloned installation, i wanted at first doing a full complete silent installation using SE.rsp, dbca.rsp and patch.rsp but could not get through at all so many parameters and so many bugs to solve out.

  • ABAP-Interactive forms : Read-Only buttons upon runtime

    Hello, I'm fairly new at this and probably for a good reason I can't find any information pertaining to this issue. Using the embeded Adobe Lifecycle Designer within SAP using transaction SFP, I go to the layout tab and create a button.  On this butt

  • No e-mail notification of BT bill

    I pay my bill quarterly and usually receive an e-mail notifying me that the bill is available to view (I have subscribed to paperless billing). This quarter (ending Oct 2013), the bill has appeared on MyBT, but I did not receive a notification e-mail