Attribute.get exception

the get() method on an Attribute object can throws a NamingException. Does anybody have any idea on what could go wrong in the operation (I use an LDAP). All error should occurs on the getAttributes() method.
am I wrong?

When using the LDAP implementation of the JNDI interfaces the get() method on an attribute only throws java.util.NoSuchElementException if there are no attribute values.
The get() method is declared to throw NamingException to keep the interfaces generic because other implementations may throw the exception.
The fact that the current LDAP implementation dosent throw a NamingException dosent meen it wont in the future.

Similar Messages

  • How do you throw attribute level exception in setter for VORowImpl

    Hello All,
    I am trying to perform a very basic view object extension in iProcurement. All I want to do is throw an attribute level exception (or row level...whichever I can get to work). The code runs, however, the page displays the attribute error for all rows, and, it should only be displaying it for the row that had the validation error.
    I next simplified the test by extending the iProcurement view object, but, not generating any VORowImpl classes. This way, I am using only Oracle code. Same result...if I purposely enter a bad number on one row, the result when I hit the continue button is that all rows get flagged with the error.
    Without the substitution, the error is displayed correctly for only the row that caused it.
    Are there any known issues using OAAttrValException or OARowValException when substitution is made on a view object?

    SOLVED -
    I found the issue.
    JDeveloper Version 9.0.3.5 appears to have a 'bug' I may have found. When creating a new View Object, the key attribute(s) that are pulled in from the view object you are extending appear to all have the 'Key Attribute' checkbox checked. (View object I am extending is not based on EO objects). However, if you inspect the xml file for the new view object, you will see that the wizard did not save off the value for the key attributes in the "KeyAttributes" tag usually found at the end of the xml file, such as:
    <AttrArray Name="KeyAttributes">
    <Item Value="RcvTransactionId" />
    </AttrArray>
    You think the key attribute is set because the GUI displays the checkbox.
    Closing the project and re-opening, which causes the xml fiel to be read again, will refresh the checkbox so that it is unchecked. Checking and re-saving does the trick.
    Without the key attribute set, any calls to OAAttrValException with parameter getKey() break as getKey() returns null. Subsequently, the exceptions thrown to the user on the screen are improperly displayed.
    Everything works great now! I just have to remember to go back and check any 'Key Attributes' on future View Object extensions.

  • Getting exception while running es.getService("", "InfoStore" )

    Not sure if this is the correct forum to place this question.
    We are connecting to a BOE XI Rel 3.1 server that has Crystal Reports templates.  We are trying to get the report number by performing the folowing query:
    "Select SI_ID, SI_DESCRIPTION From CI_INFOOBJECTS Where SI_NAME ='"report_name"'"
    We are getting an erro message while performing the following code:
    iStore = (IInfoStore) es.getService("", "InfoStore" );
    We get the exception below about 10 to 15 times but then it is able to work and it gets the report id correctly.
    We get the following exception:
    2009-03-30 08:59:34,222 OFA_ERROR com.crystaldecisions.celib.trace.d.a(Unknown Source)[initialize(): invalid xrl,3&U=5,03&.1={3&1=NoAccess,0P&2=1,03&9i={},2z},2z&.2={3&1=View,0P&2=2,03&9i={3&U=14,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z&.2={3&1=62022,03&2=4,03},2z&.3={3&1=62025,03&2=7,03},2z&.4={3&1=62026,03&2=8,03},2z&.5={3&1=62027,03&2=9,03},2z&.6={3&1=62031,03&2=13,03},2z&.7={3&1=62032,03&2=14,03},2z&.8={3&1=62033,03&2=15,03},2z&.9={3&1=62034,03&2=16,03},2z&.?={3&1=62036,03&2=18,03},2z&.@={3&1=62041,03&2=23,03},2z&.A={3&1=62042,03&2=24,03},2z&.B={3&1=62043,03&2=25,03},2z&.C={3&1=62062,03&2=44,03},2z},2z},2z&.3={3&1=Schedule,0P&2=3,03&9i={3&U=1,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z},2z},2z&.4={3&1=ViewOnDemand,0P&2=4,03&9i={3&U=1,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z},2z},2z&.5={3&1=FullControl,0P&2=5,03&9i={3&U=48,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z&.2={3&1=60431,03&2=6,03&?7=1,08},2z&.3={3&1=60432,03&2=8,03&?7=1,08},2z&.4={3&1=60437,03&2=73,03&?7=1,08},2z&.5={3&1=62019,03&2=1,03},2z&.6={3&1=62020,03&2=2,03},2z&.7={3&1=62021,03&2=3,03},2z&.8={3&1=62022,03&2=4,03},2z&.9={3&1=62023,03&2=5,03},2z&.?={3&1=62024,03&2=6,03},2z&.@={3&1=62025,03&2=7,03},2z&.A={3&1=62026,03&2=8,03},2z&.B={3&1=62027,03&2=9,03},2z&.C={3&1=62028,03&2=10,03},2z&.D={3&1=62029,03&2=11,03},2z&.E={3&1=62030,03&2=12,03},2z&.F={3&1=62031,03&2=13,03},2z&.G={3&1=62032,03&2=14,03},2z&.H={3&1=62033,03&2=15,03},2z&.I={3&1=62034,03&2=16,03},2z&.J={3&1=62035,03&2=17,03},2z&.K={3&1=62036,03&2=18,03},2z&.L={3&1=62037,03&2=19,03},2z&.M={3&1=62038,03&2=20,03},2z&.N={3&1=62039,03&2=21,03},2z&.O={3&1=62040,03&2=22,03},2z&.P={3&1=62041,03&2=23,03},2z&.Q={3&1=62042,03&2=24,03},2z&.R={3&1=62043,03&2=25,03},2z&.S={3&1=62044,03&2=26,03},2z&.T={3&1=62045,03&2=27,03},2z&.U={3&1=62046,03&2=28,03},2z&.V={3&1=62047,03&2=29,03},2z&.W={3&1=62048,03&2=30,03},2z&.X={3&1=62049,03&2=31,03},2z&.Y={3&1=62050,03&2=32,03},2z&.Z={3&1=62051,03&2=33,03},2z&.a={3&1=62052,03&2=34,03},2z&.b={3&1=62053,03&2=35,03},2z&.c={3&1=62054,03&2=36,03},2z&.d={3&1=62055,03&2=37,03},2z&.e={3&1=62056,03&2=38,03},2z&.f={3&1=62057,03&2=39,03},2z&.g={3&1=62058,03&2=40,03},2z&.h={3&1=62059,03&2=41,03},2z&.i={3&1=62060,03&2=42,03},2z&.j={3&1=62061,03&2=43,03},2z&.k={3&1=62062,03&2=44,03},2z},2z},2z]
    com.crystaldecisions.celib.exception.c: ASSERTION FAILED
          at com.crystaldecisions.celib.trace.d.a(Unknown Source)
          at com.crystaldecisions.enterprise.ocaframework.k.a(Unknown Source)
          at com.crystaldecisions.celib.properties.Property.a(Unknown Source)
          at com.crystaldecisions.celib.properties.Property.getPropertyBag(Unknown Source)
          at com.crystaldecisions.celib.properties.PropertyBag.getPropertyBag(Unknown Source)
          at com.crystaldecisions.sdk.occa.pluginmgr.internal.a.getSecurityInfo(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.a(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(Unknown Source)
          at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)
          at us.tx.state.dads.ofa.web.core.BaseAction.getToken(BaseAction.java:294)
    If you have experianced this problem or know of a workaround it would be greatly appreciated.
    Thanks,

    I've seen similar stack trace before, but the issue is usually consistent.
    You're getting exception when it's reading the Security Info property bag.
    Does this happen with all Users, even the Administrator account?
    Sincerely,
    Ted Ueda
    ps.  this should be posted on the Java, and not .Net, side.
    Moved to Java...
    Edited by: Don Williams on Apr 17, 2009 11:24 AM

  • Cannot get exception-type to work

              WLS 60 SP1 (#101616)
              Cannot get <exception-type> to work. WLS shows standard &#8220;Internal error
              500&#8221; page instead of a custom error page. The custom error page is shown
              if <error-code> is used instead of <exception-type>.
              Any ideas? Thanks
              

    Hi @utopian,
    Welcome to the HP Forums!
    I understand that you cannot scan with your HP Officejet Pro 8500 on Windows 7 using a wireless network. I am happy to look into this issue for you!
    Please take a look through this scanning guide, A 'Connection Error' or 'No Computer Detected' Error Message Displays during Scanning for HP Officej....
    Hope this guide helps!  
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I have tried to implement jasper report but getting exceptions at run time

    I have tried to implement jasper report but getting exceptions at run time and I couldn't get the reason of these exceptions. please give me idea to solve this problem.
    I am using following jar files for this :
    commons-beanutils-1.6.1.jar
    commons-digester-1.7.jar
    commons-logging.jar
    jasperreports-1.2.0.jar
    code is as follows:-
    (1) xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jasperReport
    PUBLIC "-//JasperReports//DTD Report Design//EN"
    "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport name="Simple_Report">
    <detail>
    <band height="20">
    <staticText>
    <reportElement x="180" y="0" width="200" height="20"/>
    <text><![CDATA[Hello World!]]></text>
    </staticText>
    </band>
    </detail>
    </jasperReport>
    (2.) java file
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.xml.*;
    import org.xml.sax.*;
    import org.apache.commons.digester.Digester;
    import org.apache.commons.digester.RuleSetBase;
    import java.util.*;
    public class JasperReportsIntro
    public static void main(String[] args)
    JasperReport jasperReport;
    JasperPrint jasperPrint;
    try
         jasperReport = JasperCompileManager.compileReport(
    "jasperreports_demo.jrxml");
    jasperPrint = JasperFillManager.fillReport(
    jasperReport, new HashMap(), new JREmptyDataSource());
    // JasperExportManager.exportReportToPdfFile(
    // jasperPrint, "jasperReports/simple_report.pdf");
    catch (JRException e)
    e.printStackTrace();
    I am getting exceptions like:
    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
    /home/navneet/Simple_Report_1143636234024_954843.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:18: cannot find symbol
    symbol: class JREvaluator
    public class Simple_Report_1143636234024_954843 extends JREvaluator
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:25: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:26: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_CONNECTION = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:27: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:28: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:29: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:30: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:31: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_LOCALE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:32: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:33: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_SCRIPTLET = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:34: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_MAX_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:35: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_PAGE_NUMBER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:36: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_COLUMN_NUMBER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:37: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_REPORT_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:38: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_PAGE_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:39: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_COLUMN_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:62: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:63: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:64: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:65: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:66: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:67: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:68: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:69: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:70: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:71: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:88: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:89: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:90: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:91: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:92: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
    ^
    33 errors
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
    at com.appnetix.app.portal.financials.reports.RoyaltyReportAction.execute(RoyaltyReportAction.java:68)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.appnetix.app.control.web.AppnetixRequestProcessor.process(AppnetixRequestProcessor.java:149)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.appnetix.app.control.web.AppnetixControllerServlet.doPost(AppnetixControllerServlet.java:262)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

    You have no permission to create a report. You have to create a permisson-entry into your server.policy. Then it would be work.

  • Getting Exception - ErrorCode ERRCA0017 :SubStatus ES0007 :There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)

    I have used Azure managed Cache (Basic tier) in my Web App deployed on cloud service.
    Now I am getting exception. ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state) on Production environment.
    I know, this exception is occurred when memory usage reached more than 95%. 
    I want to handle this issue in code so please provide the right solution.
    My Clients are facing it... so please help me .
    Its very urgent.
    Server Error in '/' Application.
    ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)
    Description: An unhandled exception occurred during the execution of the current
    web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0007>:There
    is a temporary failure. Please retry later. (The request failed because the server is in throttled state)
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace
    below.
    Stack Trace: 
    [DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)]
       Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ErrStatus errStatus, Guid trackingId, Exception responseException, Byte[][] payload, EndpointID destination) +551
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.ExecuteApi(IVelocityRequestPacket request, IMonitoringListener listener) +287
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.Upsert(VelocityPacketType type, String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[]
    tags, String region, IMonitoringListener listener) +357
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.Put(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region, IMonitoringListener
    listener) +74
       Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region, IMonitoringListener
    listener) +288
       Microsoft.ApplicationServer.Caching.<>c__DisplayClass2f.<Put>b__2e() +146
       Microsoft.ApplicationServer.Caching.DataCache.Put(String key, Object value, TimeSpan timeout) +263
       Microsoft.Web.DistributedCache.<>c__DisplayClass31`1.<PerformCacheOperation>b__30() +19
       Microsoft.Web.DistributedCache.DataCacheRetryWrapper.PerformCacheOperation(Action action) +208
       Microsoft.Web.DistributedCache.DataCacheForwarderBase.PerformCacheOperation(Func`1 func) +134
       Microsoft.Web.DistributedCache.DataCacheForwarderBase.Put(String key, Object value, TimeSpan timeout) +148
       Microsoft.Web.DistributedCache.BlobBasedSessionStoreProvider.SetAndReleaseItemExclusive(HttpContextBase context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
    +177
       System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +1021
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
    Thanks
    hema

    You should add retry logic in case of retriable exceptions. If the retries fail as well you should reset the DataCacheFactory as suggested in this link.
    http://blogs.msdn.com/b/cie/archive/2014/04/29/cache-retry-fails-what-next.aspx
    Thanks,
    Pallav

  • PSE 9 and Windows 7. Keep getting exceptions on several task.

    After installing Win7 Home Edition, PSE9 gets exceptions but after discarding I am able to continue, but it is annoying. Anything that I can do?

    Click here and follow the instructions.
    (98783)

  • Getting exception error FUNCMOD_NOT_FOUND

    getting exception error FUNCMOD_NOT_FOUND
    Regards
    Rabin

    Not enough information
    No research done
    Read the "Rules of Engagement"
    Regards
    Juan

  • Getting Exception during the page navigation in remote server deployed Appl

    Hi,
    When i am Navigating from my screen to Parent Screen after texudo service update , My application is working fine in Local System, The same applications are hosted on the weblogic server, but in separate Weblogic domains . when i run the application in deployed URL , I am getting exception. Please find the server Log file details mentioned below.
    How do we fix the issue , Please do the needful.
    Server Log:
    *[2012-07-25T00:20:23.459-07:00] [CWEDEV-Server01] [ERROR] [] [oracle.adfinternal.view.faces.webapp.rich.RichWindowManager] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: fa2f0eaf1fef9cee:-270ca3da:138bccff911:-8000-00000000000026fc,0] [APP: CalwinApplication-cwedev] No registered window for:w1*
    *[2012-07-25T00:20:23.459-07:00] [CWEDEV-Server01] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: fa2f0eaf1fef9cee:-270ca3da:138bccff911:-8000-00000000000026fc,0] [APP: CalwinApplication-cwedev] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1[[*
    oracle.adf.controller.ControllerException: ADFC-12010: A null window ID is detected in a situation where it should never be null.
    *     at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:302)*
    *     at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:152)*
    *     at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)*
    *     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)*
    *     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:150)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:122)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:45)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)*
    *     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)*
    *     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:27)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)*
    *     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)*
    *     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)*
    *     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:57)*
    *     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     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)*
    *[2012-07-25T00:20:23.460-07:00] [CWEDEV-Server01] [ERROR] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: fa2f0eaf1fef9cee:-270ca3da:138bccff911:-8000-00000000000026fc,0] [APP: CalwinApplication-cwedev] ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.[[*
    oracle.adf.controller.ControllerException: ADFC-12010: A null window ID is detected in a situation where it should never be null.
    *     at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:302)*
    *     at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:152)*
    *     at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)*
    *     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)*
    *     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:150)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:122)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)*
    *     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:45)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)*
    *     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)*
    *     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:27)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)*
    *     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)*
    *     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)*
    *     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:57)*
    *     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)*
    *     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)*
    *[2012-07-25T00:20:23.461-07:00] [CWEDEV-Server01] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: fa2f0eaf1fef9cee:-270ca3da:138bccff911:-8000-00000000000026fc,0] [APP: CalwinApplication-cwedev] [[*
    javax.servlet.ServletException: ADF_FACES-60101:HTTP Error Status Code: 500."
    *     at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse._logException(XmlHttpServletResponse.java:140)*
    *     at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendError(XmlHttpServletResponse.java:106)*
    *     at com.sun.faces.context.ExternalContextImpl.responseSendError(ExternalContextImpl.java:835)*
    *     at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)*
    *     at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)*
    *     at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)*
    *     at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)*
    *     at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._reportFailureForMissingViewRoot(LifecycleImpl.java:1429)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1506)*
    *     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:208)*
    *     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)*
    *     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:173)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)*
    *     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)*
    *     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)*
    *     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:180)*
    *     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)*
    *     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)*
    Please assist me to resolve this issue.
    Thanks
    Arun N
    Edited by: user7236892 on Jul 25, 2012 4:40 PM

    User,
    please always mention the jdev version you are using as it might help to solve your problem.
    A close look reveals [userId: <anonymous>] [ecid: fa2f0eaf1fef9cee:-270ca3da:138bccff911:-8000-00000000000026fc,0] [APP: CalwinApplication-cwedev] No registered window for:w1The 'w1' is an id which is used somewhrere in yoru pages. This id may give you some hint where t olook. Check your pages for the id and try to think about what the component holding the id is used for on the page.
    Timo

  • Well to run a cfquery I must include a "password" attribute, etc except I have a local server ? yes / no

    I read ALL the textbook
    MACROMEDIA CF, 2002 course.com
    Well to run a <cfquery> I must include a "password" attribute, etc
    except I have a local server ? yes / no
    May use/include a file dbinfo.cfm with all my passwords etc , and use
    these passwords as variables in <cfquery>,...etc ? this is more secure ?
    I must include vars in <cfscript> tag OR many <cfset> tags ?
    If I had
    <cfscript>
    password='gf56SDRPO999';
    </cfscript>
    HOW TO INCLUDE THIS VAR IN  <cfquery password=#password# ...> this is correct ?

    Your question is unclear to me, but if you just want to verify your syntax is legal, then YES.  You can easily set a value in a variable with <cfscript> and then later use that variable in a <cftag...> like you showed.
    But I would argue there is little additional security in using passwords in code like this between setting the password and using it directly in the tag.  There may be reusability and maintainability advantages, but little advantage to security.

  • Issue in getting exception pointer in VC++ CLR project for generating dump file.

    Hi,
    We are working on VC++ CLR (Windows Forms) application.
    We are writing a code to generate Mini dump file (using MINIDUMPWRITEDUMP in dbghelp.dll) whenever application crashes.
    The code available on internet for writing mini dump file in c# generates the mini dump but without Exception code and information, because _EXCEPTION_INFORMATION was set using Marshal::GetExceptionPointers() which returns 0. We called MINIDUMPWRITEDUMP
    inside AppDomain::UnhandledExceptionEventHandler for this.
    To get the valid exception pointer for mini dump we made following attempts with and without AppDomain::UnhandledExceptionEventHandler  –
    Used mixed (managed and unmanaged ) dll to add SetUnhandledExceptionFilter.  Inside top level exception filter function added code to write mini dump.  Inside main the handler is set on 1<sup>st</sup> line. But handler is not invoked
    on any exception. This works fine with console C# project.
    // inside dll
    #pragma unmanaged
    LONG WINAPI ABCExceptionFilter(__in struct _EXCEPTION_POINTERS *pExceptionInfo)
    { // code to write dump
    #pragma managed
    Namespacee SEHHandler {
    public ref class SEHExpHandler
    public:
    static void AddHandler()
    SetUnhandledExceptionFilter(ABCExceptionFilter);
    // inside app main()
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    SEHHandler::SEHExpHandler::AddHandler();
    //some code . . .
    Application::Run(gcnew Form1());
    //some code . . .
    Used __try __except inside application main. The exception filter was written in other C++ dll and called inside __except ( expression ) using platform Invoke.  But this throws the caught exception while trying to call handler.
    // inside app class
    [DllImport("SEHhandler.dll")]
    extern int __stdcall se_handler(unsigned int code, IntPtr ep);
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    __try
    { //some code. . .
    __except(se_handler(GetExceptionCode(),
    (IntPtr)GetExceptionInformation()))
    { //some code. . .
    // inside dll
    __declspec(dllexport)
    extern int WINAPI se_handler(unsigned int code,
    struct _EXCEPTION_POINTERS* ep)
    { // code to write minidump
    return EXCEPTION_EXECUTE_HANDLER;
    Can anyone help us to get either of the code work. The aim is to write dump file with correct stack trace where exception was thrown.
    Thanks in advance.
    -- Sumit

    Hi,
    Few days back we tried following sample program and we were able to get exception code and pointer for almost all types of exception catch inside __except statement. 
    1. Create sample VC++ > CLR > Windows form application.
    2. Change Common language Runtime support to (/clr).
    3. Set UnhandledExceptionMode to ThrowException in main.
    4. Inside application cpp file add __try __except around Application::Run(gcnew Form1()).
    5. Add new header file to write unmanaged function to be called inside __except statement to handle exception.
    6. Created new Form1 and add few buttons to test different types of exceptions.
    7. Exceptions will be catch in __except statement and exception pointers will be available to write mini dump.
    Inside application main function use __try, __except block.
    #include "stdafx.h"
    #include "Form1.h"
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    Application::SetUnhandledExceptionMode(UnhandledExceptionMode::ThrowException);
    Application::EnableVisualStyles();
    Application::SetCompatibleTextRenderingDefault(false);
    __try{
    // Create the main window and run it
    Application::Run(gcnew Form1());
    }__except(exception_filter(GetExceptionCode(), GetExceptionInformation())){
    // write your code
    return 0;
    Add header file and write exception filter
    #pragma once
    #include <windows.h>
    #include <stdio.h>
    #include <string>
    using namespace std;
    #pragma comment(lib, "user32.lib")
    int exception_filter(unsigned int code, struct _EXCEPTION_POINTERS* ep)
    TCHAR buff[100];
    wsprintf(buff, L"Inside exception_filter. Excp Pointer %p", (void*)ep);
    ::MessageBox(NULL,buff,L"Error",MB_OK);
    // add code to write mini dump using MINIDUMPWRITEDUMP
    return EXCEPTION_EXECUTE_HANDLER;
    Thanks.

  • How to get the one attribute value in another attribute getter method

    Hi,
    I have a requirement to get one attribute's value in the another attribute getter or setter method.
    Help needed ASAP.
    Thanks,
    sreenivas.

    Check if both the attributes are under the same context node.
    If so directly call the getter method of the other attribute here like this:
    lv_customer_type = me->get_customer_type( attribute_path = 'STRUCT.CUSTOMER_TYPE' ).
    If it is under a different context node,check if it is available from some relation, if so
        lr_agr_rel = current->get_related_entity( iv_relation_name = 'TpmAgrre'l ).
         CALL METHOD lr_agr_rel->if_bol_bo_property_access~get_property_as_value
            EXPORTING
              iv_attr_name = 'EXTERNAL_ID'
            IMPORTING
              ev_result    = lv_cust_plan_id.
    Regards,
    Masood Imrani S.

  • How to get Exception detail

    Hi,
    I have attached Catch all activity to my process. Inside process calling database procedure that throws no data found exception. I want to capture in catchAll fault.
    I tried ora:getFaultAsString and ora:getFultName xpath function.
    But first one result whole exception as node string. so can not se real exception message.
    second one generates exception can not parse xpath query FOTY0001.
    I tried to do expression ora:getFaultName() to simple type variable of QName.
    My requirement is just get exception whatever my process is throwing in catchall block.
    Any suggestion?

    Hi
    I don't think I have done anything different
    I had 10.1.3.1 version which had the bug
    The bug was 5841736(CANNOT GET THE DETAIL MESSAGE OF RUNTIME FAULT IN 'SUMMARY' AND 'DETAIL' PART WITH ora:getFaultAsString EXPRESSION)
    The SOA 10.1.3.3 patch set 3 ( as it reads) has this bug fixed.So I installed this verison over the current oracle_home and the problem got solved :)
    Hope this helps,
    Ketan

  • Getting Exception: @Scratchpad/1:1 exception while running simple javascript code in mozilla scrachpad

    getting Exception: "@Scratchpad/1:1 exception" while running simple javascript code in mozilla scrachpad

    Does this also happen if you run the code in the Web Console (Firefox/Tools > Web Developer)?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • ORA-29786: SIHA attribute GET failed with error [Attribute 'ASM_DISKSTRING'

    Hi,
    I un-register below services to configure them with solaris SMF (I know oracle won't support SMF yet).
    they are running quite good, but only issue we are facing was RBAL create error logs in trace file.
    /u01/grid/oracle/product/11.2.0/asm_1/bin/crs_unregister ora.LISTENER.lsnr
    /u01/grid/oracle/product/11.2.0/asm_1/bin/crs_unregister ora.DATA.dg
    /u01/grid/oracle/product/11.2.0/asm_1/bin/crs_unregister ora.FRA.dg
    /u01/grid/oracle/product/11.2.0/asm_1/bin/crs_unregister ora.asm
    Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_14028.trc:
    ORA-29786: SIHA attribute GET failed with error [Attribute 'ASM_DISKSTRING' sts[200] lsts[0]]
    KGGPNP_SIHA: resource 'ora.asm' is not available [200]
    KGGPNP_SIHA: attribute 'ASM_DISKSTRING' get failed sts[200] lsts[0]
    NOTE: failed to discover disks from gpnp profile asm diskstring
    ORA-29786: SIHA attribute GET failed with error [Attribute 'ASM_DISKSTRING' sts[200] lsts[0]]
    WARNING::lib=/opt/oracle/extapi/64/asm err:9 rc:opendir location:skgdllOpenDi
    errbuf=2
    msgbuf=No such file or directory    other=Directory does not exist
    *** 2011-03-22 11:23:02.281
    kfgbRegister: registering group 1/0xB9966B09 (DATA)
    kfgbBind: binding kfgpn for group 1/0xB9966B09 (DATA)
    kfdp_query(DATA): 7 Edited by: Sachin B on Mar 28, 2011 3:17 AM

    Hi, it seems this errors comes from the fact that the asm wasn't registred in the cluster.
    so you have ti recreate the asm instance and register this instance in the cluster.
    srvctl add asm -p $ORACLE_HOME/dbs/init$+ASM.ora
    srvctl config asm
    i hope it could help !
    Huet Bruno
    Senior DBA Brinks France.

Maybe you are looking for

  • Air apps not working on Vista 64 bit since 1.5

    The Adobe Air 1.5 update went fine on my Vista 64 bit system, both apps (Thwirl and Spaz) worked fine. Then both apps released an update and they crash when attempting to update. Download manually the .air file and it can't find the software to open

  • Subtitles under main window duplicating if not enough space

    Hi Gurus! In one of my smartforms I ahve a table node to display customer discounts .Whats happening is that when there is not enough space on the main window on teh first page it just prints the subtitles at the end of main window on teh firat page

  • Asus M3N78-EM settings for hdmi to TV Alsa OR Oss

    I have had no luck in getting sound to my lcd tv over hdmi. I installed Arch and Alsa 1.020 two days ago.  I have tried various entries in .asoundrc or /etc/asound.conf with no success. I installed oss today through pacman, but had no luck there eith

  • SAP ABAP Proxy

    Dear All, How can we configura a proxy for ABAP connections to internet? There is a proxy section in SICF transaction. But connection does not succeed. Also we tried entering proxy information directly in ABAP code but connections still fails. How ca

  • Russian Text upload

    Xperts i'm using gui_upload f/n module to upload a text file containing russian text. but as a result the text are replaced by '?' character in internal table. how to upoad the text without loging in russian language. my system is not unicode enabled