Getting NoSuchObjectInTable Exception though getting reference to remoteObj

This is part of my BE final year project
My RMI agent is working, it is getting Remote reference to my FileTransfer agent
but while executing method "connectAgent" is not working
it says
"NoSuchObjectInTable" exception type
donno what is prob with it
and more over sometime it works too
can ANYBODY PLS SUGGEST ANY SOLUTION
PLS REPLY SOON
I HAVE MY SUBMISSIONS DATE VERY CLOSE
MAN THANKS IN ADVANCE
best regards
this registers my FileTransferAgnet to registry
public FileTransferAgent()
        try
            LogManager logManager=new LogManager();
            disp=new StatusDisplay();
            address=logManager.readLogContent("environment_log\\EnvironmentConfig.xml", "local_dir_ip");
            int port=Integer.parseInt(logManager.readLogContent("environment_log\\EnvironmentConfig.xml", "local_registrar_port"));
            Registry registry=LocateRegistry.getRegistry(address,port);
            registrar=(LocalRegistrarInterface)registry.lookup("LocalRegistrar");
            disp.write("Registrar#"+registrar);
            System.out.print("Registrar#"+registrar);
            if(registrar.isAgentAlive(classString))
               agent=(FileTransferAgentInterface)registrar.getAgent(service,address);
               System.out.print("Got from registry"+agent);
               disp.write("Got from registry"+agent);
            else
                registrar.registerAgent(classString,this,0,null,null);
                registrar.registerService(service,classString);
                agent=(FileTransferAgentInterface)registrar.getAgent(service,address);
                System.out.print("Registered"+agent);
                disp.write("Registered"+agent);
            while(socketPort<1024)
                socketPort=(int)Math.round(Math.random()*65550);
        catch(Exception e)
            e.printStackTrace();
this will get remote reference and is working fine till Connect Agent method call
public boolean invokeRemoteAgent(String hostName,boolean isIPAddress)
        try
            UniversalRegistrarInterface uniReg=registrar.getUniversalRegistrarInterface();
            System.out.println(uniReg);
            int port=uniReg.getLocalDirPort(hostName,isIPAddress);
            String addr="";
            if(!isIPAddress)
            addr=uniReg.getIP(hostName);
            else
            addr=hostName;
            LocalRegistrarInterface regi=registrar.getLocalRegistrarInterface(addr, port, null);
            System.out.println("\n\n\nRemoteLocalRegistrar: "+regi);
            System.out.println(regi.isAgentAlive(classString));
            if(!regi.isAgentAlive(classString))
                regi.invokeAgent("framework.agents.FileTransferAgent", service);
            remoteAgent=(FileTransferAgentInterface)regi.getAgent(service,address);
            System.out.println("\n\nremoteAgent: "+remoteAgent);
            serverSock=new ServerSocket(socketPort);
            //new Thread(this).start();
            remoteAgent.connectAgent(address, socketPort);
            socket=serverSock.accept();
            System.out.println("Server socket is created at"+address+"#"+socketPort+" \n\nSocket:"+ socket);
            return true;
        catch(Exception e)
            e.printStackTrace();
            return false;
    }root of the problem
public boolean connectAgent(String address, int port)
        try
            Thread.sleep(5000);
            socket=new Socket(address,port);
            in=socket.getInputStream();
            out=socket.getOutputStream();
            System.out.println("\n\n************Connected at"+address+"#"+port);
            new StatusDisplay().write("Connected at"+address+"#"+port);
            return true;
        catch(Exception e)
            e.printStackTrace();
            return false;
    }Edited by: RiteshMModi on Apr 14, 2008 4:12 PM

see the following output I get
Proxy[FileTransferAgentInterface,RemoteObjectInvocationHandler[UnicastRef [liveR
ef: [endpoint:[172.168.0.15:1073](remote),objID:[-7c4f6d64:119558c6a45:-7fd6, 24
63486946656381430]]]]]
java.rmi.NoSuchObjectException: no such object in table
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unkn
own Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
        at $Proxy1.createFile(Unknown Source)
        at TestingFTA.main(TestingFTA.java:37)This means that I am getting reference to the remote FileTransferAgent , it is printing it, till this point all fine
but as soon as i invoke any method using the same object, it throws exception as NoSuchObject

Similar Messages

  • Using SMTP should I get an Exception for wrong recipitients?

    Hi,
    I'm testing JavaMail 1.3.2.
    Once I give a fake recipitients, in the TO address, my email is posted correctly.
    I have tried with severals SMTP server and I get any error.
    I don't remember, if I should get an exception like SendFailedException.
    I attach the code, I use for this test.
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.event.TransportEvent;
    import javax.mail.event.TransportListener;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.event.TransportEvent;
    import javax.mail.event.TransportListener;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    public class MailExample implements TransportListener {
         public MailExample() {
              super();
         public void test() throws Exception {
              // Get system properties
              Properties props = System.getProperties();
              // Setup mail server
              props.put("mail.smtp.host", <SMTP_SERVER>);
              // Get session
              Session session = Session.getInstance(props, null);
              session.setDebug(true);
              // Define message
              MimeMessage message = new MimeMessage(session);
              message.setFrom(new InternetAddress(<SENDER_ADDRESS>));
              message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(
                        ""+new Date().getTime()+"@thisisnotarealaddressihope.com", false));
              message.setRecipients(Message.RecipientType.BCC, InternetAddress.parse(
                        <BCC_ADDRESS>, false));
              message.setHeader("X-Mailer", "JavaMail API");
              message.setSentDate(new Date());
              message.setSubject("Hello JavaMail");
              message.setText("Welcome to JavaMail");
              // Send message
              Transport transport = session.getTransport("smtp");
              transport.connect();
              transport.addTransportListener(this);
              transport.sendMessage(message, message.getAllRecipients());
              transport.close();
              System.out.println("\nMail was sent successfully.");
         public static void main(String[] args) throws Exception {
              MailExample example = new MailExample();
              example.test();
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messageDelivered(javax.mail.event.TransportEvent)
         public void messageDelivered(TransportEvent arg0) {
              System.out.println("messageDelivered");
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messageNotDelivered(javax.mail.event.TransportEvent)
         public void messageNotDelivered(TransportEvent arg0) {
              System.out.println("messageNotDelivered");
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messagePartiallyDelivered(javax.mail.event.TransportEvent)
         public void messagePartiallyDelivered(TransportEvent arg0) {
              System.out.println("messagePartiallyDelivered");
      Regards,
    Manu

    I agree with japamac.
    If you're happy with your Quad G5 and don't plan to upgrade software any time soon, then that is the more economical option. Mini's are great, but I'd say a G5 is more flexible and likely faster and more powerful after you upgrade. I just upgraded the old memory in my dual G5 (from OWC) and that alone has given me a slight speed boost and definitely a stability boost. Can I assume you are planning to use the SSD as a boot disk with your OS and core programs, and a secondary HD as storge for your files?
    http://eshop.macsales.com/shop/SSD/OWC/Mercury_6G/
    http://eshop.macsales.com/shop/SSD/PCIe/OWC/Mercury_Accelsior/RAID
    For what it's worth, I've heard good things about Momentus hybrid drives as well. Nearly the performace of a SSD, with more storage and a lower price tag. I can't speak to compatibility with your system though.
    http://www.seagate.com/internal-hard-drives/laptop-hard-drives/momentus-xt-hybri d/
    Message was edited by: Kort

  • Get the Exception:invalid dynamic status

    I have the problem that when I use "Connection.close()" to close the ODBC connection, I get the exception
    "[Microsoft][ODBC Microsoft Access driver]invalid dynamic status"
    I have tested several cases,
    the problem is when I open the ResultSet, then I cannot close the connection.
    The Following is my code:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection connect=DriverManager.getConnection("jdbc:odbc:final_year");
    Statement state=connect.createStatement();
    connect.setAutoCommit(false);
    ResultSet rs=state.executeQuery("Select .....");
    if (rs.next)
    do the code
    rs.close();
    state.close();
    connect.close();
    when the program run at "connect.close()", it throws Exception

    just check whether it works when the autoCommit() is set to true or
    either commit or roll back before closing the connection

  • Error getting application exception message from client EJB 3

    Hi, somebody nkow what is the error?
    I have this simple session bean deploy in a jboss 4.0.5 GA application server
    My interface:
    package server.ejb.usuarios;
    import javax.ejb.Remote;
    @Remote
    public interface Prueba {
         public void getError() throws Exception;
    }My Session bean implementation:
    package server.ejb.usuarios;
    import javax.ejb.Stateless;
    import server.ejb.usuarios.Prueba;
    public @Stateless class PruebaBean implements Prueba {
         public void getError() throws Exception {
              throw new Exception("Mensaje de error");
    }Simple, i can deploy this bean on my application server, now i have this client code:
    package clientold;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import server.ejb.usuarios.Prueba;
    public class MainPruebaError {
          * @param args
         public static void main(String[] args) {
              Context ctx;
              try {
                   ctx = getInitialContext();
                   Prueba pruebaSession = (Prueba) ctx.lookup("PruebaBean/remote");
                   pruebaSession.getError();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch(Exception e){
                   System.out.println("Get error from server: " + e.getMessage());
                   e.printStackTrace();
         private static Context getInitialContext() throws NamingException {
              Properties prop = new Properties();
              prop.setProperty("java.naming.factory.initial",
                        "org.jnp.interfaces.NamingContextFactory");
              prop.setProperty("java.naming.provider.url", "127.0.0.1:1099");
              prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              return (new InitialContext(prop));
    }and my client catch the exception but i can�t get the correct exception message. I need pass custom message from my server to my clients and wrap it in a exception, but when i run this example got the next output:
    Get error from server: [Ljava.lang.StackTraceElement;
    java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
         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:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
         at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
         at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
         at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
         at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
         at org.jboss.remoting.Client.invoke(Client.java:525)
         at org.jboss.remoting.Client.invoke(Client.java:488)
         at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
         at $Proxy0.getError(Unknown Source)
         at clientold.MainPruebaError.main(MainPruebaError.java:21)What is the problem??, i must see on the output
    Get error from server: Mensaje de errorbut i have :
    Get error from server: [Ljava.lang.StackTraceElement;why???, is only a simple application exception and don,t work, somebody can help me??
    i have tried to use an interceptor class for get the exceptions and work, but without interceptor, dont work
    thanks

    I can resolve this problem change the JDK version used to develop my clint application and to run the jboss application server.
    Current, in JBoss 4.0.5, the JDK requirement is JDK 5, and i was using JDK 6.

  • HT1725 I can't get Netflix even though it shows I paid. It's supposed to automatically renew in iTunes.

    I can't get Netflix even though it shows I paid two days ago. It's supposed to automatically renew in iTunes. Netflix says it's an Apple communication problem. They had a live person tell me so I believe them.

    That file could be set as a Launch Agent or Daemon in your ~/Library or /Library, You could try to look for it or Safeboot your computer and then empty the trash. Safebooting disables Launch Agents/Daemon and Third Party Kernal extensions. Here's the article to Safeboot OS X: What is Safe Boot, Safe Mode? - Apple Support

  • Synchronous scenario(ABAP proxy to HTTP_AAE) getting error exception as "Message Expired Exception"

    Dear All,
    I have done all the configuration for ABAP proxy scenario using AAE/ICO as per the below "how to guide" using SOAP as sender adapter using xi protocol. My SAP PI is 7.4 dual stack system. here third party is not a webservice its HTTP based we server so no wsdl.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
    However after running the scenario from ECC I am getting the exception as "Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 53289257-97e0-06d0-e100-00000a70d384(OUTBOUND) expired.". I do not have any connection problem to third party(bank) URL. moreover I am able to get the response from bank using classical scenario s in PI, but the response message is not getting pushed to ECC, rather its reaming in PI SXMB_MONI with status "Log version".
    Thats the reason I am trying to do using ICO, but using ICO PI is not even sending the request out of PI to bank. Please see the below receiver communication channel message log.
    Thanks,
    Farhan

    Hi,
    As per the log, the message has started 23:18:02 and failed at 23.23:02 it took 5min time, if message is not process certain time this kind of errors comes up. Have you changed adapter type for existing SOAP communication channel or created new? provide complete log of the message from starting time to ending time if possible.

  • Getting Nullpointer Exception during paypal checkout in ATG 10.0.3

    Hi All,
    I have migrate my source form ATG9.4 to Atg 10.0.3. During checkout when I select paypal gateway for checkout I am getting NullPointerException. Same code is running successfully in ATG9.4 . Can anyone help me why I am getting this exception? I am attaching the log also.
    2013-02-08 03:09:09,171 INFO [nucleusNamespace.atg.commerce.order.purchase.PaymentGroupFormHandler] (ajp-172.18.0.126-10109-7) CMSPaymentGroupFormHandler.handleCheckoutWithPayPal.Profile Id (setExpressCheckoutRequest.getProfile().getRepositoryId()) --> 788240019
    2013-02-08 03:09:09,171 INFO [nucleusNamespace.atg.commerce.order.purchase.PaymentGroupFormHandler] (ajp-172.18.0.126-10109-7) CMSPaymentGroupFormHandler.handleCheckoutWithPayPal.Profile Id set in order (getOrder().getProfileId()) --> 788240019
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:Entering method.
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:there is no PayPal PG on the order. Creating a new one.
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:adding new PayPal PG to the order
    2013-02-08 03:09:09,482 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:PayPal PG is setup as a remainder PG with amount: 13.95
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessorHelper] (ajp-172.18.0.126-10109-7) DEBUG CMSPayPalProcessorHelper.filterNVPForSetExpressCheckout.Start
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessorHelper] (ajp-172.18.0.126-10109-7) DEBUG CMSPayPalProcessorHelper.filterNVPForSetExpressCheckout.End
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:pNameValuePairs: {PAYMENTREQUEST_0_TAXAMT=0.00, CANCELURL=https://qa1.cms.com/cms/paypal/cancel, MAXAMT=16.74, PAYMENTREQUEST_0_SHIPTOZIP=96814, ADDROVERRIDE=1, PAYMENTREQUEST_0_ITEMAMT=8.0, PAYMENTREQUEST_0_SHIPTONAME=Chandra Mohan, L_PAYMENTREQUEST_0_QTY0=1, PAYMENTREQUEST_0_SHIPTOCITY=Honolulu, PAYMENTREQUEST_0_SHIPTOSTREET=700 Keeaumoku Street, EMAIL=null, PAYMENTREQUEST_0_AMT=13.95, PAYMENTREQUEST_0_SHIPTOSTATE=HI, L_PAYMENTREQUEST_0_NUMBER0=A389669863, PAYMENTREQUEST_0_SHIPTOSTREET2=, PAYMENTREQUEST_0_CURRENCYCODE=USD, ALLOWNOTE=0, useraction=continue, PAYMENTREQUEST_0_SHIPPINGAMT=5.95, PAYMENTREQUEST_0_PAYMENTACTION=Order, RETURNURL=https://qa1.cms.com/cms/paypal/continue, PAYMENTREQUEST_0_INVNUM=A389669863, L_PAYMENTREQUEST_0_AMT0=8.0, PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US, L_PAYMENTREQUEST_0_DESC0=cms.com Order #A389669863 (1 items), PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863, METHOD=SetExpressCheckout}
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:encodedString: PAYMENTREQUEST_0_TAXAMT=0.00&CANCELURL=https%3A%2F%2Fqa1.cms.com%2Fcms%2Fpaypal%2Fcancel&MAXAMT=16.74&PAYMENTREQUEST_0_SHIPTOZIP=96814&ADDROVERRIDE=1&PAYMENTREQUEST_0_ITEMAMT=8.0&PAYMENTREQUEST_0_SHIPTONAME=Chandra++Mohan&L_PAYMENTREQUEST_0_QTY0=1&PAYMENTREQUEST_0_SHIPTOCITY=Honolulu&PAYMENTREQUEST_0_SHIPTOSTREET=700+Keeaumoku+Street&PAYMENTREQUEST_0_AMT=13.95&PAYMENTREQUEST_0_SHIPTOSTATE=HI&L_PAYMENTREQUEST_0_NUMBER0=A389669863&PAYMENTREQUEST_0_SHIPTOSTREET2=&PAYMENTREQUEST_0_CURRENCYCODE=USD&ALLOWNOTE=0&useraction=continue&PAYMENTREQUEST_0_SHIPPINGAMT=5.95&PAYMENTREQUEST_0_PAYMENTACTION=Order&RETURNURL=https%3A%2F%2Fqa1.cms.com%2Fcms%2Fpaypal%2Fcontinue&PAYMENTREQUEST_0_INVNUM=A389669863&L_PAYMENTREQUEST_0_AMT0=8.0&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US&L_PAYMENTREQUEST_0_DESC0=cms.com+Order+%23A389669863+%281+items%29&PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863&METHOD=SetExpressCheckout&VERSION=63.0&USER=websup_1286901766_biz_api1.cms.com&PWD=472DXVG5JYQ79HY6&BUTTONSOURCE=SparkRed_ATG_EC_US&
    2013-02-08 03:09:09,500 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[cms].[jsp]] (ajp-172.18.0.126-10109-7) Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at com.sparkred.paypal.PayPalProcessor.call(PayPalProcessor.java:1390)
    at com.sparkred.paypal.PayPalProcessor.callSetExpressCheckout(PayPalProcessor.java:650)
    at com.cms.order.purchase.CMSPaymentGroupFormHandler.handleCheckoutWithPayPal(CMSPaymentGroupFormHandler.java:468)
    at com.cms.order.purchase.CMSPaymentGroupFormHandler.handleMoveToRewards(CMSPaymentGroupFormHandler.java:1600)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at atg.droplet.EventSender.sendEvent(EventSender.java:582)
    at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
    at atg.droplet.FormTag.sendEvents(FormTag.java:649)
    at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:396)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ShoppingContextServlet.service(ShoppingContextServlet.java:106)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ValidateNumericParamsServlet.validateNumberParameter(ValidateNumericParamsServlet.java:149)
    at com.cms.servlet.pipeline.ValidateNumericParamsServlet.service(ValidateNumericParamsServlet.java:102)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:305)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.NetscalerServlet.service(NetscalerServlet.java:101)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ValidateParamsPipelineServlet.service(ValidateParamsPipelineServlet.java:60)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:348)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
    at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
    at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    Thanks
    Chandra Mohan

    If you have its source code try to debug/find why NullPointerException is coming within PayPalProcessor.call() execution. Not sure if it is related to your issue but there is null value for email in the log where the name-value pairs being dumped.
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:pNameValuePairs: {PAYMENTREQUEST_0_TAXAMT=0.00, CANCELURL=https://qa1.cms.com/cms/paypal/cancel, MAXAMT=16.74, PAYMENTREQUEST_0_SHIPTOZIP=96814, ADDROVERRIDE=1, PAYMENTREQUEST_0_ITEMAMT=8.0, PAYMENTREQUEST_0_SHIPTONAME=Chandra Mohan, L_PAYMENTREQUEST_0_QTY0=1, PAYMENTREQUEST_0_SHIPTOCITY=Honolulu, PAYMENTREQUEST_0_SHIPTOSTREET=700 Keeaumoku Street, *EMAIL=null*, PAYMENTREQUEST_0_AMT=13.95, PAYMENTREQUEST_0_SHIPTOSTATE=HI, L_PAYMENTREQUEST_0_NUMBER0=A389669863, PAYMENTREQUEST_0_SHIPTOSTREET2=, PAYMENTREQUEST_0_CURRENCYCODE=USD, ALLOWNOTE=0, useraction=continue, PAYMENTREQUEST_0_SHIPPINGAMT=5.95, PAYMENTREQUEST_0_PAYMENTACTION=Order, RETURNURL=https://qa1.cms.com/cms/paypal/continue, PAYMENTREQUEST_0_INVNUM=A389669863, L_PAYMENTREQUEST_0_AMT0=8.0, PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US, L_PAYMENTREQUEST_0_DESC0=cms.com Order #A389669863 (1 items), PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863, METHOD=SetExpressCheckout}
    You may check if it is related to the NPE by cross verifying it with the environment where it is working fine.

  • Getting Stackclose exception in bluetooth applicaiton!

    Hi,
    All
    I am developing simple file transfer application in which mobile is server and client is pc
    while i am calling Connector.open(url) method after that i will get
    stackclose exception and program stops working.
    and on mobile that is server no exception is thrown.
    i think before opening connection stack close.But how to solve it?
    Help me..
    Thanks in advance..

    Hi,
    because you added the jars to build-path you get no error at build time. But this exception is thrown at runtime.
    You should check whether MDM API is deployed on the server and you are using the same version at build time.
    BR,
    Timo

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • How to get full exception trace

    I am using ATG 10 & weblogic. Getting below exception but it is truncated. i want to see full exception trace. Which log file will have this info.
    java.lang.IllegalArgumentException: java.lang.ClassCastException@10e4a38
    at sun.reflect.GeneratedMethodAccessor666.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at atg.droplet.DropletDescriptor.setPropertyValue(DropletDescriptor.java:817)
    at atg.taglib.dspjsp.SetValueTag.doStartTag(SetValueTag.java:282)
    Truncated. see log file for complete stacktrace
    >

    Stack trace trimming in ATG logs in controlled by the maxLinesInStackTrace and cropStackTrace properties on the ErrorLog, WarningLog, DebugLog and InfoLog component in the Nucleus NameContext (directory) /atg/dynamo/service/logging. I believe that the default setting for cropStackTrace is false, so you should be able to check the ATG logs for complete stack traces.
    In addition, ATG by default is configured to log through the native logging system of the app-server (via the ScreenLog component), and stack trace display and cropping for ScreenLog logging is controlled through the app-server's native logging system.

  • Every action in CSC (ATG 11.1) getting XMLTransform Exception

    Every action in CSC, I am getting following exception.
    /atg/dynamo/droplet/xml/XMLTransform Error transforming XML document: Invalid to flush BodyContent: no backing stream behind it. javax.xml.transform.TransformerException: Invalid to flush BodyContent: no backing stream behind it.
    /atg/dynamo/droplet/xml/XMLTransform at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.postErrorToListener(TransformerImpl.java:792)
    /atg/dynamo/droplet/xml/XMLTransform at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:738)
    /atg/dynamo/droplet/xml/XMLTransform at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:340)
    /atg/dynamo/droplet/xml/XMLTransform at atg.xml.tools.XSLProcessorImpl.process(XSLProcessorImpl.java:595)
    /atg/dynamo/droplet/xml/XMLTransform at atg.xml.tools.XSLProcessorImpl.process(XSLProcessorImpl.java:334)
    /atg/dynamo/droplet/xml/XMLTransform at atg.droplet.xml.XMLTransform.doStreamTransform(XMLTransform.java:996)
    /atg/dynamo/droplet/xml/XMLTransform at atg.droplet.xml.XMLTransform.processXSLTemplate(XMLTransform.java:799)
    /atg/dynamo/droplet/xml/XMLTransform at atg.droplet.xml.XMLTransform.service(XMLTransform.java:679)
    /atg/dynamo/droplet/xml/XMLTransform at atg.servlet.DynamoServlet.service(DynamoServlet.java:152)
    Am I missing anything?
    Thanks

    They go away if you set the ‘useDebugPanelStackMode’ to false in the /atg/svc/agent/ui/AgentUIConfiguration.properties file.
    Probably an issue with the 'flush' in 'WebLogic'.

  • Getting nullpointer exception in Tomcap using getRealPath()

    Hi,
    I have the following code snippet, but getting nullpoint exception when I try to read a file in jsp.
    String realPath = this.getServletConfig().getServletContext().getRealPath("//AUDIT_TRAIL.xml");
    File fileDef = new File(realPath);
    Can someone tell me what I am doing wrong, or how i can read a file in jsp that works in tomcat 5

    why the double slash? / is not a special character ( b]backslash is, and so you would need \\)
    The file is sitting in the root of your web app?
    String realPath = this.getServletConfig().getServletContext().getRealPath("/AUDIT_TRAIL.xml");
    // and if it doesn't work, try this to see what it IS looking up
    String realPath1 = this.getServletConfig().getServletContext().getRealPath("/");
    System.out.println(realPath1);If you ware loading a file, you might consider using the getResourceAsStream() method.
    Cheers,
    evnafets

  • In GP i  am getting Nullpointer Exception

    i created on develpment component in web dynpro.
    In that one comp is created.
    //@@begin others
      private IGPExecutionContext executionContext;
      //@@end
    In that execute is not running.
    public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )
        //@@begin execute()
         this.executionContext = executionContext;
         IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
         GPWebDynproResourceAccessor resourceAccesor =new GPWebDynproResourceAccessor(textAccessor);
         try{
              //wdComponentAPI.getMessageManager().reportSuccess("Execute");
         catch(Exception er){}
        //@@end
    if call complete
    public void complete( )
        //@@begin complete()
         wdComponentAPI.getMessageManager().reportSuccess("Enter");
         try{
              <b>IGPStructure output = executionContext.getOutputStructure();</b>
         catch(Exception ex1){
              wdComponentAPI.getMessageManager().reportSuccess("exce in complete:"+ex1);
    in that bolded line i am getting nullpointer exception.
    Please slove the probelm

    Hi Satya,
    a) you are in the wrong forum
    b) you forgot to "bold" the relevant errornous line
    Regards Mario

  • Exception while getting the server instance. Stateless bean problem

    Hi,
    New to OC4J, I'm moving an ear that was running ok under jboss.
    1- The wep app deploys. This is a piece of code inside the init() method of a struts plugin:
         System.out.println("0");
         AddressFacadeHome addressFacadeHome = HomeFactory.getAddressFacadeHome();
         System.out.println("1.0");
         AddressFacade addressFacade = addressFacadeHome.create();
         System.out.println("1.5");
    2- The code is run when the web app is initialized. This is the error message I get. system.out show that the error occurs on addressFacadeHome.create().
    AddressFacade is a remote/local stateless bean. HomeFactory returns the jndi lookup/narrow of the remote object.
    0
    1.0
    caught exception while getting the server instance null
    java.lang.NullPointerException
    com.evermind.security.User com.evermind.server.ThreadState.getCurrentUser()
    ThreadState.java:637
    com.evermind.security.User com.evermind.server.ThreadState.getUser()
    ThreadState.java:371
    fda.common.address.ejb.interfaces.AddressFacade AddressFacadeHome_StatelessSessionHomeWrapper7.create(
    AddressFacadeHome_StatelessSessionHomeWrapper7.java:66
    void fda.web.oaa.struts.plugin.ApplicationInit.init(org.apache.struts.action.ActionServlet, org.apache
    .struts.config.ModuleConfig)
    void org.apache.struts.action.ActionServlet.initModulePlugIns(org.apache.struts.config.ModuleConfig)
    ActionServlet.java:1105
    void org.apache.struts.action.ActionServlet.init()
    ActionServlet.java:468
    void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
    GenericServlet.java:258
    com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.
    evermind.util.ByteString)
    HttpApplication.java:1956
    com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.
    evermind.util.ByteString)
    HttpApplication.java:4355
    void com.evermind.server.http.HttpApplication.initPreloadServlets()
    HttpApplication.java:4455
    void com.evermind.server.http.HttpApplication.initDynamic(com.evermind.server.http.HttpApplicationConf
    ig)
    HttpApplication.java:662
    void com.evermind.server.http.HttpApplication.<init>(com.evermind.server.Application, com.evermind.ser
    ver.http.HttpSite, com.evermind.server.http.HttpApplicationConfig, java.lang.String, java.lang.String, boolean
    My guess is that it's a jaas issue (because i see security and getCurrentUser), but at init time, no user is authenticated.
    Any clue would be very much appreciated. Let me know if I can provide anything else, such as deployment descriptors.
    Thanks,
    Christophe.

    After spending some time on this, I looked at the source code for com.evermind.server.ThreadState
    This is the code that throws the exception:
    if(applicationThread != null && applicationThread.httpHandler != null && applicationThread.servletInfo != null)
    try
    server = applicationThread.httpHandler.request.getApplication().getApplication().getServer();
    catch(Throwable t)
    System.out.println("caught exception while getting the server instance " + t.getMessage());
    t.printStackTrace(System.out);
    It looks like this method expects a httpRequest, and would find null because I'm in the servlet.init()
    (at least, that's my interpretation)
    I tested my code (the remoteFacade.create()) inside of a jsp, and it worked...
    So, the next logical question is:
    Can I make EJB calls from within the init method of a servlet? (or more specifically from a struts plugin, which I believe should be more or less the same thing)
    If so, do I need to take extra steps?
    Again, any experience/help on this will be much appreciated.
    Thanks,
    Christophe.

  • How to get an exception when casting a generic collection?

    Hi,
    I have a bit of code that looks more or less like this:import java.util.ArrayList;
    import java.util.Collection;
    public class CollectionTest {
         public static void main (String[] args) {
              try {
                   get (Float.class);
              } catch (ClassCastException e) {
                   System.err.println ("Oops");
                   e.printStackTrace (System.err);
              try {
                   Collection<Short> shorts = get (Short.class);
                   for (Short s : shorts) {
                        System.out.println (s);
              } catch (ClassCastException e) {
                   System.err.println ("Oops");
                   e.printStackTrace (System.err);
              try {
                   Collection<Number> numbers = get (Number.class);
                   for (Number number : numbers) {
                        System.out.println (number);
              } catch (ClassCastException e) {
                   System.out.println ("Oops again");
                   e.printStackTrace (System.err);
         public static <T> Collection<T> get (Class<T> clazz) {
              Collection<T> ret = new ArrayList<T> ();
              if (clazz == String.class) {
                   ret.add (clazz.cast ("Test"));
              } else if (clazz == Integer.class) {
                   ret.add (clazz.cast (Integer.valueOf (1)));
              } else if (clazz == Double.class) {
                   ret.add (clazz.cast (Double.valueOf (1.0)));
              } else if (clazz == Float.class) {
                   ret.add (clazz.cast ("Bug")); // Bug here, blatent
              } else if (clazz == Short.class) {
                   ret.add ((T) "Bug"); // Bug here, latent
              } else if (clazz == Number.class) {
                   ret.addAll (get (Integer.class));
                   ret.addAll (get (Double.class));
                   ret.addAll (get (String.class)); // Another bug here, latent
              return ret;
    }Obviously this doesn't compile as-is, I have to add 3 casts towards the end. Then when I add the casts and run the program I discover I have several bugs, some of which are fail-early and some of which lie hidden until the further away from the bug Since I have the type-token, I use it to check the simple cast, but is there any way I can get a failure more or less at the point where the dodgy Collection cast is made?

    OK, sorry not to be clear. My example code is meant to crash on the erroneous casts - clearly a String cannot be cast to a Float, nor a Short. My point is that in one case the code crashes at the point where the cast is made and in another case the code crashes later on. What I want to achieve is this early failure in case of buggy code. Here is a shorter example:import java.util.ArrayList;
    import java.util.Collection;
    public class CollectionTest {     
         public static <T> Collection<T> get (Class<T> clazz) {
              Collection<T> ret = new ArrayList<T> ();
              if (clazz == String.class) {
                   ret.add (clazz.cast ("Test"));
              } else if (clazz == Integer.class) {
                   ret.add (clazz.cast (Integer.valueOf (1)));
              } else if (clazz == Double.class) {
                   ret.add (clazz.cast (Double.valueOf (1.0)));
              } else if (clazz == Number.class) {
                   ret.addAll ((Collection<? extends T>) get (Integer.class));
                   ret.addAll ((Collection<? extends T>) get (Double.class));
                    // This is a bug, but how can I get an exception at this point?
                   ret.addAll ((Collection<? extends T>) get (String.class));
              return ret;
    }If I mistakenly write this code it will compile (with the addition of the appropriate casts). However, my code is buggy and will fail when the user of the collection receives a String when he is expecting a Number. My question is, how can I get my code to fail where I make the erroneous cast? If you look at the code I originally posted I have two casts of the String "Bug", one of which is done by (T) and the other is clazz.cast. The first example fails late and the second fails early - it is this early failure that I would like to achieve, in the case of buggy code, in my example above.
    Am I making sense yet?

Maybe you are looking for

  • How can I use screen share of my mac mini?  Problems validating

    I recently purchased a mac mini to act as my home media server for audio as my airport express was not playing nicely with my Peachtree DAC.  Anyway, I have set up sharing on the mac mini and can't figure out how to connect from my wife's Macbook, or

  • Integration of ABAP and SD?

    The integration points b/w SD module and ABAP? (also specify the underlying databse table names and fields with detail)

  • Any way to customize the headerClick event of an Accordion control

    Hi, Is there any way to control the transition of the accordion headers. I want a confirm message to appear when a header in an accordion control is clicked and if the user selects Yes then only the accordion should open the clicked header portion el

  • Commons-logging Error when starting JRun with Flex

    Created new JRun Server and deployed Flex2 to this server. Receiving this error when starting up this server instance. Starting Macromedia JRun 4.0 (Build 92909), logicerm2 server 07/13 22:23:28 info JRun Naming Service listening on *:2911 07/13 22:2

  • Generic and Flat file extraction

    Hi experts can any body send the Real time scenario for Generic and flat file extraction with examples. Thanks and regrds, satya