NullReferenceException when using Razor "@" inside of CSS styles

Issue:
Receiving "Object Reference Not set to an instance of an object" when I hit ctrl-v in CSS styles
Steps to Reproduce:
Open Visual Studio Ultimate 2013
Create new ASP.NET Web Application (Create directory for solution)
Choose MVC (Auth is Individual User Accounts)
Open Shared/_Layout.cshtml (I can reproduce the error by following the below steps in any .cshtml file)
DO NOT SAVE FILE CHANGES AT ANY POINT (though I've noticed this makes no difference)
Add <style> </style> just before </head>
Add #foo {color: red;} inside of <style>
CSS syntax highlighting still works at this point
Add razor syntax @ symbol to color: red;
#foo {@color: red}  
CSS syntax highlighting is lost
Add #bar {color: green;}
Highlight #bar {color: green;}
Hit ctrl-c to copy
hit ctrl-v to paste clipboard anywhere BUT inside of <style></style>
Pasting outside of <style> should still work.
Now hit ctrl-v and paste clipboard inside of <style></style>
shoudl receive Error message: Object reference not set to an instance of an object
Undo (ctrl-Z) should no longer work at this point
NOTES:
Copying from outside of visual studio and pasting inside the <style> tag in _Layout.cshtml should nto produce an error
Last thing, it does not matter if I am using the @ symbol in valid CSS (background: @url(...)) or invalid CSS (color: @red)
Trying to escape the @ symbol (background: @@url(...)) mnakes no difference.
Info:
Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1 REL
.NET Framework version 4.5.51650
Windows 8.1 Enterprise v6.3.9600 Build 9600
Nuget Packages installed - only what is installed by default when creating new MVC ASP.NET Web Application

Hi jonathanthomas,
Since this issue is related to the web development,
you could ask this question in the ASP.NET forum:
http://forums.asp.net. If then, you could get
an answer more quickly and professional. Thanks for your cooperation.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Npe when using popup inside adf table column

    hi i have a popup witch is inside adf column table but when i click the button i get this npe error
    <af:column id="c7" headerText="Action">
                  <af:commandButton text="Add" id="cb2">
                    <af:showPopupBehavior popupId="p1" triggerType="click"/>
                  </af:commandButton>
                  <af:panelGroupLayout id="pgl2" inlineStyle="width:1042px;"
                                       layout="horizontal" valign="middle"
                                       halign="right">
                    <af:popup id="p1" contentDelivery="lazyUncached">
                      <af:dialog id="d1" type="cancel">
                        <af:region value="#{bindings.usrtaskflowdefinition1.regionModel}"
                                   id="r1"/>
                      </af:dialog>
                    </af:popup>
                    <af:commandButton text="Cancel" id="cb1" rendered="false"/>
                    <af:commandButton text="Remove" id="cb3" visible="false"/>
                  </af:panelGroupLayout>
                </af:column>
    am geting this NPE ERROR
    <FacesCtrlSearchBinding> <release> ADFv: release():: Release all resources.
    <ADFLogger> <end> ADF web request
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
        at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
        at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
        at com.sun.el.parser.AstValue.getValue(Unknown Source)
        at com.sun.el.parser.AstEqual.getValue(Unknown Source)
        at com.sun.el.parser.AstOr.getValue(Unknown Source)
        at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
        at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1204)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:423)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:810)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:263)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
        at oracle.adf.view.rich.component.fragment.UIXRegion.validateChildrenImpl(UIXRegion.java:634)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1422)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1358)
        at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
        at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
        at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
        at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:407)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
        at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:632)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:597)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1341)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeCriterion.getOperator(FacesCtrlSearchBinding.java:2240)
        at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
        ... 87 more
    <QueryCollection> <finalize> [4342] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4343] ##### QueryCollection.finl oracle.jbo.Key[Surname 0 0 ]
    <QueryCollection> <finalize> [4344] ##### QueryCollection.finl oracle.jbo.Key[Firstname 0 0 ]
    <ControllerState> <finalizeRequest> ADFc: Request number [9] for session [14gycvxp1h_] has been finalized.
    <QueryCollection> <finalize> [4345] ##### QueryCollection.finl oracle.jbo.Key[Username 0 0 ]
    <RootViewPortContextImpl> <unlockViewPortRequestLock> ADFc: Attempting to release RootViewPort request lock on 14gycvxp1h_0
    <QueryCollection> <finalize> [4346] ##### QueryCollection.finl oracle.jbo.Key[Organisationname 0 0 ]
    <QueryCollection> <finalize> [4347] ##### QueryCollection.finl oracle.jbo.Key[Surname 0 0 ]
    <RootViewPortContextImpl> <unlockViewPortRequestLock> ADFc: Successfully released RootViewPort request lock on 14gycvxp1h_0
    <QueryCollection> <finalize> [4348] ##### QueryCollection.finl oracle.jbo.Key[Firstname 0 0 ]
    <QueryCollection> <finalize> [4349] ##### QueryCollection.finl oracle.jbo.Key[Username 0 0 ]
    <Auditor> <isEnabled> IAU:Event Enabled : false, Event Type : CheckPermission, Event Status : true, Properties : null
    <QueryCollection> <finalize> [4350] ##### QueryCollection.finl oracle.jbo.Key[Organisationname 0 0 ]
    <QueryCollection> <finalize> [4351] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4352] ##### QueryCollection.finl no RowFilter
    <Auditor> <isEnabled> IAU:Event Enabled : false, Event Type : CheckPermission, Event Status : true, Properties : null
    <QueryCollection> <finalize> [4353] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4354] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4355] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4356] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4357] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4358] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4359] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4360] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4361] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4362] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4363] ##### QueryCollection.finl no RowFilter
    <QueryCollection> <finalize> [4364] ##### QueryCollection.finl no RowFilter
    <AbstractExecutionContext> <getECForJDBC> adding new ECForJDBC null to set of listeners for this context
    <WatchingDocumentChangeNotifier> <run> decide if checkUsingListeners should run. loopCnt: 0 changeInterval: 60000 originalChangeInterval: 60000 forceCheckForUpdate: false notifier instance: oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier@ca7192
    <WatchingDocumentChangeNotifier> <checkUsingListeners> BEGIN checkUsingListeners for notifier instance: oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier@ca7192
    <WatchingDocumentChangeNotifier> <checkUsingListeners> notifier processing file: C:\Users\10017134\App

    Caused by: java.lang.NullPointerException
        at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:632)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:597)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1341)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeCriterion.getOperator(FacesCtrlSearchBinding.java:2240)
    It seems that problem is caused by af:query or quickquery component(or underlying view object or view criteria).
    Maybe you can drop BTF as static region directly to your page and see if this will run correctly?
    YES i have try stll does not work
    So then this is not related with "npe when using popup inside adf table column"  
    Dario

  • Using Column Value in CSS Style for Column in Report

    I am trying to apply a CSS style (background color) to a column in a report based on another column.
    So for the Column attributes for a specific column, I would like to be able to add this to the 'CSS Style' Field under the group, "Column Formatting":
    background-color:#BKG_COLOR#;
    It doesn't seem to be taking my column value, which is #daf2ea
    In the CSS Style Field, if I change it to: background-color:#daf2ea - then it works.
    So it doesn't seem to take my column value of #BKG_COLOR" in the CSS Style field.
    Any ideas? Do I need to use the 'HTML Expression' field instead, and how would I do that?
    Thanks,
    John

    Hi,
    that's correct, custom report templates will do.
    I find them sometimes quite limited, though. And I always ask myself "how would I do it without APEX", because there's often a lean jQuery solution that affords less coding.
    If you employ a so called "marker class" that depends on your colour value, you could begin like in the previous answer and enter the follwing into HTML Expression:
    &lt;span class="#BKG_CLASS#"&gt;#THE_COLUMN_I_WANT_TO_SHOW#&lt;/span&gt;
    That means you would not query a plain color, but some name that can act as a CSS marker, like
    select THE_COLUMN_I_WANT_TO_SHOW
          , case when THE_COLUMN_I_WANT_TO_SHOW > 100 then 'hotColor' else 'coldColor' end as BKG_CLASS
      from my_tableIn the page's Function and Global Variable Declaration, you'd enter
    function colorMyReport () {
      apex.jQuery('.hotColor').closest('td').css('background-color','#FAA');
    }And under Execute when Page Loads, you enter:
    colorMyReport();There's only one challenge, of course, when the report is paged via AJAX, because the script would only run once (on the first page shown).
    But if this is a solution for you, I'd be pleased to show you how to overcome this. Just let me know.
    Hope there is no typo in my typing, because I have to catch my train now :-)
    Bye!

  • NULLReferenceException when using LINQ query with In clause

    Hi,
    I am not sure where my code is actually breaking. Kindly help as it's a production issue. It's not happening in SIT, but on production.
    NullReferenceException occurring when below method is called:
            internal bool IsFilingPartyWithActiveLAB(string docId)
                IBackEndMediator bckEndMd = null;
                List<DocCasePartyEntity> lstDCPWithLAB = null;
                try
                    if (!string.IsNullOrEmpty(docId))
                        bckEndMd = new BackEndMediatorImpl();
                        List<DocCasePartyEntity> lstDCP = bckEndMd.GetListDocCasePartyByDocId(docId);
                        lstDCPWithLAB = new List<DocCasePartyEntity>();
                        if (lstDCP != null && lstDCP.Count > 0)
                            lstDCPWithLAB = (from dcp in lstDCP
                                             where dcp.FilingInd
    == FilingPartyInd.Y &&
                                             dcp.HasLAC == YesNo.Y
                                             select dcp).ToList();
                        if (lstDCPWithLAB != null && lstDCPWithLAB.Count > 0)
                            foreach (DocCasePartyEntity dcp in lstDCPWithLAB)
                                DocCasePartyLACDetailEntity dcpLACDetailEntity = bckEndMd.GetDocCasePartyLACDetailByDCPId(dcp.DCPID);
                                if (dcpLACDetailEntity != null)
                                    if (dcpLACDetailEntity.LACRefStatus == LACRefStatus.A)
                                        return true;
                catch (Exception ex)
                    log.Error("Exception during IsFilingPartyWithActiveLAB()", ex);
                    throw;
                return false;
    Logged ERROR is:
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Business.TaskListLABService -
    Exception during IsFilingPartyWithActiveLAB()
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
    DEBUG 2015-04-16 10:23:05,296 56 CrimsonLogic.Common.DMS.Utilities.SharePointHelper - :End GetSPFolder(http://URL, IELSFormXMLTemplates)
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage - TaskItemApproval: method-TaskItemApproval.BindWaiverFeeDetails, msg-System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage - TaskListApprovalPageException occured at Page_Load
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.Page_Load(Object sender, EventArgs e)
    ERROR 2015-04-16 10:23:05,296 20 CrimsonLogic.Legal.BootStrapper.BackEnd.ExceptionHandlerModule - Unhandled error occurred -
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ERROR 2015-04-16 10:23:05,296 20 CrimsonLogic.Legal.BootStrapper.BackEnd.BootStrapper - Unknown application error occurred.
    Thanks, SS

    I don't trust compilers.  Had issues over 30 years ago and never use a combined 'if' where one of the items is null.
    if (lstDCP != null)
    if(lstDCP.Count > 0)
    lstDCPWithLAB = (from dcp in lstDCP
    where dcp.FilingInd == FilingPartyInd.Y &&
    dcp.HasLAC == YesNo.Y
    select dcp).ToList();
    jdweng
    That will not happen becuase he is checking for null first then count:
    This is 
    List<string> lst = null;
    if ( lst != null && lst.Count > 0 )
    different than this: this will cause null ref error
    List<string> lst = null;
    if ( lst.Count > 0 && lst != null )
    Fouad Roumieh

  • Why when using WebClient inside a backgroundworker it's still freezing the program untill the download is over ?

    In form1 constructor:
    fileDownloadRadar();backgroundWorker2.RunWorkerAsync();
    First i'm downloading one image from another source using WebClient in form1:
    private void fileDownloadRadar()
    if (Client.IsBusy == true)
    Client.CancelAsync();
    else
    Client.DownloadFileAsync(myUri, combinedTemp);
    Then in the DoWork event:
    private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e)
    SatelliteImages.ExtractCountires();
    this.BeginInvoke(new MethodInvoker(delegate
    for (int i = 0; i < SatelliteImages.countriescodes.Count; i++)
    comboBox1.Items.Add(SatelliteImages.countriescodes[i]);
    for (int i = 0; i < SatelliteImages.countriesnames.Count; i++)
    comboBox2.Items.Add(SatelliteImages.countriesnames[i]);
    comboBox1.Text = "is";
    comboBox2.Text = "Europe";
    SatelliteImages.ExtractDateTime(comboBox1.Text, true, combinedsatelliteimagesdir);
    This is the SatelliteImages class:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Web;
    using System.Globalization;
    using System.IO;
    using System.Net;
    using System.Text.RegularExpressions;
    namespace mws
    public partial class SatelliteImages : Form
    static WebClient client;
    List<string> imagesUrls = new List<string>();
    static string htmltoextract;
    static string link;
    static string text;
    public static List<string> countriescodes = new List<string>();
    public static List<string> countriesnames = new List<string>();
    public SatelliteImages()
    InitializeComponent();
    public static void ExtractCountires()
    htmltoextract = "http://sat24.com/en/?ir=true";//"http://sat24.com/en/";// + regions;
    client = new WebClient();
    client.DownloadFile(htmltoextract, @"c:\temp\sat24.html");
    client.Dispose();
    string tag1 = "<li><a href=\"/en/";
    string tag2 = "</a></li>";
    string s = System.IO.File.ReadAllText(@"c:\temp\sat24.html");
    s = s.Substring(s.IndexOf(tag1));
    s = s.Substring(0, s.LastIndexOf(tag2) + tag2.ToCharArray().Length);
    s = s.Replace("\r", "").Replace("\n", "").Replace(" ", "");
    string[] parts = s.Split(new string[] { tag1, tag2 }, StringSplitOptions.RemoveEmptyEntries);
    string tag3 = "<li><ahref=\"/en/";
    for (int i = 0; i < parts.Length; i++)
    if (i == 17)
    break;
    string l = "";
    if (parts[i].Contains(tag3))
    l = parts[i].Replace(tag3, "");
    string z1 = l.Substring(0, l.IndexOf('"'));
    countriescodes.Add(z1);
    string z2 = parts[i].Substring(parts[i].LastIndexOf('>') + 1);
    countriesnames.Add(z2);
    public static void ExtractDateTime(string selectedregion,bool infraredorvisual, string satimagesdir)
    WebClient client1 = new WebClient();
    string[] Urls = new string[9];
    string input = File.ReadAllText(@"c:\temp\sat24.html");
    string pattern1 = @"imageUrls = \[[^\]]*\]";
    Regex ex1 = new Regex(pattern1, RegexOptions.Singleline);
    string pattern2 = @"region=(?'region'[^&]*)&time=(?'time'\d{12})";
    Match match1 = ex1.Match(input);
    Regex ex2 = new Regex(pattern2, RegexOptions.Singleline);
    MatchCollection matches2 = ex2.Matches(match1.Value);
    IFormatProvider provider = CultureInfo.InvariantCulture;
    List<DateTime> dateTime = new List<DateTime>();
    foreach (Match match2 in matches2)
    string region = match2.Groups["region"].Value;
    DateTime dt = DateTime.ParseExact(match2.Groups["time"].Value, "yyyyMMddHHmm", provider);
    switch (region)
    case "eu":
    dt.AddHours(1);
    break;
    case "is":
    dt.AddHours(-1);
    break;
    dateTime.Add(dt);
    for (int i = 0; i < dateTime.Count; i++)
    string result = dateTime[i].ToString("yyyyMMddHHmm");
    link = "http://www.sat24.com/image2.ashx?region=" + selectedregion + "&time=" + result + "&ir=" +
    infraredorvisual ;
    // why downloading so slow ? to check maybe to ask
    // in forums.
    string filePath = Path.Combine(satimagesdir, "SatImage" + i + ".GIF");
    try
    client1.DownloadFile(link, filePath);
    catch (Exception e)
    DannyGeneral.Logger.Write(e.ToString());
    client1.Dispose();
    private void SatelliteImages_Load(object sender, EventArgs e)
    I guess the problem is in the SatelliteImages class where i'm downloading there first time the html file and then downloading 9 images.
    I tried to start the backgroundworker2 inside the completed event in form1 of the WebClient.
    But again it's all freezing untill it's completing downloading the images in the class SatelliteImages.
    I thought put it in the backgroundworker2 dowork will not make it freeze.
    Why the downloadings in the class SatelliteImages make it all freeze untill it finish the downloadings even if it's inside the backgroundworker2 dowork event ?

    Unless I have missed something, the only thing that is running on the background thread is:
    SatelliteImages.ExtractCountires();
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • Premiere Pro CS6 - Keeping last frame when using Razor Tool - Help!

    Hi Everyone,
    A amateur editor here, I've had a bit of an issue after my cat decide to walk across my keyboard when Premiere was open!
    Now every time I try and cut a clip with the razor tool it keeps the last frame and adds it on to the end. I imagine there's a shortcut to switch this off? But I have no idea what the shortcut is called...
    There is now a beige strip after the selector, which wasn't there before! Does anyone know what my cat has managed to do and how I can turn it off?
    Thanks so much!
    Here's a screenshot as it's hard to describe...

    The beige or yellow stripe has always been there.
    You can only see it when zoomed in.
    It represents the duration of 1 frame.
    In this case you are on the last frame of the left clip.
    Cannot turn it off.

  • ADF-af:inputListOfValues  not working properly when used in inside table

    Hi All,
    i am using jdev version 11.1.1.5.0 .
    In my usecase i have create one eo based vo where in empname attribute i have add lov and drag this vo as adf table on jsff page.
    and i have create row on table and select empname from lov. lov working properly but when i have select empname from lov for same row it give error message.
    code is following-
        <af:column sortProperty="Empname" sortable="false"
                           headerText="Employee Name"
                           id="c1" width="200">
                   <af:inputListOfValues id="empnameId"
                                          popupTitle="Search and Select: #{bindings.FaPmntTaEmpView2.hints.Empname.label}"
                                          value="#{row.bindings.Empname.inputValue}"
                                          model="#{row.bindings.Empname.listOfValuesModel}"
                                          columns="#{bindings.FaPmntTaEmpView2.hints.Empname.displayWidth}"
                                          shortDesc="#{bindings.FaPmntTaEmpView2.hints.Empname.tooltip}"
                                          readOnly="#{vs.index==0?'true':'false'}" disabled="#{sessionScope.loccom}" autoSubmit="true">
                      <!--f:validator binding="#{row.bindings.Empname.validator}" /-->
                    <!--af:autoSuggestBehavior suggestedItems="#{pageFlowScope.TaExpEntryBean.getEmpsuggestions}"/-->
                  </af:inputListOfValues>
                </af:column> log detail is following-
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'row' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:343)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:97)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1118)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:717)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:800)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:236)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1278)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1082)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #3
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'row' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:343)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:97)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1118)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:717)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:800)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:236)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1278)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1082)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)and when i have refresh page after that lov is working.
    i have no idea why this error occur. please provide me better solution.

    Hi Frank,
    thanks for reply.
    So how can i use Lov in ADF table. Because lov in adf table used
      model="#{row.bindings.Empname.listOfValuesModel}"

  • Query running slow when using case inside when

    Hi All,
    I am in the process of creating a query as per the following conditions:
    select count(*) from Alpha A, Beta B
    where
    (case
    when
    A.col1='Pete' and substr(A.col2,1,12)=substr(B.col2,1,12)
    then 1
    else
    -- for all other cases when A.col1 is not equal to 'Pete', substr 1-15 needs to be checked on A and B
    when A.col1 != 'Pete' and substr(A.col2,1,15)=substr(B.col2,1,15)
    then 1
    else 0
    end)=1
    When i run the whole query together, it continues to run forever and i have to eventually kill it. However, when i run the 2 WHEN clauses seperately, it runs within a second and fetches me the correct data. What goes wrong while merging these two inside 2 WHEN clauses that it causes the query to drag?
    Please advise.
    Thanks in advance.

    Not sure,
    Are you saying that you need both the counts seperately? or a combined count?
    how are you joining alpha and beta tables? what is the join condition?
    you need to do something like this,
    SELECT COUNT(CASE WHEN
                        (A.col1 = 'Pete' AND SUBSTR(A.col2,,1,12)=SUBSTR(B.col2,,1,13))
                     OR ( A.col1 != 'Pete' AND SUBSTR(A.col2,,1,15)=SUBSTR(B.col2,,1,15))
                    THEN 1 ELSE 0
                 END)
    FROM alpha A, beta b
    WHERE alpha.join_cloumn= beta.join_columnG.

  • Apple Remote Desktop when using AirPort inside a FiOS Router

    I have a verison FiOS Router that is no longer hosting my wireless.  That is now configured through my AirPort TimeCapsule.  How do I set up my system to use Apple Remote Desktop for access over the Internet.  It worked before when I set up Port Forwarding in my FiOS Router.  How do I do in this new configuration?  Thanks

    You disabled the wireless radio in your FiOS router, but did you reconfigure it as a bridge? That is, did you also disable the router's NAT & DHCP services? If not, then the FiOS router is still the device that you would configure port mapping/forwarding on. Also, with NAT & DHCP enabled on the FiOS router, the Time Capsule should be in bridge mode.

  • Arabic characters appear as empty squares when using certain HTML tags or font styles

    Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using &lt;i&gt; or &lt;em&gt; html tags.
    Try this code to replicate the problem
    <pre>
    &lt;p&gt;مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;i&gt;i tag مشكلة ظهور المربعات الخالية بدل الحروف</i> &lt;br&gt; &lt;br&gt;
    &lt;em&gt;em tag مشكلة ظهور المربعات الخالية بدل الحروف &lt;/em&gt;
    </pre>

    After lots of research, I found the problem. The boxes (squares) show up whenever there is a font in the webpage that does not have Arabic within its Unicode range such as Times New Roman Italic or Oblique. Normally, Firefox will pick another font to display the characters but now, a newly introduced feature is interfering.
    To fix the problem without turning off hardware acceleration.
    Go to about:config
    locate: gfx.font_rendering.directwrite.use_gdi_table_loading
    which is True by default in FF4.0 Beta 10, and change it to False.
    This is a bug that has to be fixed.

  • Where is the CSS styles box

    So im looking at this tutorial by SikhStar97, and he is adding a layout which i want to do but he used something from the CSS styles box and i cant seem to find that though i have searched it up, i found it was in the window and when i looked in window i found nothing called CSS styles box but i did find "transitions" and "designer" can someone please help me?

    Hello goldboy,
    because of your "Umm i dont know ..." I want to show you - in addition to "es73's" valuable informations - where you can see the verions number (translated from my German DW): Help >  About Dreamweaver and you will get something like that:
    Hans-Günter

  • Dreamweaver CSS styles page goes blank after I preview in browser

    Often, after I have previewed in browser, when I return to my CSS styles sheet it is blank. I need to then close Dreamweaver - it then crashes and reopen. This happens to often making it difficult to use dreamweaver. Any ideas other than re-installing or upgrading?
    Thanks
    adam

    Hi Ken,
    Unfortunately, this problem didn't go away with the re-install. It occurs maybe once every 5-10 previews.
    I have Dreamweaver CS5.5 and Windows 7 on my PC. Once the styles sheet blanks after I preview in browser I need to close Dreamweaver (at which point it crashes and I need to do it through Task Manager) and load up again.
    Regards,
    Adam

  • I'm using web developer1.1.9 ad-on. When I select a menu CSS- View Style Information, I see red outlined div's, etc. but I can't see these outlines anymore.

    I'm using web developer1.1.9 ad-on. When I select a menu CSS->View Style Information, I see red outlined div's, etc. but I can't see these outlines anymore.
    I tried uninstall and install both Firefox and Developer ad-on but it did not solve the problem.

    Firefox also have build-in web developer tools, so there is less need for extensions.
    *http://hacks.mozilla.org/2012/03/firefox-aurora-13-developer-tools-updates/
    *https://developer.mozilla.org/en/Tools/Page_Inspector
    *https://developer.mozilla.org/en/Tools/Page_Inspector/HTML_panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector/Style_panel

  • Dreamweaver CC understanding external style sheets when using Fluid layouts?

    I'm attempting to build a website using the Dreamweaver CC Fluid layout feature. I've been using this tutorial:
    http://www.adobe.com/inspire/2012/08/fluid-grid-layouts-dreamweaver-cs6.html
    The bit i'm stuck at is when it comes to attaching a external style sheet to format the text and content. So to be clear, i've already created my fluid layout and created a 'layout.css' file when promted, then using some html 5 class div tags (header, navigation and article) i've built my layout. All doing what I want up to this point.
    Now I need to start adding content and from what I understand its much better practice to set up another external style sheet for the text formatting and styling.
    I used the CSS Designer to 'create a new CSS file', called it 'typography.css' and I can see its linked to the main Source Code file.
    I understand that theory but here is where its confusing for me:
    After creating and linking the new CSS file what do I do next? Do I have to hand code in various text formatting ids or is there a more visual way of doing it? Or do I select my text content in the source code page and then press the '+' button in the 'Selectors' panel to start adding ids that way? And should the class or id names in the new CSS file be the same as in the layout CSS file or different?
    I guess I dont really understand excatly how external style sheets should be created and implemented, all the youtube vids i've watched so far are done with hand coding but i'd like to use the Properties panel to do it in a more visual way if possible.
    Any tips or help greatly appreciated, some basic learning needed. Thanks.

    Giving a detailed explanation of  how to best use CSS goes beyond the scope of what this forum can do.  There are volumes of books, blogs and tech sites devoted to this  topic. 
    A Must Read --  How to Develop with CSS?
    http://phrogz.net/css/HowToDevelopWithCSS.html
    In a nutshell, make the most of your logical HTML tags.  They not only add semantic structure to your content, they serve as  hooks for your CSS styles.   Don't class or ID something unless you absolutely need it.   The goal here is to keep your HTML streamlined.
    /**effects all h2 tags in your site**/
    h2 {font-size: 125%} 
    /**only effects h2 tags inside headers**/
    header h2 {color:orange} 
    /**effects all p tags**/
    p {font-size: 100%} 
    /**only effects p tags inside articles**/
    article p {color:#333}
    Nancy O.

  • Css styles donot work well inside headers

    I have placed some content inside the header tags.If i apply css styles to the content inside the tags means,the header comes down.what can i do for this?
    CSS styles:
    header
    min-height: 120px;
    background: #9EA5CF;
    #maintitle {
        color: #FFF;
        padding-left: 50px;
        padding-top: -20px;
    HTML Code:
    <header>
      <h1 id="maintitle">LORUM IPSUM</h1>
    </header>

    Murray, on the second part of your post (default margins), I think that is the case when I use images as the target for a live link (in IE) ... I have to go in and set the 'border' to 0.
    Actually, a simple rule for this in all browsers is -
    a img { border:none; }
    That will prevent any image that is also a link from having a border. And it's definitely not just in IE.
    On the first part, all I know is when I first started doing some naming of IDs and Classes, my computer told me not to go there, so I don't.
    Now, that could easily be because I had no clue what was really going on.
    I prefer to think of it as your just being new to CSS, but yes - that's most likely it. Can you give us a specific example?
    HTML4 or HTML5 should not affect how you USE your CSS.

Maybe you are looking for

  • Adding button for report on a form OR as a quicklist selection

    In order to make this easy for my sales guys, is there a way to add the option to run a custom shared analysis from a form (add an option button)? For example: When the sales rep creates an opportunity and adds product revenue to it, he will need to

  • I have a samsung smart tv i want to play my pogo but will not update for me

    i have a samsung smart tv and want to play my pogo but it will not updat for me what do i do

  • ACE30 Load balancing based on IP and using x-forward-for header

    Hi Guys, We currently have a load balancing policy setup to direct traffic to say FARM-A based on a particular range of source (client) IP addresses, and the default FARM-B for all the other traffic. We are now looking to introduce a web application

  • XI mapping question

    Hello, I have a situation that I need to run Z-BAPI function before starting mapping in XI. Let me explain scenario with more information. 1. I need to update a order in the SAP. The order may or may not exists in the SAP. 2. We have a Z-BAPI functio

  • Whining (bleep sound) Qosmio F60

    Hey ! My Qosmio F60 making a very annoying bleep sound. The source of this bleep is approximately the left side of the keyboard under the Q,W,A,S buttons. It's only if the notebook don't have to work hard. If i am playing games or watching TV the sou