Help identifiying this exception

Hello.
I've been working on a project for a while now, that deals with displaying a set of JPGs from a server, then swapping those images with new images, and displaying those. However, I just came across an exception error that I have never got before and have no clue where to start looking. This is exactly what it says:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
Uncaught error fetching image:
java.lang.NullPointerException
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
     at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
     at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
     at sun.awt.image.ImageFetcher.run(Unknown Source)Any ideas? Within the function that loads it and everything, I would call gc() to help my memory managemtn. I first thought that perhaps the gc() was deleting it before it would show it. Yet, I took it out, and it still shows up.
Thanks for ANY help or suggestions on where I could start looking

Ok, so I have an array of images called img[]. I do the following to add an image to the array:
img[i] = getImage(getCodeBase(), images[current_img+i]);
tracker.addImage(img,0);
so, I added a few lines to check if it was null, like you said
if(img[i] != null) {
     g.drawImage(img, 0, 35, this);
Is that what you were referring to, or were you suggesting a different method. And thanks for all the tips guys! Its giving me someplace to start with.

Similar Messages

  • Guys- if u can please help me this exception error...

    guys- this is an assignment for school and i bet there is something that u may consider soooo stupid but i am a beginner and i really dont know how to proceed....
    i have installed tomcat 5.0.12 on my windows xp.
    my java is 2se .
    i have created several serlet pages. in one of them i am suppose to upload a file using multipart-form/data .
    i have imported the related package contains the com.oreilly.servlet.MultipleRequest ( assignment requirement)
    and i had put it in Java2SE\jre\lib\ext directory ( its a jar file)
    i have compile the code with NetBeans IDE 3.5.1 with no errors.
    this is the code for the class Upload ( wich is a servlet):
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.oreilly.servlet.MultipartRequest;
    public class Upload extends HttpServlet
    public void doPost(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException
    res.setContentType("text/html");
    PrintWriter out = res.getWriter();
    try
    // Blindly take it on faith this is a multipart/form-data request
    // Construct a MultipartRequest to help read the information.
    // Pass in the request, a directory to save files to, and the
    // maximum POST size we should attempt to handle.
    // Here we (rudely) write to /tmp and impose a 50 K limit.
    MultipartRequest multi =
    new MultipartRequest(req, "D:/Progrem Files/Tomcat/jakarta-tomcat-5.0.12/webapps/ROOT/tmp", 100 * 1024,
    new com.oreilly.servlet.multipart.DefaultFileRenamePolicy());
    out.println("<HTML>");
    out.println("<HEAD><TITLE>UploadTest</TITLE></HEAD>");
    out.println("<BODY>");
    out.println("<H1>UploadTest</H1>");
    // Print the parameters we received
    out.println("<H3>Params:</H3>");
    out.println("<PRE> bla ");
    Enumeration params = multi.getParameterNames();
    while (params.hasMoreElements())
    String name = (String)params.nextElement();
    String value = multi.getParameter(name);
    out.println(name + " = " + value);
    out.println("</PRE> bla bla ");
    // Show which files we received
    out.println("<H3>Files:</H3>");
    out.println("<PRE> bla bla bla");
    Enumeration files = multi.getFileNames();
    while (files.hasMoreElements())
    String name = (String)files.nextElement();
    String filename = multi.getFilesystemName(name);
    String original = multi.getOriginalFileName(name);
    String type = multi.getContentType(name);
    File f = multi.getFile(name);
    out.println("name: " + name);
    out.println("filename: " + filename);
    if (filename != null && !filename.equals(original))
    out.println("original file name: " + original);
    out.println("type: " + type);
    if (f != null)
    out.println("length: " + f.length());
    out.println();
    out.println("</PRE> 4 bla");
    catch (Exception e)
    out.println("<PRE> error bla bla");
    e.printStackTrace(out);
    out.println("</PRE> error bla bla");
    out.println("</BODY> yoyoyoyoyoyoyoyoyo </HTML>");
    however, when i invoke the servlet , it gives me the following error:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
         com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:222)
         com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:151)
         Upload.doPost(Upload.java:23)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Tomcat logs.
    2003-10-25 12:46:00 StandardWrapperValve[Upload]: Servlet.service() for servlet Upload threw exception
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
         at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:222)
         at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:151)
         at Upload.doPost(Upload.java:23)
         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:284)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)
    well- this is all the information i can give you- please help me with this...by the way the same code was installed on unix machine in my school and it was working properly. i dont know if it means anything..
    all help will be much welcomed and appriciated..
    thank you in advance
    Tino

    When you see this:
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequestit means you've got a CLASSPATH problem.
    The unfortunate thing is that javax.servlet.ServletRequest is in the TOMCAT_HOME/common/lib/servlet.jar. Sounds like you didn't install Tomcat properly.
    Why are you using Tomcat 5.0.12 instead of the stable production version 4.1.27? If you're just a beginner, I'll bet you're not using the features in the latest JSP spec. (You don't even know the old spec yet.) I'd recommend that you uninstall Tomcat 5.0.12 and put up 4.1.27 instead.
    '...I had put it in Java2SE\jre\lib\ext directory ( its a jar file)...' - this is a terrible idea, in my opinion. Do NOT put that JAR in that directory. You should put it in your WEB-INF/lib directory.
    "...Blindly take it on faith this is a multipart/form-data request..." - faith is for religion, not science. This is computer science.

  • Help with this exception calling a WS

    Hello there, i have a stand alone java application that consume a WS deployed in a WLS.
    This call works before... i made some changes in the WS but to the logic not the methods signatures... now i have problems when i want to call... i get this weird Exception... can u help me please to understand it?
    Exception in thread "main" java.lang.ExceptionInInitializerError
         at weblogic.wsee.ws.init.WsDeploymentChain.newClientChain(WsDeploymentChain.java:24)
         at weblogic.wsee.ws.WsFactory.callClientListeners(WsFactory.java:113)
         at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:46)
         at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:149)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:117)
         at com.activacionbb.webservice.cliente.ActivacionWebServices_Impl.<init>(Unknown Source)
         at com.activacionbb.webservice.cliente.ActivacionWebServices_Impl.<init>(Unknown Source)
         at com.activacionbb.mq.Despachador.<init>(Despachador.java:29)
         at com.activacionbb.mq.Despachador.main(Despachador.java:53)
    Caused by: java.lang.ClassCastException: com.bea.xbean.values.XmlTokenImpl
         at weblogic.wsee.tools.wseegen.schemas.impl.ListenerTypeImpl.getListenerClass(ListenerTypeImpl.java:37)
         at weblogic.wsee.ws.init.WsConfigFactory.getDeploymentListenerConfig(WsConfigFactory.java:139)
         at weblogic.wsee.ws.init.WsConfigFactory.load(WsConfigFactory.java:110)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:59)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:45)
         at weblogic.wsee.ws.init.WsConfigManager.<clinit>(WsConfigManager.java:8)
         ... 9 more
    Thanx in advance!!

    Hello there, i have a stand alone java application that consume a WS deployed in a WLS.
    This call works before... i made some changes in the WS but to the logic not the methods signatures... now i have problems when i want to call... i get this weird Exception... can u help me please to understand it?
    Exception in thread "main" java.lang.ExceptionInInitializerError
         at weblogic.wsee.ws.init.WsDeploymentChain.newClientChain(WsDeploymentChain.java:24)
         at weblogic.wsee.ws.WsFactory.callClientListeners(WsFactory.java:113)
         at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:46)
         at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:149)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:117)
         at com.activacionbb.webservice.cliente.ActivacionWebServices_Impl.<init>(Unknown Source)
         at com.activacionbb.webservice.cliente.ActivacionWebServices_Impl.<init>(Unknown Source)
         at com.activacionbb.mq.Despachador.<init>(Despachador.java:29)
         at com.activacionbb.mq.Despachador.main(Despachador.java:53)
    Caused by: java.lang.ClassCastException: com.bea.xbean.values.XmlTokenImpl
         at weblogic.wsee.tools.wseegen.schemas.impl.ListenerTypeImpl.getListenerClass(ListenerTypeImpl.java:37)
         at weblogic.wsee.ws.init.WsConfigFactory.getDeploymentListenerConfig(WsConfigFactory.java:139)
         at weblogic.wsee.ws.init.WsConfigFactory.load(WsConfigFactory.java:110)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:59)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:45)
         at weblogic.wsee.ws.init.WsConfigManager.<clinit>(WsConfigManager.java:8)
         ... 9 more
    Thanx in advance!!

  • Is there anybody can help in this exception

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Exception in JSP: /jsp/register.jsp:19
    16:
    17: <jsp:setProperty name="reg" property="user1" />
    18:
    19: <jsp:setProperty name="reg" property="pass1"/>
    20:
    21: </body>
    22: </html>
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         java.lang.reflect.Method.invoke(Unknown Source)
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:355)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:355)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17

  • Hi i am unable to send mail from yahoo mail id.can any one help on this?

    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    public class MailClient
      public void sendMail(String mailServer, String from, String to,
                                 String subject, String messageBody,
                                 String[] attachments) throws
    MessagingException, AddressException
             // Setup mail server
             Properties props = System.getProperties();
             props.put("mail.smtp.host", mailServer);
             // Get a mail session
             Session session = Session.getDefaultInstance(props, null);
             // Define a new mail message
             Message message = new MimeMessage(session);
             message.setFrom(new InternetAddress(from));
             message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
             message.setSubject(subject);
             // Create a message part to represent the body text
             BodyPart messageBodyPart = new MimeBodyPart();
             messageBodyPart.setText(messageBody);
             //use a MimeMultipart as we need to handle the file attachments
             Multipart multipart = new MimeMultipart();
             //add the message body to the mime message
             multipart.addBodyPart(messageBodyPart);
             // add any file attachments to the message
             addAtachments(attachments, multipart);
             // Put all message parts in the message
             message.setContent(multipart);
             // Send the message
             Transport.send(message);
         protected void addAtachments(String[] attachments, Multipart multipart)
                         throws MessagingException, AddressException
             for(int i = 0; i<= attachments.length -1; i++)
                 String filename = attachments;
    MimeBodyPart attachmentBodyPart = new MimeBodyPart();
    //use a JAF FileDataSource as it does MIME type detection
    DataSource source = new FileDataSource(filename);
    attachmentBodyPart.setDataHandler(new DataHandler(source));
    //assume that the filename you want to send is the same as the
    //actual file name - could alter this to remove the file path
    attachmentBodyPart.setFileName(filename);
    //add the attachment
    multipart.addBodyPart(attachmentBodyPart);
    public static void main(String[] args)
    try
    MailClient client = new MailClient();
    String server="pop3.yahoo.com";
    String from="[email protected]";
    String to = "[email protected]";
    String subject="Test";
    String message="Testing";
    String[] filenames = {"c:\\gopi.txt"};
    client.sendMail(server,from,to,subject,message,filenames);
    catch(Exception e)
    e.printStackTrace(System.out);     
    while compliling this one its compiled succesfully but i am getting exception at run time like..D:\mail>java MailClient
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/activation/re
    gistries/MailcapFile
    at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:275)
    at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
    at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
    at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
    at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
    at javax.activation.DataHandler.getContent(DataHandler.java:501)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1253)
    at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)
    at javax.mail.Transport.send(Transport.java:97)
    at MailClient.sendMail(MailClient.java:35)
    at MailClient.main(MailClient.java:72)
    can any one help on this....plz
    thanks in advance
    Edited by: Konapalli.Gopi on May 20, 2010 5:42 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Something's wrong with your CLASSPATH.
    If you're not using JDK 6, you need to include activation.jar in your CLASSPATH.
    If you've got any other jar files that define the javax.mail.* or javax.activation.* classes
    in your CLASSPATH (such as javaee.jar or j2ee.jar), remove them.

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • [Help] Weblogic throws exception under load testing

    Hello All,
    I have developed an application using struts 1.1 framework and deployed
    it on weblogic 8.1. The application works fine. But when we load test
    the application, weblogic throws an exception. I am not able to
    understand why is weblogic throwing this exception. The exception
    doesn't originate from my code
    I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i.
    Please help me ... I will be very gratefull for your help.
    Here is the stack trace :
    <Jan 15, 2004 10:02:28 PM IST> <Error> <HTTP> <BEA-101020>
    <[ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)]
    Servlet failed with Exception java.lang.NullPointerException
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
    rvle
    tStubImpl.java:1053)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :387)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :305)
    at
    weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques
    tDis
    patcherImpl.java:382)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
    bjec
    t.java:317)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
    rImp
    l.java:286)
    at
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
    a:10
    69)
    at
    org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
    esso
    r.java:274)
    at
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
    oces
    sor.java:455)
    at
    org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
    Requ
    estProcessor.java:320)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
    279)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
    rvle
    tStubImpl.java:1053)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :387)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :305)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
    un(W
    ebAppServletContext.java:6310)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
    bjec
    t.java:317)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
    etCo
    ntext.java:3622)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
    java
    :2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Regards,
    Abhishek.

    Hello All,
    I have developed an application using struts 1.1 framework and deployed
    it on weblogic 8.1. The application works fine. But when we load test
    the application, weblogic throws an exception. I am not able to
    understand why is weblogic throwing this exception. The exception
    doesn't originate from my code
    I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i.
    Please help me ... I will be very gratefull for your help.
    Here is the stack trace :
    <Jan 15, 2004 10:02:28 PM IST> <Error> <HTTP> <BEA-101020>
    <[ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)]
    Servlet failed with Exception java.lang.NullPointerException
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
    rvle
    tStubImpl.java:1053)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :387)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :305)
    at
    weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques
    tDis
    patcherImpl.java:382)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
    bjec
    t.java:317)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
    rImp
    l.java:286)
    at
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
    a:10
    69)
    at
    org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
    esso
    r.java:274)
    at
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
    oces
    sor.java:455)
    at
    org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
    Requ
    estProcessor.java:320)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
    279)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
    rvle
    tStubImpl.java:1053)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :387)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
    java
    :305)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
    un(W
    ebAppServletContext.java:6310)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
    bjec
    t.java:317)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
    etCo
    ntext.java:3622)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
    java
    :2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Regards,
    Abhishek.

  • Need Help On this(solve these 2 applications)

    Hello All,
    Find below the questions for Snooker scoreboard application programming in java and second one is an applet. Please solve the two applications and send me the code immediately to [email protected] and [email protected] .
    I have the exam tomorrow and any help regarding this is appreciated.
    1)
    UNIVERSITY OF SUNDERLAND
    SCHOOL OF COMPUTING AND TECHNOLOGY
    MODULE CODE:      COMM3C
    MODULE TITLE:      Java Network Programming
    MODULE ASSESSOR:      Adrian Wadsworth
    ASSESSMENT:      One of Two (Referred/Deferred)
    TITLE OF ASSESSMENT:      Individual Assignment Snooker Scoreboard Application (4 pages)
    MODERATED:      May 2006
    PLEASE READ ALL INSTRUCTIONS AND INFORMATION CAREFULLY.
    This assignment contributes 50% to your final module mark.
    Please ensure that you retain a duplicate of your assignment. We are required to send samples of student work to the external examiners for moderation purposes. It will also safeguard in the unlikely event of your work going astray.
    THE FOLLOWING LEARNING OUTCOMES WILL BE ASSESSED:
    Knowledge of:
    a.      Critical awareness of the issues and problems associated with the development of programs to run in a networked environment      �9
    b.      Critical understanding of the Java and the web      �9
    c.      Architectural issues of relating to distributed systems
    d.      Critical awareness of network programs and network protocols      �9
    and ability to:
    e.      Design and implement a Java applet or application      �9
    f.      Critically evaluate network technologies for specific requirements
    g.      Design test a Java based on-line systems      �9
    h.      Work as part of a team to develop a component based system.
    i.      Use and critically evaluate Software Engineering tools      �9
    IMPORTANT INFORMATION
    You are required to submit your work within the bounds of the University Infringement of Assessment Regulations (see your Programme Guide). Plagiarism, paraphrasing and downloading large amounts of information from external sources, will not be tolerated and will be dealt with severely. Although you should make full use of any source material, which would normally be an occasional sentence and/or paragraph (referenced) followed by your own critical analysis/evaluation. You will receive no marks for work that is not your own. Your work may be subject to checks for originality which can include use of an electronic plagiarism detection service.
    Where you are asked to submit an individual piece of work, the work must be entirely your own. The safety of your assessments is your responsibility. You must not permit another student access to your work.
    Where referencing is required, unless otherwise stated, the Harvard referencing system must be used (see your Programme Guide).
    Submission Date and Time      Before 4pm, Friday 1st September 2006
    Submission Location      LRC, Reg Vardy Centre, St Peters Campus
    Java Network Programming (COMM3C)
    Assignment 1 (Referred/Deferred) May 2006
    Snooker Scoreboard Application
    This assignment is designed to consolidate the knowledge of the Java programming language you have gained in the first half of the course and to develop your skills in using basic Java input/output facilities, designing graphical user interfaces and implementing client-server systems.
    The Application (70 marks)
    You will develop a client/server based scoreboard application which will present and log the activity of a snooker match which may comprise a maximum of 15 frames. Your application must be capable of performing the following functions:
    (a) Displaying the current score of each player for the current frame.
    (b) Displaying the break for the player currently at the table.
    (c) Displaying a record of the sequence of balls potted with their values during each break for each player during the current frame.
    (d) Logging, and ultimately storing on a floppy disc in drive A, a record of the sequence of events occurring during a frame. This would include: fouls committed, balls potted with their values and which player potted them for each frame completed. This is intended to provide the definitive record for the frame. Note that, with the exception of player names, match identification and the date, no other information (such as the frame score) should be stored on disc.
    (e) Recalling a frame's record from disc. The application must be able to process the data recalled from disc for any chosen frame and provide the following information:
    i) the frame score and the highest break for each player,
    ii) the number of points conceded as fouls by each player,
    iii) the number of times each player visited the table,
    vi) the number of times each colour ball (not reds or free balls) was
    v) potted in the frame as a whole by each player.
    The application must be developed as a client/server system using the loopback address so the client and the server can be run on the same computer.
    The client will include the graphical User Interface (GUI) which will facilitate the entry of player names, a method of scoring, a method of displaying all required information and interaction with the server to allow data to be sent to it and recalled from it. See above for detailed requirements.
    The server must facilitate the storage to and retrieval from floppy disc of match data and interaction with the client. The server need only be capable of interacting with a single client.
    The Application (continued)
    In addition to your report (see next page), you must submit a 3.5 inch virus checked floppy disc (CD's are NOT acceptable) which must contain four folders, described below, and nothing else.
    Folder 1: The clientSource folder. Must contain all client source files and nothing else.
    Folder 2: The clientClass folder. Must contain all client class files and nothing else.
    Folder 3: The serverSource folder. Must contain all server source files and nothing else.
    Folder 4: The serverClass folder. Must contain all server class files and nothing else.
    Any number of client classes may be developed, but the class containing the client's main method must be called client. Any number of server classes may be developed, but the class containing the server's main method must be called server.
    All applications must be executable directly from the command prompt window, without the use of an additional Integrated Development Environment such as Eclipse or JBuilder. You must clearly identify which version of Java you have used to develop your application.
    Note that it will not be possible for you to include class files corresponding to source files which do not compile correctly. You must, however, include all of your source files in the appropriate folder regardless of whether or not they compile.
    You should place the floppy disc in a small envelope and tape it to the front sheet of your report so that no text on the front sheet is obscured. Do not apply tape to the disc itself.
    Report Submission Details (30 marks)
    Your report must contain the following elements:
    (a) a well commented source listing of the application source code (whether functional
    or not). Note that sections of code which do not function correctly should be clearly identified by the words "NOT FULLY FUNCTIONAL" and accompanied by a brief hand written explanation of the problem.
    (b) a maximum of four screen shots showing the application in action
    (c) a conclusion, with clearly marked sub-headings, which must include:
    i) a clear statement of the extent of the application's functionality,
    ii) a brief explanation of how to use your version of the application,
    iii) a description of how you have made the application robust,
    iv) any other commentary that you feel is relevant.
    Your report must be presented on A4 sheets of paper which must be stapled together at the top left corner to allow access to all of the report�s contents without removing the staple.
    If your report is too thick to be secured using a staple, punch a hole in the top left corner and bind the pages together with a treasury tag.
    Your report must not be submitted in any type of cover or folder.
    Your name, my name and the module number must be clearly displayed on the front sheet of your submission.
    No other information, designs or motifs should appear on the front sheet.
    Note that all the pages of this assignment must be submitted with your report and must immediately follow the front sheet.
    Your report must NOT be submitted electronically and must NOT be included on your floppy disc.
    Failure to comply with the requested report and floppy disc submission format will result in the allocation of a significantly reduced mark.
    A.Wadsworth
    2)UNIVERSITY OF SUNDERLAND
    SCHOOL OF COMPUTING AND TECHNOLOGY
    MODULE CODE:      COMM3C
    MODULE TITLE:      Java Network Programming
    MODULE ASSESSOR:      John Tindle
    ASSIGNMENT      Two of Two (Referred/Deferred)
    TITLE OF ASSIGNMENT:      Java Media Player
    MODERATED:      May 2006
    PLEASE READ ALL INSTRUCTIONS AND INFORMATION CAREFULLY.
    This assignment contributes 50% to your final module mark.
    Please ensure that you retain a duplicate of your assignment. We are required to send samples of student work to the external examiners for moderation purposes. It will also safeguard in the unlikely event of your work going astray.
    THE FOLLOWING LEARNING OUTCOMES WILL BE ASSESSED:
    Knowledge of:
    a.      Critical awareness of the issues and problems associated with the development of programs to run in a networked environment      �9
    b.      Critical understanding of the Java and the web      �9
    c.      Architectural issues of relating to distributed systems
    d.      Critical awareness of network programs and network protocols      �9
    and ability to:
    e.      Design and implement a Java applet or application      �9
    f.      Critically evaluate network technologies for specific requirements      �9
    g.      Design test a Java based on-line systems      �9
    h.      Work as part of a team to develop a component based system.
    i.      Use and critically evaluate Software Engineering tools      �9
    IMPORTANT INFORMATION
    You are required to submit your work within the bounds of the University Infringement of Assessment Regulations (see your Programme Guide). Plagiarism, paraphrasing and downloading large amounts of information from external sources, will not be tolerated and will be dealt with severely. Although you should make full use of any source material, which would normally be an occasional sentence and/or paragraph (referenced) followed by your own critical analysis/evaluation. You will receive no marks for work that is not your own.
    Where you are asked to submit an individual piece of work, the work must be entirely your own. The safety of your assessments is your responsibility. You must not permit another student access to your work.
    Where referencing is required, unless otherwise stated, the Harvard referencing system must be used (see your Programme Guide).
    Submission Date and Time      Before 4pm, Friday 1st September 2006
    Submission Location      LRC, Reg Vardy Centre, St Peters Campus
    Module COMM3C Java Network Programming
    Assignment 2 (Referred/Deferred) May 2006
    Java Media Framework
    Part 1 Research Topics
    The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology.
    The aim of this assignment is to develop the skills required by a network systems developer so that they are able to incorporate standard Java components code into their own projects.
    Here is a link the JMF website
    http://java.sun.com/products/java-media/jmf/
    JMF documentation
    http://java.sun.com/products/java-media/jmf/reference/docs/index.html
    JMF code examples
    http://java.sun.com/products/java-media/jmf/reference/codesamples/index.html
    JMF Documentation
    http://java.sun.com/products/java-media/jmf/2.1.1/specdownload.html
    Download and read the JMF API Guide
    https://sdlc3a.sun.com/ECom/EComActionServlet;jsessionid=1BA18CD12B4C0D0DEC445DAAD5522248
    Research the topics given in Part 1 and answer the questions listed below.
    Describe the structure and mode of operation of the JMF in your own words.
    Describe in your answer Controller Event (ref p30 JMF API Guide)
    Describe in your answer Standard Controls (ref p20 JMF API Guide)
    Describe in your answer Presenting RTP Media Streams (ref p68 JMF API Guide)
    Describe in your answer Capturing Time Based Media (ref p77 JMF API Guide)
    Describe what is meant by a Media Processor and a Media Player. How do they differ?
    Part 2 SimplePlayerApplet.java
    Download the Java Applet, modify the source code and add it to a package within a Java Project. Recompile the Applet using JBuilder. Please refer to the following two links:
    Code examples
    http://java.sun.com/products/java-media/jmf/reference/codesamples/index.html
    SimplePlayerApplet.java
    http://java.sun.com/products/java-media/jmf/2.1.1/samples/samples/SimplePlayerApplet.java
    Download the JMF library and add it to the JBuilder IDE using the Project Properties function.
    Download the JMF library using this link
    http://java.sun.com/products/java-media/jmf/2.1.1/download.html
    Describe how you developed the applet SimplePlayerApplet.java
    Describe how you tested SimplePlayerApplet.java.
    Use the JB Builder/Designer tool to add two buttons to a Frame to start and stop the AppletPlayer.
    Upload the Applet online to your CET website.
    Set the access rights so that the Applet will run online via browser.
    Test the Applet using a browser.
    Provide screenshots to prove the Applet runs satisfactorily online.
    Here is a link to view the operation of the JMF Player
    http://osiris.sunderland.ac.uk/~cs0jti/NetSys/website/data-archive/COMM3C-JavaNP/JavaMediaFramework/SimplePlayerApplet/classes/
    To run the Applet click on SimplePlayerApplet.html
    To run this applet in your browser you must install the Java Runtime Environment and the JMF.
    http://java.sun.com/j2se/1.4.2/download.html
    To run the Applet it is also recommended that a codec pack is installed.
    Here is a link to freecodecs.com
    http://www.free-codecs.com/download/K_Lite_Codec_Pack.htm
    The following codec packs have been found to work satisfactorily with the JMG Applet.
    Install either the (i) K-Lite Code Pack or the (ii) XP Codec Pack
    Note - Do not install both codec packs at the same time.
    Video clips may be found at this URL
    http://osiris.sunderland.ac.uk/~cs0jti/NetSys/website/data-archive/COMM3C-JavaNP/JavaMediaFramework/
    Tests have shown that the following files are compatible with the JMF Player,
    1 - eng.avi
    2 - movie.mpeg
    3 - hvid.avi
    Note
    If any of the links given above are broken then students may find copies of this data stored at the following URL.
    http://cet-netres-srv.sunderland.ac.uk/website/Archive2006/JMF/SimpleAppletPlayer/
    Student Report Structure
         1. Write and submit an original report relating to the design of your Java application.
         2. Provide a printed report. Your mark will primarily be obtained from your printed report.
         3. The contents of the report must be completely original, this includes text, diagrams and any simple examples.
         4. Students are required to submit a disk with their JBuilder Java Projects.
         5. Students must put their disk in an envelope and attach it their report.
         6. If the disk is directly sellotaped to the report their project code will be allocated a mark of 0.
         7. The report submitted must not exceed the page count excluding the front sheet and index.
         8. Students should print on just one side of the paper.
         9. Staple your report at the top left hand corner.
         10. Do not use plastic folders or envelopes that must be taken apart and reassembled.
         11. Required font type Arial or Times Roman and size 12.
         12. To obtain high marks students must present work that has a high technical content with clear diagrams and a good standard of original English (your own work), that is not taken from standard textbooks, papers or websites.
         13. Students should provide good references and link them with the text and diagrams in the main body of their report. All text that is extracted and added from another source, such as the web, must be identified using bold italics. The total amount of text added that is not original must not exceed 5% of the total.
         14. Penalties will be incurred for the following
    No name on disk
    No name on report
    Disk Sellotaped to report
    Report in a plastic folder
    JB project is incomplete or will not compile.
    Moderated by MSc Moderation Panel May 2006
    Reference: jmf-2006-v4-modified.htm
    A copy of this assignment may be found online at URL
    http://osiris.sunderland.ac.uk/~cs0jti
    Name
    Frontpage 1 side of A4 Index 1 side of A4
    Part 1 Research into JMF 4 sides of A4 Marks 30
    Controller Event
    Standard Controls
    Presenting RTP Media Streams
    Capturing Time Based Media
    Player vs processor
    JMF Plug-ins
    Part 2 SimplePlayerApplet.java 3 sides of A4 Marks 60
    Link for application
    Description of development
    Start and Stop buttons
    Description of testing
    Online test � applet works
    Screenshots
    JB project loads
    JB code runs - 20 marks
    References 1 side of A4 Marks 10
    List of references
    Correct use of refs in main text
    2)

    Plagiarism, paraphrasing and downloading largeamounts of >information from external sources, will
    not be tolerated and will be >dealt with severely.
    You will receive no marks for work that is not yourown. Your work may >be subject to checks for
    originality which can include use of an >electronic
    plagiarism detection service.Hey, the OP didn't read the rest of the assignment so why should they read that part?

  • Since having installed Yosemite my adobe acrobat X crashs as soon as I want to open a file, can anyone help on this issue?

    Since having installed Yosemite my adobe acrobat X crashs as soon as I want to open a file, can anyone help on this issue?

    Please try the steps below and let me know if it worked for you
    Delete all the files from following folders:
    [Home]/Library/Application Support/Adobe/SLStore
    [Home]/Library/Application Support/Adobe/SLCache
    And, delete all files from following folder except cache.db
    [Home]/Library/Application Support/Adobe/AdobePCD
    Then launch Acrobat and try to activate and check.
    Regards,
    Rave

  • When I insert a WinForm control in Word Document, I get this exception.

    Hi All,
    Sometimes, when I insert a general Custom WinForm UserControl in Word Document, I receive this exception. It occurred as accidental. I traced this issue. And debug it. It occurred in this code snippet:
    var cs = vstoDoc.Controls.AddControl(CustomControl, range, width, height, controlName);
    I checked CustomControl,range,width,height,controlName, vstoDoc, vstoDoc.Controls, all of them are not null object. I am confused.
    The Exception:
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Windows.Forms.Control.ActiveXImpl.InPlaceActivate(Int32 verb)
       at System.Windows.Forms.Control.ActiveXImpl.OnFocus(Boolean focus)
       at System.Windows.Forms.Control.OnGotFocus(EventArgs e)
       at System.Windows.Forms.Control.WmSetFocus(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WmSetFocus(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WmSetFocus(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at Microsoft.VisualStudio.OfficeTools.Controls.VSTOContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Microsoft.VisualStudio.Tools.Office.Runtime
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Security
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Microsoft.VisualStudio.Tools.Applications.Hosting
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
    Microsoft.VisualStudio.Tools.Applications.Runtime
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
    System.Deployment
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34244 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    Microsoft.VisualStudio.Tools.Applications.ServerDocument
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml.Linq
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    Microsoft.Office.Tools
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
    Microsoft.Office.Tools.Word.Implementation
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Word.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Word.Implementation.dll
    Microsoft.Office.Tools.Common.Implementation
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
    Microsoft.Office.Tools.Common
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
    Microsoft.Office.Tools.Word
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Word/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Word.dll
    FClassroom.Addin.Presentation
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FClassroom.Addin.Presentation.DLL
    Microsoft.Office.Tools.Common.v4.0.Utilities
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.30319.1
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL
    Microsoft.Office.Interop.Word
        Assembly Version: 12.0.0.0
        Win32 Version: 12.0.6612.1000
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.Office.Interop.Word/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll
    office
        Assembly Version: 12.0.0.0
        Win32 Version: 12.0.4518.1014
        CodeBase: file:///C:/Windows/assembly/GAC/office/12.0.0.0__71e9bce111e9429c/office.dll
    FBD
        Assembly Version: 1.13.10.780
        Win32 Version: 1.13.10.780
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FBD.DLL
    FAC
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FAC.DLL
    FFK
        Assembly Version: 1.15.9.975
        Win32 Version: 1.15.9.975
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FFK.DLL
    FRP
        Assembly Version: 1.14.3.518
        Win32 Version: 1.14.3.518
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FRP.DLL
    System.Data.Entity
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    PresentationFramework
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
    WindowsBase
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    PresentationCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    System.Xaml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
    FSV
        Assembly Version: 1.15.9.236
        Win32 Version: 1.15.9.236
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/FSV.DLL
    WindowsFormsIntegration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
    PresentationFramework.Aero
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
    PresentationFramework-SystemCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
    PresentationFramework-SystemXml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
    UIAutomationTypes
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    log4net
        Assembly Version: 1.2.13.0
        Win32 Version: 1.2.13.0
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/log4net.DLL
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    PresentationFramework-SystemXmlLinq
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
    System.Data.SQLite
        Assembly Version: 1.0.94.0
        Win32 Version: 1.0.94.0
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/System.Data.SQLite.DLL
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.Runtime.Serialization
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
    System.EnterpriseServices
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    System.Data.OracleClient
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data.OracleClient/v4.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34237 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    System.Data.SQLite.Linq
        Assembly Version: 1.0.94.0
        Win32 Version: 1.0.94.0
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/System.Data.SQLite.Linq.DLL
    Anonymously Hosted DynamicMethods Assembly
        Assembly Version: 0.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
    Microsoft.CSharp
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
    System.Dynamic
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
    PresentationFramework-SystemData
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
    Microsoft.VisualStudio.DebuggerVisualizers
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.30319.1
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.DebuggerVisualizers/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.DebuggerVisualizers.dll
    Newtonsoft.Json
        Assembly Version: 6.0.0.0
        Win32 Version: 6.0.6.17820
        CodeBase: file:///D:/Projects/Development/EduDiagnosis-net/FClassroom.Presentation/bin/Debug/Newtonsoft.Json.DLL
    CustomMarshalers
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    Microsoft.Office.Tools.v4.0.Framework
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.v4.0.Framework/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.v4.0.Framework.dll
    Microsoft.VisualStudio.Tools.Office.ContainerControl
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.50903.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.ContainerControl/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.ContainerControl.dll
    System.Dynamic.DynamicAssembly
        Assembly Version: 0.0.0.0
        Win32 Version: 4.0.30319.34209
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
    Thanks,

    Hi Yang,
    Base on my test in Office 2007, it works fine, this is my code below:
    internal void AddUserControl()
    UserControl1 u = new UserControl1();
    var vstoDoc = this.Application.ActiveDocument.GetVstoObject();
    vstoDoc.Controls.AddControl(u, this.Application.Selection.Range, 150, 150, "MyUserControl");
    Could you reproduce that issue in other machine and new project?
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Needed help on this report

    When BELNR field is double clicked it is not going to F1 document in FB03
    Could anybody help on this , plz help
    Here is the code,
    *& Report  YALV_1
    REPORT  YALV_1.
    TABLES : BKPF,BSEG.
    Data for ALV display
    TYPE-POOLS: SLIS.
    data : int_fcat type SLIS_T_FIELDCAT_ALV,
           fieldcatalog type slis_t_fieldcat_alv with header line.
    DATA:  wa_sortinfo TYPE slis_sortinfo_alv,
           i_sortcat TYPE slis_t_sortinfo_alv.
    TYPES  : BEGIN OF T_BKPF,
            BUKRS TYPE BKPF-BUKRS,
            BELNR TYPE BKPF-BELNR,
            GJAHR TYPE BKPF-GJAHR,
            BLART TYPE BKPF-BLART,
            BLDAT TYPE BKPF-BLDAT,
            BUDAT TYPE BKPF-BUDAT,
           BUZEI TYPE BSEG-BUZEI,
            END OF T_BKPF.
    types: begin of t_bseg,
           BUZEI TYPE BSEG-BUZEI,
           end of t_bseg.
    DATA : it_bkpf TYPE STANDARD TABLE OF t_bkpf with header line,
          wa_bkpf TYPE t_bkpf,
           it_bseg type standard table of t_bseg.
          wa_bseg type t_bseg.
    field to store report name
    DATA :  i_repid like sy-repid.
    select bukrs belnr gjahr blart bldat budat from bkpf into table
    it_bkpf where blart = 'AA'.
    field to check table length
    *data i_lines like sy-tabix.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    PERFORM sortcat_init CHANGING i_sortcat.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but
    *can
    also allow you  more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such
    *as
    total. You may need to provide more information than if you were
    simply displaying the result
                  I.e. Field type may be required in-order for
                       the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'BUKRS'.
      fieldcatalog-seltext_m   = 'Company Code'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 4.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BELNR'.
      fieldcatalog-seltext_m   = 'Doc No'.
      fieldcatalog-hotspot = 'X'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'GJAHR'.
      fieldcatalog-seltext_m   = 'Fiscal Year'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BLART'.
      fieldcatalog-seltext_m   = 'DOC Type'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BLDAT'.
      fieldcatalog-seltext_m   = 'Doc Date'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BUDAT'.
      fieldcatalog-seltext_m   = 'Popsting Date'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BUZEI'.
      fieldcatalog-seltext_m   = 'Line Items'.
      fieldcatalog-col_pos     = 6.
      fieldcatalog-do_sum      = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    FORM sortcat_init CHANGING i_sortcat TYPE slis_t_sortinfo_alv.
      CLEAR wa_sortinfo.
      wa_sortinfo-fieldname = 'BUKRS'.
      wa_sortinfo-tabname = 'T_BKPF'.
      wa_sortinfo-spos = 1.            " First sort by this field.
      wa_sortinfo-up = 'X'.            "   Ascending
      wa_sortinfo-subtot = 'X'.        " Subtotal at Name1
      APPEND wa_sortinfo TO i_sortcat.
      CLEAR wa_sortinfo.
      wa_sortinfo-fieldname = 'BELNR'.
      wa_sortinfo-tabname = 'T_BKPF'.
      wa_sortinfo-spos = 2.            " Sec sort by this field.
      wa_sortinfo-up = 'X'.            "   Ascending
      wa_sortinfo-subtot = 'X'.        " Subtotal at Name1
      APPEND wa_sortinfo TO i_sortcat.
    ENDFORM.                    " sortcat_init
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      i_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = i_repid
               i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
               is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_sort                = i_sortcat
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = IT_bkpf
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    form data_retrieval.
    IF it_bkpf[] IS NOT INITIAL.
       select buzei from bseg into
         table it_bseg for all entries in it_bkpf
         where bukrs = it_bkpf-bukrs
         and belnr = it_bkpf-belnr
         and gjahr = it_bkpf-gjahr.
         endif.
    endform.                    " DATA_RETRIEVAL.
    FORM USER_COMMAND
    FORM user_command USING u_com LIKE sy-ucomm sel_lin TYPE slis_selfield.
    CASE u_com.
      WHEN '&IC1'.
        CASE sel_lin.
          WHEN 'BELNR'.
          read TABLE IT_BKPF INDEX sel_lin-tabindex.
          SET PARAMETER ID 'BLN' FIELD IT_BKPF-BELNR.
          SET PARAMETER ID 'BUK' FIELD IT_BKPF-BUKRS.
          SET PARAMETER ID 'GJR' FIELD IT_BKPF-GJAHR.
          CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
        ENDCASE.
    CLEAR u_com.
    ENDCASE.
    ENDFORM. "USER_COMMAND

    Pl. do this change in ur code...
    FORM user_command USING u_com LIKE sy-ucomm sel_lin TYPE slis_selfield.
    CASE u_com.
    WHEN '&IC1'.
    CASE sel_lin-FIELDNAME.
    WHEN 'BELNR'.
    read TABLE IT_BKPF INDEX sel_lin-tabindex.
    SET PARAMETER ID 'BLN' FIELD IT_BKPF-BELNR.
    SET PARAMETER ID 'BUK' FIELD IT_BKPF-BUKRS.
    SET PARAMETER ID 'GJR' FIELD IT_BKPF-GJAHR.
    CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
    ENDCASE.
    CLEAR u_com.
    ENDCASE.
    ENDFORM. "USER_COMMAND
    Regards,
    Joy.

  • I got this exception (org.apache.jasper.JasperException)

    hi all
    i got this exception (org.apache.jasper.JasperException)
    verything works fine if I modify my .jsp and reload that
    jsp in the browser (tomcat). The changes are reflected fine.
    ***BUT*** when I compile a .java (beans) file that is used in the
    webapp then the tomcat starts giving following error message
    in the browser and the exception stack trace in the tomcat
    console. (I am using ant to compile and deploy my webapp.)
    Auto load is on in my tomcat server.xml for this context. I am
    using the beans in my .jsp.
    If I compile all the .java files together again then the
    webapp starts working. I have not seen this behavious
    with earlier Tomcat/J2SDK versions.
    i am using version(jakarta-tomcat-4.1.24)
    anybody help me.
    my email id [email protected].
    The server encountered an internal error () that prevented it from fulfilling this request.
    org.apache.jasper.JasperException: mxi_web.Services
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
    at java.lang.Thread.run(Thread.java:534)
    root cause
    javax.servlet.ServletException: mxi_web.Services
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
    at org.apache.jsp.createcustomer_jsp._jspService(createcustomer_jsp.java:236)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja

    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    i also face this error!! anyone know how to solve this error ???
    everything works fine earlier on, but after i created a new folder and put all the jsp, beans into that new folder, then this error comes out!!!
    thanks for any help!!

  • This exception is never thrown from the try statement body

    try {
                   SimpleFileReader.openFileForReading("fileName.text");
              } catch (FileNotFoundException fnfe) {
                   System.out.println("");
              }This is part of a method, if that helps. In Eclipse I get the error message "Unreachable catch block for FileNotFoundException. This exception is never thrown from the try statement body." I saw another post similar to this one, but it's not quite clear what the solution is. Could anyone clarify for a beginner?
    Thanks

    It actually does if the file it's opening is not really a text file, or if it's read-protected. Or is that where I'm going wrong? I'm just trying to open the file's name(already in the field) and know that it is .text or will return the error.
    Edited by: meme_kun_345k on Jan 15, 2008 7:18 PM

  • How to turn off this exception?

    Hi all,
    I am seeing the following java exceptions from the weblogic server.
    java.net.UnknownHostException: unknown
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at
    weblogic.servlet.internal.ServletRequestImpl.getRemoteAddr(ServletRequestImpl.java:840)
    <<<<<<<<<<< failed here
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:54)
    at
    weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    <<<<<<<<<<< start to log remote address
    at
    weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2 questions:
    1) What cause this exception?
    2) Is there anyway to turn off (ignore) this exception? I have looked
    at
    the log file settings but to no avail? Any help or pointers are most
    appreciated.
    Thank you in advance
    drit

    It is "ReverseDNSAllowed" in the ServerConfig : Returns whether or not the kernel
    is allowed to perform reverse DNS lookups.
    freelance_code_inspector <[email protected]> wrote:
    Hi all,
    I am seeing the following java exceptions from the weblogic server.
    java.net.UnknownHostException: unknown
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at
    weblogic.servlet.internal.ServletRequestImpl.getRemoteAddr(ServletRequestImpl.java:840)
    <<<<<<<<<<< failed here
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:54)
    at
    weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    <<<<<<<<<<< start to log remote address
    at
    weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2 questions:
    1) What cause this exception?
    2) Is there anyway to turn off (ignore) this exception? I have looked
    at
    the log file settings but to no avail? Any help or pointers are most
    appreciated.
    Thank you in advance
    drit--
    Dimitri

  • Cant understand this exception

    hai forum,
    Please help me understand this error.
    I am selecting class files using filechooser.When i selected A.class from a directory this exception was thrown.Kindly tell me what this exception says.
    And i dont face this exception with a particular directory which i had so far used for testing my project,which has many class files.
    But for class files which do not belong to this directory, the same exception is thrown.
    And iam selecting jar files in the same manner,but it shows no such exception,be it from any location.
    stacktrace = java.lang.IllegalAccessException: Class com.jutframe.Frame1 can not access a membe
    195e
    r of class A with modifiers ""
         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
         at java.lang.Class.newInstance0(Class.java:344)
         at java.lang.Class.newInstance(Class.java:303)
         at com.jutframe.Frame1.selectClass_actionPerformed(Frame1.java:403)
         at com.jutframe.Frame1$3.actionPerformed(Frame1.java:298)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1766)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Process exited with exit code 0.
    Thank you all.
    Message was edited by:
    divyabhaskaran

    You are using reflection to create an instance of the class it seems. Perhaps the class you are trying to create an instance of is not public?

Maybe you are looking for

  • Help: Column Chart Display Issue

    Post Author: ermiller CA Forum: Xcelsius and Live Office I have a chart that displays its data correctly 11 out of 12 times...and I can't seem to get the last one to work correctly. Here's the issue: I have a table of data that looks like this: REGIO

  • Renaming multiscreen.html

    I'm deploying a project via a custom system (that I don't control or have access to) that is hell-bent on looking for index.html as its launch file. As a result I need to rename multiscreen.html to index.html and subsequently rename what used to be i

  • ORA-00905: missing keyword while generating sqltxplain.sql

    Hi All, I got the below error while generating the sqltxplain.sql, please help me to sort it out. SQL>/ old 1: ^^explain_plan_for. new 1: EXPLAIN PLAN SET statement_id = '42881' INTO sqltxplain.sqlt$_sql_plan_table FOR Dump file /q02/app/oracle/oaqad

  • Need help about ("d.o.t")

    in the new 52.14 i sew that new feature, but i wnat to know what differences are between private, sergeant,captain, colonel, general and commander. what r the differences??? or a link wher i can find them? cuz i saw the link msi-features, but there d

  • How to make a user's mailbox readonly

    Does anyone know how to take away the ability to compose new mail, reply to or forward mail from both the groupwise client and webaccess? Basically we just want the user(s) of a particular post office to only be able to read their email. Nothing else