Re: EJB2JSP generated tags cause exception "no corresponding open tag for tag extension close"

"Nora Serinek" <[email protected]> schrieb im Newsbeitrag news:...
The EJB2JSP-Tool generated among others the following tag:
<tag>
<name>home-findByState</name>
<tagclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTag</tagclass>
>
>
<teiclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTagTEI</teicla
ss>
<info>attribute 'aState' expects java type 'int'</info>
<attribute>
<name>aState</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
When I use it as follows, I get a compile exception
weblogic.servlet.jsp.JspException: (line 11): no corresponding open tagfor
tag extension close: </message:home-findByState> file://[ null; Line:11]
>
The jsp-code is:
<%@ taglib uri="/WEB-INF/swdejb-tags.tld" prefix="message" %>
<ul>
<message:home-findByState aState="1" _return="messages" >
<li>
<%=messages.getId()%>
<%=messages.getText()%>
</message:home-findByState>
</ul>
I would be thankful for every hint.

Actually I'm getting this exception only, when I use attributes as
parameter:
<%
int aState = 1;
%>
<message:home-findByState aState=<%= aState %> _return="messages" >
<%=messages.getText()%>
</message:home-findByState>
I don't know what to do with this.
"Nora Serinek" <[email protected]> schrieb im Newsbeitrag
news:[email protected]..
>
"Nora Serinek" <[email protected]> schrieb im Newsbeitrag news:...
The EJB2JSP-Tool generated among others the following tag:
<tag>
<name>home-findByState</name>
<tagclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTag</tagclass>
>>
>>
>
<teiclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTagTEI</teicla
ss>
<info>attribute 'aState' expects java type 'int'</info>
<attribute>
<name>aState</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
When I use it as follows, I get a compile exception
weblogic.servlet.jsp.JspException: (line 11): no corresponding open tagfor
tag extension close: </message:home-findByState> file://[ null; Line:11]
The jsp-code is:
<%@ taglib uri="/WEB-INF/swdejb-tags.tld" prefix="message" %>
<ul>
<message:home-findByState aState="1" _return="messages" >
<li>
<%=messages.getId()%>
<%=messages.getText()%>
</message:home-findByState>
</ul>
I would be thankful for every hint.

Similar Messages

  • EJB2JSP generated tags cause exception "no corresponding open tag for tag extension close"

    The EJB2JSP-Tool generated among others the following tag:
              <tag>
              <name>home-findByState</name>
              <tagclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTag</tagclass>
              <teiclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTagTEI</teicla
              ss>
              <info>attribute 'aState' expects java type 'int'</info>
              <attribute>
              <name>aState</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              </tag>
              When I use it as follows, I get a compile exception
              weblogic.servlet.jsp.JspException: (line 11): no corresponding open tag for
              tag extension close: </message:home-findByState> file://[ null; Line: 11]
              The jsp-code is:
              <%@ taglib uri="/WEB-INF/swdejb-tags.tld" prefix="message" %>
              <ul>
              <message:home-findByState aState="1" _return="messages" >
              <li>
              <%=messages.getId()%>
              <%=messages.getText()%>
              </message:home-findByState>
              </ul>
              I would be thankful for every hint.
              

    Actually I'm getting this exception only, when I use attributes as
              parameter:
              <%
              int aState = 1;
              %>
              <message:home-findByState aState=<%= aState %> _return="messages" >
              <%=messages.getText()%>
              </message:home-findByState>
              I don't know what to do with this.
              "Nora Serinek" <[email protected]> schrieb im Newsbeitrag
              news:[email protected]...
              > The EJB2JSP-Tool generated among others the following tag:
              >
              > <tag>
              > <name>home-findByState</name>
              >
              >
              <tagclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTag</tagclass>
              >
              >
              <teiclass>com.ubisag.swd.ejb.jsp_tags._MessageHome_findByStateTagTEI</teicla
              > ss>
              > <info>attribute 'aState' expects java type 'int'</info>
              > <attribute>
              > <name>aState</name>
              > <required>true</required>
              > <rtexprvalue>true</rtexprvalue>
              > </attribute>
              > </tag>
              >
              > When I use it as follows, I get a compile exception
              >
              > weblogic.servlet.jsp.JspException: (line 11): no corresponding open tag
              for
              > tag extension close: </message:home-findByState> file://[ null; Line:
              11]
              >
              > The jsp-code is:
              >
              > <%@ taglib uri="/WEB-INF/swdejb-tags.tld" prefix="message" %>
              >
              > <ul>
              > <message:home-findByState aState="1" _return="messages" >
              > <li>
              > <%=messages.getId()%>
              > <%=messages.getText()%>
              > </message:home-findByState>
              > </ul>
              >
              > I would be thankful for every hint.
              >
              >
              

  • Digital graph causes exception in 8.5

    Wanted to port some of my older LV panels to 8.5.  I noticed that LabView would generate the following message when attempting to load one of my panels:
    "Unhandled exception at 0x007513e0 in LabVIEW.exe: 0xC0000005: Access violation reading location 0x00000000"
    The following is a snippit of code from the debugger:
    007513B0  aaa
    007513B1  adc         esi,dword ptr [ebp]
    007513B4  bound       edx,qword ptr [ebx]
    007513B6  jne         007513B8
    007513B8  jnp         007513CD
    007513BA  jne         007513BC
    007513BC  xchg        eax,esp
    007513BD  adc         esi,dword ptr [ebp]
    007513C0  xor         ecx,ecx
    007513C2  xor         eax,eax
    007513C4  test        edx,edx
    007513C6  je          00751461
    007513CC  mov         eax,dword ptr [edx+4]
    007513CF  test        eax,eax
    007513D1  push        esi
    007513D2  mov         esi,dword ptr [edx]
    007513D4  jle         0075145B
    007513DA  mov         edx,dword ptr [edx+8]
    007513DD  push        edi
    007513DE  mov         edi,eax
    007513E0  mov         al,byte ptr [esi]    <<<<************************************************ Dies here
    007513E2  cmp         al,2
    007513E4  jne         007513EB
    007513E6  or          ecx,4
    007513E9  jmp         00751412
    007513EB  cmp         al,5
    Panels like this one are mid sized, containing 10 - 20 sub VIs.  I stripped the panel down to try and find what exactly was causing LV 8.5 to crash.  It turns out to be the digital graph.    I have attached a very simple panel that just contains the digital graph with nothing wired to it.  If you try to run this in 8.5 I am guessing it will cause the problem.  I tried it on a few PCs and get the same results.
    Attachments:
    main.vi ‏20 KB

    Looking at my disks, version 6 appears to have been the first release to support digital graphs.  I remember using as soon as it was available.  
    I tried several tests to see if I could further narrow down the problem for NI.
    I am able to load the raw version 6.0 examples directly into 8.5.  
    1) I saved version 6.0 example  "Simple Digital Waveform Graph" (SDWG) into a seperate VI.   It loads in both 6.1 and 8.5 with no exception.
    2) Loaded main.vi example and copied it into the SDWG using 6.1.   Causes exception in 8.5
    3) Connect the two graphs together in example so digital data is shown on both graphs, then saved the values as defaults.  This version loads in 8.5 with no exception.
    4) Start with main.vi, clear all the waveform data and save as defaults.  Causes exception in 8.5
    So, problem appears to have nothing to do with the cursors but does appear to be something with the data that had been stored into this graph when the defaults were saved.   It is really strange that clearing the data does not solve the problem.  Maybe this is a bigger problem than I originally thought.   
    Message Edited by lecroy on 10-09-2008 01:07 PM

  • Exception Description: Unable to process XML tag [driver-class] with value

    Hi
    I'm newbie with TopLink. I try to write a litle application with TopLink:
    - First, I create a session.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="11g Technology Preview 3 (11.1.1.0.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="database-session">
    <name>dbsession</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log"/>
    <primary-project xsi:type="xml">META-INF/tlMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <user-name>dev</user-name>
    <password>F6A3DA7BA187330D4E11A713C42FF833</password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Default</name>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@//10.10.10.31:1521/devdb1</connection-url>
    <bind-all-parameters>false</bind-all-parameters>
    <struct-converters/>
    </login>
    </session>
    </toplink-sessions>
    - Second, I create a Java Application ( Application1.java):
    package project2;
    import java.sql.ResultSet;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Vector;
    import oracle.toplink.queryframework.DataModifyQuery;
    import oracle.toplink.queryframework.SQLCall;
    import oracle.toplink.queryframework.StoredProcedureCall;
    import oracle.toplink.sessions.DatabaseSession;
    import oracle.toplink.sessions.Session;
    import oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader;
    import oracle.toplink.tools.sessionmanagement.SessionManager;
    import oracle.toplink.util.SessionFactory;
    public class Application1 {
    public Application1() {
    public static void main(String[] args) {
    // new Application1();
    String statement = "SELECT motdepasse,login FROM bou_courtier";
    SessionManager sessionmanager = SessionManager.getManager();
    System.out.println("test");
    // SessionFactory sessionfactory = new SessionFactory("META-INF/sessions.xml","dbsession");
    DatabaseSession session = (DatabaseSession)sessionmanager.getSession(new XMLSessionConfigLoader(),"dbsession",Thread.currentThread().getContextClassLoader());
    // Session session = sessionfactory.acquireSession();
    System.out.println("test");
    SQLCall sqlcall = new SQLCall(statement);
    session.executeNonSelectingCall(sqlcall);
    ResultSet rs = sqlcall.getResult();
    try {
    while(rs.next()){
    String strPass = rs.getString(1);
    String strLogin = rs.getString(2);
    System.out.println("Password :"+strPass+"---"+"Login :"+strLogin);
    } catch (SQLException e) {
    // TODO
    - Third, I build and run Application1.java in Jdevelopper 11g preview 3. Sadly, the result is a error:
    Exception in thread "main" Local Exception Stack:
    Exception [TOPLINK-9003] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unable to process XML tag [driver-class] with value [oracle.jdbc.OracleDriver].
    Internal Exception: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at oracle.toplink.exceptions.SessionLoaderException.failedToLoadTag(SessionLoaderException.java:83)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseLoginConfig(TopLinkSessionsFactory.java:408)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildLogin(TopLinkSessionsFactory.java:336)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseSessionConfig(TopLinkSessionsFactory.java:182)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:117)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:239)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:448)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:311)
         at project2.Application1.main(Application1.java:33)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseLoginConfig(TopLinkSessionsFactory.java:405)
         ... 8 more
    Process exited with exit code 1.
    Can you help me to debug this error. Many thanks
    user615555

    The internal error: "java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver"
    is stating it can't find your driver jar file on the classpath. You'll need to check that you've included your Database driver in the list of libraries on your classpath.
    Best Regards,
    Chris

  • Finally cause Exception be forgotten

    In trying out that finally cause previous return value be forgotten, as described on page 206 of "The Java Programming Language, 3rd edition", I wrote the following code, and tested it with jdk1.3.1. To my supprise, not only the return value was forgotten, the exception was appeared forgotten as well:
    class PException extends Exception {
    class Final {
        void f1(int i) {
         int result;
         System.out.println("f1("+i+")");
         try {
             result = f2(i);
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("caught an Exception: " + e);
         try {
             result = f3(i);
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("caught an Exception: " + e);
        int f2(int i) throws PException {
         try {
             if (i == 1) {
              System.out.println("generate exception");
              throw new PException();
             return 1;
         } finally {
             return 2;
        int f3(int i) throws PException {
         if (i == 1) {
             System.out.println("generate exception");
             throw new PException();
         return 1;
        public static void main(String[] args) {
         Final f = new Final();
         f.f1(1);
         f.f1(2);
         f.f1(1);
    }Here is the result:
    f1(1)
    generate exception
    result = 2
    generate exception
    caught an Exception: PException
    f1(2)
    result = 2
    result = 1
    f1(1)
    generate exception
    result = 2
    generate exception
    caught an Exception: PException

    The concern here is that when the
    try {
    finally {
    }pattern is used, without the catch block, purelly for flow control purpose, a return statement in the finally block could be problematic. If a finally block ends with a return statement, any exception that might be thrown in the try block would be ignored. The unhandled exception will not propergate, it simply lost in the midst. Because any code could throw unchecked exception, if the exception cannot afford to be lost, then one should be careful not to use return in the finally block. See the following test code:
    class Finally {
        void test() {
         int result;
         System.out.println("test()");
         try {
             result = f1();
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             result = f2();
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             f3();
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             f4();
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
        int f1() {
         System.out.println("f1()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
             return b; // this return clobber the unchecked exception
        int f2() {
         System.out.println("f2()");
         int a = 0;
         int b = 0;
         a = 1/0; // this generate an unchecked exception
         b = 1;
         return b;
        void f3() {
         System.out.println("f3()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
             return;   // this return clobber the unchecked exception
        void f4() {
         System.out.println("f4()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
        public static void main(String[] args) {
         Finally f = new Finally();
         f.test();
    /code]
    Here are the results:test()
    f1()
    result = 0
    f2()
    Caught an Exception: java.lang.ArithmeticException: / by zero
    f3()
    f4()
    Caught an Exception: java.lang.ArithmeticException: / by zero
    We see that the devide by zero exception throw by f1() simply vanished, the unintended result 0, instead of the intended result 1, is returned. The test() method did not detect any abnormality in f1(), which is scary. To drive the point home, we try f3() and f4(), which has void return type. A simple return statement in f3() causes exception be lost. The stack frame seems intact, for otherwise, the test() method would exit abruptly before f2() even get a chance to be called.

  • Code causing exceptions at its own sweet time and place

    import java.lang.*;
    class newthread implements Runnable
         Thread t;
         int click=0;
         public volatile boolean running=true;
         newthread(int p)
              t=new Thread(this);
              t.setPriority(p);
         void start()
              t.start();
         public void run()
              while(running)
                   click++;
         void start1()
              running=true;
         void stop()
              running=false;     
    class threadpriority2
         public static void main(String argv[])
              newthread ob1=new newthread(Thread.NORM_PRIORITY+2);
              newthread ob2=new newthread(Thread.NORM_PRIORITY-2);
              ob1.start();
              ob2.start();
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              ob1.stop();
              ob2.stop();
              ob2.t.setPriority(Thread.NORM_PRIORITY+3);      
              ob1.t.setPriority(Thread.NORM_PRIORITY-3);
              ob1.start1();
              ob2.start1();
              ob1.start();
              ob2.start();
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              ob1.stop();
              ob2.stop();
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
    errors during runtime:
    Exception in thread "main" java.lang.IllegalThreadStateException
    at java.lang.Thread.start(Unknown Source)
    at newthread.start(threadpriority2.java:17)
    at threadpriority2.main(threadpriority2.java:77)
    when i run this code it causes exceptions at its own sweet locations when i run it separately.if once it displays some valid input it would then be followed by the exception
    next time if i run it it will throw exception as soon as i run it at the very start without displaying even an iota of valid data like the previous case
    is ti because the os is placing restrictions on the threads growth or something else.incase there is an error in my code it should atleast pop up the exceptions at one particular loaction in the output and not give different outputs

    1) When you post code, please use and tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    wasnt aware of it.will keep it in mind i post nexttime.sorry for the inconvenience[\b]
    3) You have multiple threads, right? The scheduling of which thread gets how much CPU time when is not subject to your control or prediction, so of course you'll see different timings in subsequent runnings of the same code.[b]actually the problem is not with multiple threads showing different times.whats happening is that exceptions are being thrown randomly at runtime.once when i ran it the exception was displayed at the very beginning of the output and the program snapped.next when i ran it first some output which was slated to be displayed got displayed and then the exceptions appeared in the output.now if the exceptions are thrown at the very beginning its obvious theres some problem at the background coz in the second case that never happened[\b]
    i guess the formatting tips have taken effect[:D]

  • [svn:fx-trunk] 5351: Fix for @ copy tag causing first method arg to appear as the last arg in the destination method

    Revision: 5351
    Author: [email protected]
    Date: 2009-03-17 12:51:44 -0700 (Tue, 17 Mar 2009)
    Log Message:
    Fix for @copy tag causing first method arg to appear as the last arg in the destination method
    QE Notes: Some baseline will require updates.
    Doc Notes: None.
    Bugs: SDK-19974
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19974
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java

    Well, putting all that Java code into a JSP was a bad idea in the first place, just on general design principles. But you've done it in such a way that the result of compiling the JSP is malformed Java code. Frankly I would just throw it away and put the Java code into a servlet or some other Java class, where it belongs.
    But if you're really working in a place where nobody has learned anything since 2003, and you're forced to support that old junk, then I would point out that the error occurs before the place which generates this line:
    import java.util.*;You only need to look at two of the thousand lines of code you posted.

  • Service call exception java.lang. missing soap end tag..

    Hi Experts,
    I did the soap to rfc sync interface and Create the java deployble client proxy application in nwds. In Nwds i maintaine the PI parameters message server host,port and exectue the application. it is working fine. but i was deploying the another j2ee engine server messager server host name and port parameters I am getting the error. that is Service call exception java.lang. mising soap end tag.
    Could you help me.
    Thanks & Regards,
    Veera

    hi,
    restarting the java stack would be enough. You can do that at SMICM. Before you should deregister all queues in SMQR so that incoming messages has to wait in the queue. Of coz all synchronous msgs would fail, as well messages going to your Java Inbound Adapters.
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • HELP Puppet plug-in generated an unexpected exception

    A dialog box appeared saying 'puppet plug-in generated an unexpected exception' in the middle of using the puppet tool in After Effects CS6. I pressed ok, then another box appeared saying this is my last chance to save and advised me to save this file as a different name. I did so but when I went to open the file, the first dialog box appeared again and asked me to save the file again.
    I read some where to remove the plug-in; I found all of the plug-ins for after effects, but puppet pin was not there. Would it be under a different name?
    Is there a way I can fix this issue without having to redo my entire file?

    OS? Version of AE? (CS6 but latest build?) Memory? Size of comp?
    Puppet pin can easily run out of memory if you start fooling with the triangle spacing. That's probably it but I have no way to know for sure because I know nothing about your project that would help me solve your problem.

  • LORD - ERP Error ERP_LORD_GET_HEAD caused exception EXC_LORD_NOT_LOADED

    Hello,
    We have an CRM 7.0 system linked to EHP4 ECC.
    We have implemented LEAN Order Interface.
    Now while saving an ERP Sales Order from CRM Screen, it gives an errror saying "ERP Interfaced stopped / failed unexpectedly".
    We have implemented enhancement spot ENH_SPOT_LORD for the same in ECC.
    No Detailed error description is appearing, no application log is being written, neither in ECC nor in CRM.
    Required Switches are also made activated in SWF5. Mapping Structures are also mapped in LORD_MAPPING and LORD_MAPPING_RO.
    error message that I get is : ERP_LORD_GET_HEAD caused exception EXC_LORD_NOT_LOADED
    Can some1 please help the BADI's and the mandatory methods that needs to be over written in Enhancement.
    Or can some1 please tell where I am going wrong?
    Thanks & Regards,
    Narendra.

    Hi Narendra,
    Did you get a solution to this please?
    Thks,
    William

  • I cannot pay for subscription cause the system says the address for the invoice doesn't correspond to my credit card

    i cannot pay for subscription cause the system says the address for the invoice doesn't correspond to my credit card. It's not possible, my credit card doesn't correspond to any address

    These transactions help Adobe confirm that the credit card used is valid and not reported as lost or stolen. The transaction isn't charged to your account, and once your credit card company verifies it, Adobe removes the charge.
    http://helpx.adobe.com/x-productkb/policy-pricing/adobe-stores-online-order-payment-faq.ht ml
    You can also contact Adobe Support to place the order.
    Regards
    Rajshree

  • How to set causing Exception correctly?

    I'm trying to nest exceptions. I've written a JUnit tests which does this, but while it works for simple nesting, it doesn't for my more complex Exception.
    The following works:
            Exception e1 = new Exception("bla");
            Exception e2 = new Exception("whatever");
            e1.initCause(e2);
            Assert.assertEquals(e2, e1.getCause());
            Exception e3 = new Exception("yet another exception");
            e2.initCause(e3);
            Assert.assertEquals(e3, e1.getCause().getCause());
            Exception e4 = new Exception("yawn");
            e3.initCause(e4);
            Assert.assertEquals(e4, e1.getCause().getCause().getCause());The following doesn't:
         * The exception to use when a Hibernate transaction can't be ended.
         * The causes of this are created according to the given exceptions.
         * If <code>exception</code> exists:
         * <pre>
         * this
         * |
         * +--> exception
         *      |
         *      +--> hibernateException1
         *           |
         *           +--> hibernateException2 (if it exists)
         * </pre>
         * If <code>exception</code> is <code>null</code>:
         * <pre>
         * this
         * |
         * +--> hibernateException1
         *      |
         *      +--> hibernateException2 (if it exists)
         * </pre>
         * @param errorMessage The error message to show
         * @param exception The exception coming from the business process, which may be <code>null</code>
         * @param hibernateException1 The first Hibernate exception, which <strong>must exist</strong>
         * @param hibernateException2 The second Hibernate exception, which may be <code>null</code>
        public RecoverableSystemException(String errorMessage, Exception exception, HibernateException hibernateException1, HibernateException hibernateException2) {
            super(errorMessage, getCause(exception, hibernateException1, hibernateException2));
         * Gets the causing exception for {@link #RecoverableSystemException(String, Exception, HibernateException, HibernateException)}.
         * @param exception The exception coming from the business process, which may be <code>null</code>
         * @param hibernateException1 The first Hibernate exception, which <strong>must exist</strong>
         * @param hibernateException2 The second Hibernate exception, which may be <code>null</code>
         * @return The causing exception to use for the constructor
        private static Exception getCause(Exception exception, HibernateException hibernateException1, HibernateException hibernateException2) {
            if (hibernateException2 != null && hibernateException1 != null) {
                hibernateException1.initCause(hibernateException2);
            if (exception == null) {
                return hibernateException1;
            else {
                if (hibernateException1 != null) {
                    exception.initCause(hibernateException1);
                return exception;
        }with the test looking like this:
            this.hibernateException1 = new HibernateException("h1");
            this.hibernateException2 = new HibernateException("h2");
            this.businessProcessException = new Exception("e1");
            RecoverableSystemException recoverableSystemException = new RecoverableSystemException("Test", null, this.hibernateException1, this.hibernateException2);
            Assert.assertEquals("Checking Hibernate exception 1", this.hibernateException1, recoverableSystemException.getCause());
            // THIS FAILS
            Assert.assertEquals("Checking Hibernate exception 2", this.hibernateException2, recoverableSystemException.getCause().getCause());Any help would be greatly appreciated!

    initCause is rarely if ever used. It is possible that the way HibernateException is written does not support the use of this call. Have a look at its source to find out if it does.

  • Error message: (translated from Dutch) "Cannot find corresponding style page for media query"

    Error message: (translated from Dutch) "Cannot find corresponding style page for media query"(see image)
    I cannot find what is wrong with this page: steun sesem
    This message does not appear on the other pages of this site..
    What do I wrong??
    Thanks in advance!
    Martien

    There are two things that are probably causing this error.
    Line 22 in your HTML looks like this:
    </style><!--[if lt IE 9]>
    You need to remove the closing style tag:
    </style><!--[if lt IE 9]>
    Also in sesem.css, there's a missing closing brace on line 486:
    .footer {
      font-size: 1.1em;
      line-height: 1.4em;
      color: #878787;
      text-align: center;
    }  // <---- Missing closing brace
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    There are other problems in your CSS, but fixing those two items should put you back on the right track.

  • Validation error for tag cfloop

    Hi All,
    Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php so CF isn't mind blowing to me (in its simple form).
    I've downloaded my site on to my computer to run a local copy that I can hack to pieces if needs be.  For some reason, I have a few problems with the site running locally.  The first error I'm getting is a Attribute validation error for tag cfloop.
    Basically, index.cfm has this bit of code in it:
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_GetFeaturedWineries">
    </cfinvoke>
    Ok, easy enough.  Anyway, there's a call down the page to:
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    Within displayFeaturedWineries.cfm is the code that calls the stored proc invoked above:
    <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Bam, that's where the error occurs.  "The value of the attribute query, which is currently getFeaturedWineries_qry, is invalid.
    What???  The stored proc exists and it only returns two records (which begs me to wonder why you would have startrow and endrow but anyway, it doesn't work with or without it).
    The other interesting thing is that this works on production, NO PROBLEM!!!  WTF?  How can it work on production but not locally.
    The only thing I'm starting to think is:
    a)  I've missed a setting somewhere in CF or
    b)  I'm running Apache as compared to IIS or
    c)  I'm running SQL 2008 and CF 9 which will no doubt be different to the production host server.
    Should B or C be causing THAT type of problem??
    Thanks,
    Matt

    I'm not sure what code apart from the above is going to show you what you could possibly need to solve this, but here goes.  The following is only snippets of the code, but they are the relavant snippets.  Other stored procs work.  The cfdump for getFeaturedWineries_qry shows 'usp_getFeaturedWineries'.  I know its there because I've been unable to run "EXEC usp_getFeaturedWineries" after copying it straight out of the code.  As previously stated, there are other stored procs which are running fine.
    datasets.cfc
        <cffunction name="storedProcedure">
            <cfargument name="storedProcedure" required="Yes" type="string">
            <cfstoredproc procedure = "#ARGUMENTS.storedProcedure#"
                          datasource = "#REQUEST.DSN_NAME#"
                          username   = "#REQUEST.DSN_USER#"
                          password   = "#REQUEST.DSN_PASS#"
                          returncode = "Yes">
                <cfprocresult name="storedProcedure" resultset="1">
            </cfstoredproc>
            <cfreturn storedProcedure>
        </cffunction>
    application.cfm
        <!--- DATA SOURCE VARIABLES --->
        <cfset DSN_NAME = "boutiqueWineriesTest">
        <cfset DSN_USER = "coldfusion">
        <cfset DSN_PASS = "coldfusion">
    index.cfm
    <cfobject component="#COMP_REF#.datasets" name="datasets">
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_getFeaturedWineries">
    </cfinvoke>
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    displayFeaturedWineries.cfm
             <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Attribute validation error for tag cfloop.
    The value of the attribute query, which is currently  getFeaturedWineries_qry, is invalid.                                                                                  The error occurred in C:\apps\iishome\includes\displayFeaturedWineries.cfm:  line 33
    Called from C:\apps\iishome\index.cfm: line 399
    Called from C:\apps\iishome\index.cfm: line 79
    Called from C:\apps\iishome\index.cfm: line 1
    31 :      <tr>
    32 :           <td width="626" colspan="3" class="productCenter_bg2">
    33 :          <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    34 :              <div class="productCennews">
    35 :                  <table border="0" cellspacing="0" cellpadding="0">

  • Exception CX_SY_MOVE_CAST_ERROR when Process Reassignments for Key Date Results

    Hi Experts,
    I got an exception error when process reassignments for key date results(transaction code /BA1/FG_PR_KR_REASS) in BANK ANALYZER, did anyone get the same problem before? any solutions?
    the process sequences is listed below:
    1,,Set SDL Timestamp,,              /BA1/B0_CLOSE_SDL
    2,,Generate Positions,,              /BA1/F2_PB_PR
    3,,Aggregate Financial Transactions,,,,          /BA1/FG_PR_FT
    4,,Prepare Business Transactions for Aggregation,,    /BA1/FG_PR_BT_PRE
    5,,Process Reassignments for Business Transactions,,    /BA1/FG_PR_RABT
    6,,Aggregate Business Transactions,,/BA1/FG_PR_BT
    7,,Process Reassignments for Key Date Results,,    /BA1/FG_PR_KR_REASS
    7.a),,Subcomponent view,,subcomponent=S_SVAC01 ,,OK
    7.b),,Subcomponent view,,subcomponent=S_SVFT01 ,,Exception
    I nenver changed subcomponent settings, they are all SAP delivered.
    Exception CX_SY_NO_HANDLER: An exception with the type
    CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor
    declared in a RAISING clause
    Message no. /BA1/AL_X0_M_H000
    Exception CX_SY_MOVE_CAST_ERROR: Source type
    \CLASS-POOL=/BA1/CL_AL_FG_MD_SUB_CMP_VIEW\CLASS=LCL_SCV_FT2AGGRO is not
    compatible, forthe purposes of assignment, with target type \INTE
    Message no. /BA1/AL_X0_M_H000
    Thanks!

    Hi Abhi,
    in do_prepare_output you are getting mixed entity which is combination of bol entity and value node.
    you can get the bol entity from mixed node by calling a method get_model_node similarly to get value node entity get_value mode method is available check the class CL_BSP_WD_MIXED_NODE methos, you will get an idea.
    Cheers,
    Sumit Mittal

Maybe you are looking for

  • Resizing datafiles in oracle 10g

    Hi, My total datafile size was showing around 100g (physical file size). But when actually query dba_segments to see how much tables and indexes are occupying it is coming around max of 30g. So how can i reclaim the remaining datafile size. As i know

  • Error building RT2860 WLAN driver in kernel 2.6.18-128.2.1.4.25.el5.i686

    Hello, I installed VM Server v2.2.1 (kernel 2.6.18-128.2.1.4.25.el5.i686) and am trying to build the RT2860 WLAN driver from source (2010_07_16_RT2860_Linux_STA_v2.4.0.0). I installed package kernel-ovs-devel-2.6.18-128.2.1.4.25.el5.i686 and when I r

  • Why do we use barcodes in scripts.....

    Hi experts,             I want to know the reason why we use barcodes in scripts and smartforms.Generally barcodes are used to print Material no and batch numb on covers of any product.So what is the neccessity to print these in scripts and smartform

  • Reusing Integration content

    I want to reuse objects from another software component in BPM.  I need to create Abstract interface based on message type from another SWCV. But I cannot choise his SWCV in  inteface creation window. I can choise object from my own SWCV. Is there a

  • Here's a bit of a gotchya!

    So isn't it great that we can install on two machines now and use one at a time of course? Anyway, I thought I would utilize the ability to share my various presets and KCs between my machines, when I discovered that I couldn't. (was trying to simply