Thread Pool "Null Pointer" exception

Hello,
I have an embarrassingly parallel algorithm. The parallel part is solved by 2 objects called shifters which implement the Runnable interface. However, for reasons I can't figure out, sometimes my code will randomly output this error.
Exception in thread "pool-1-thread-1" java.lang.NullPointerException
at cvtpmshiftlabnormalized.Shifter.run(Shifter.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "pool-1-thread-2" java.lang.NullPointerException
at cvtpmshiftlabnormalized.Shifter.run(Shifter.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
My code concerning the parallelization is as follows:
        shifter_1 = new Shifter(list_1 , clusterTree);
        shifter_2 = new Shifter(list_2 , clusterTree);
        ExecutorService executor = Executors.newFixedThreadPool(5);
        executor.execute(shifter_1);
        executor.execute(shifter_2);
        executor.shutdown();Any help would be greatly appreciated, seeing how my computer throws this error for the same data set whenever it feels like it.
Sincerely,
Chem E

Here is the run() method of the shifter. It's pretty big, but I don't know what you would want to look at , and what is garbage.. Thanks for helping me.
public void run()
        ArrayList<Cluster> neighbors = new ArrayList();
        ArrayList<Cluster> removeUs  = new ArrayList();
        double resultantVector[] = new double[3];
        double dotProduct;
        double gaussian;
        double gaussianWeight;
        while(workingClusters.size() > 0)
            workingClusters.removeAll(removeUs);
            removeUs.clear();
            System.out.println("Working Clusters: " + workingClusters.size());
            for(Cluster cluster : workingClusters)
                neighbors.clear();
                neighbors = clusterTree.returnNeighbors(cluster.values, returnRange);
                clusterTree.remove(cluster);
                resultantVector[0] = 0;
                resultantVector[1] = 0;
                resultantVector[2] = 0;
                gaussianWeight = 0;
                for(Cluster nCluster : neighbors)
                     dotProduct = dotProduct( cluster.values, nCluster.values);
                     gaussian = Math.exp(-dotProduct / Math.pow(returnRange , 2));
                     resultantVector[0] += gaussian * nCluster.values[0] * nCluster.weight;
                     resultantVector[1] += gaussian * nCluster.values[1] * nCluster.weight;
                     resultantVector[2] += gaussian * nCluster.values[2] * nCluster.weight;
                     gaussianWeight += gaussian * nCluster.weight;
                if(neighbors.size() > 0)
                    resultantVector[0] /= gaussianWeight;
                    resultantVector[1] /= gaussianWeight;
                    resultantVector[2] /= gaussianWeight;
                    if(dotProduct(resultantVector , cluster.values) < 0.01)
                        removeUs.add(cluster);
                    cluster.values[0] = resultantVector[0];
                    cluster.values[1] = resultantVector[1];
                    cluster.values[2] = resultantVector[2];
                clusterTree.put(cluster);
    }

Similar Messages

  • Exception in thread "main" Null Pointer exception.

    Hi
    I am Having a problem creating objects and storing them in an arraylist. I have no problem doing this with regular arrays, but whenever I try to use an arraylist I get the error:
    Thiis is part of my code . any help is appreciated.
    import java.util.*;
    public class MonthlySchedule
         private ArrayList <Request> monthlyschedule;
         Request req = new Request(null, null, null, 0, 0);
         * Constructor which initialises the arraylist
         public MonthlySchedule()
              ArrayList<Request> monthlyschedule= new ArrayList<Request>() ;
         /*Adds a name to the arraylist
         * @param request- the name to be added to the arraylist
         public boolean add(Request request)
              int time1=GregorianCalendar.HOUR;
              for(Request request1:monthlyschedule)
                   int time2=GregorianCalendar.HOUR;
                        if(time1 !=time2)
                             monthlyschedule.add(request1);
                             return true;
                        else
                             return false;
              return true;
         * The method to cancel a name
         * @param name--the name to be removed from the array list
         public boolean cancel (String name)
              for(int i=0;i<monthlyschedule.size();i++)
                   String element =req.getName();
                        if((name)==element)
                             monthlyschedule.remove(name);
                             return true;
                        else
                             return false;
                   return false;// just to compile
    in the main method(which is not included yet, i'll add it if u request) when i try to add or cancel any request am getting a null pointer exception. can u please help me out. Thanks in advance

    You define a local ArrayList here:public MonthlySchedule()
    ArrayList<Request> monthlyschedule= new ArrayList<Request>() ;
    }Just instanciate the instance variable.

  • Null pointer exception with thread

    ok,
    When i try to start a thread i get a null pointer exception:
    Exception in thread "Thread-2" java.lang.NullPointerException
            at MainWindow$8.run(MainWindow.java:274)
            at java.lang.Thread.run(Thread.java:619)Here is the thread code:
    t = new Thread(new Runnable(){
             public void run(){
                 for (int i = 100; i > 0; i--){
                     blockArray = p.physicsPass(blockArray);
                     repaintCanvas();
        t.start();After stepping through it it would appear the exception is thrown before physicsPass() gets called...
    blockArray is not empty so im not sure what the null pointer is.
    Its probably something obvious im missing, any ideas?
    Cheers
    J

    JamesBarnes wrote:
    look for the dots?
    I dont understand, care to elaborate?In your code there was two dots:
    blockArray = p.physicsPass(blockArray);
    t.start();So either p was null or t was null.

  • Null pointer exception when view a thread in standalone forum

    Hi All,
    I am using Enterprise Portal SP13.I installed two SCA file for Web Forum.
    When I view a thread which was posted by some one or me,it throws Null Pointer Exception.
    It happens some times not regulary.Somtimes its working fine.
    Other things also when I delete a category and then create a category sometimes it throws Array Index OutofBound.
    I am really confused.Is it bug for SP13?Should I upgread to SP20?
    Syed

    Hi,
    isn't there something in the trace log? A stack trace can say a lot.
    best regards,
    --epexpert

  • Null Pointer Exception on stmt = conn.prepareStatement( query );

    I configured the Tomcat 5.0.27 for using the connection pool feature and connecting to the Oracle. I am testing if I did the configuration correctly. Therefore, I try to retrieve some data from a table. I got the
    'Null Pointer Exception" when executing the
             stmt = conn.prepareStatement( query );I am not sure where the problem is from.
    1. configuration is not done properly?
    2. some bugs in my program?
    I need your help to diagnose the problem. The messages in the Tomcat log are shown below my program coce.
    The code for class where the 'Null Pointer Exception' occurred is like:
    package org.dhsinfo.message.dao;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.PreparedStatement;
    import java.sql.Statement;
    import java.sql.SQLException;
    import org.dhsinfo.message.MemberBean;
    import org.dhsinfo.message.exceptions.MemberDAOSysException;
    import org.dhsinfo.ConnectionPool.DBConnection;
    public class OracleMemberDAO implements MemberDAO
       // Here the return type is Collection
       public Collection findMembers()
           throws MemberDAOSysException
          Connection conn = null;
          PreparedStatement stmt = null;
          ResultSet rs = null;
          MemberBean memberBean;
          Collection members = new ArrayList();
          String query = "SELECT name FROM PersonType";
          try
             conn = DBConnection.getDBConnection();
             stmt = conn.prepareStatement( query );  // line number 32
             rs = stmt.executeQuery();
          while( rs.next() )
             memberBean = new MemberBean();
                memberBean.setName( rs.getString( "name" ) );
             members.add( memberBean );
             return members;
          catch (SQLException se)
             se.printStackTrace( System.err );
             throw new MemberDAOSysException("SQLException: " + se.getMessage());
          finally
             if ( conn != null )
                try
                   rs.close();
                   rs = null;
                   stmt.close();
                   stmt = null;
                   conn.close();
                catch( SQLException sqlEx )
                   System.out.println( "Problem occurs while closing " + sqlEx );
                conn = null;
    }java.lang.NullPointerException
         at org.dhsinfo.message.dao.OracleMemberDAO.findMembers(OracleMemberDAO.java:32)
         at org.dhsinfo.message.MemberService.getMembers(MemberService.java:18)
         at org.dhsinfo.message.SendMessage.execute(SendMessage.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

    Here is my DBConnection.java class. I have used it many times. I feel like going one by one. If it is not my DBConnection .java class, then the next thing to look at is my connection pool configuration. I have a feeling that it is my connection pool configuration.
    package org.dhsinfo.ConnectionPool;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    public class DBConnection
       public static Connection getDBConnection() throws SQLException
          Connection conn = null;
          try
             InitialContext ctx = new InitialContext();
             DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/OracleDB" );
             try
                conn = ds.getConnection();
             catch( SQLException e )
                System.out.println( "Open connection failure: " + e.getMessage() );
          catch( NamingException nEx )
             nEx.printStackTrace();
          return conn;
    }

  • Null Pointer Exception and Illegal Arguement when ran with Wireless Toolkit

    The following code throws a null pointer exception after it tried to initialize the textBox. I am not sure if there is something I am not importing, or if it's just because I'm sick and my head is cloudy. :-}.
    I am using Wireless Toolkit 2.2 and Java 5.0
    Anyhelp would be appreicated. Thank You.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class TacticalTestMain extends MIDlet implements CommandListener {
         private Display display;
         private Form formMain;
         private TextBox tbHelp;          //Text Box for help Command
         private Command cmExit;          //A button to exit midLet
         private Command cmBack;          //Go "back" to main form
         private Command cmHelp;          //Ask for help
         public TacticalTestMain()
              display = Display.getDisplay(this);
              formMain = new Form("Tactical Survey Program");
              cmExit = new Command("Exit", Command.SCREEN, 1);
              cmBack = new Command("Back", Command.BACK, 1);
              cmHelp = new Command("Help", Command.HELP, 1);
              formMain.addCommand(cmExit);
              formMain.addCommand(cmBack);
              formMain.addCommand(cmHelp);
              formMain.setCommandListener(this);
              System.out.println("Before Create Text Box");
              //Create the help textBox with a max of 25 charecters
              tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
              tbHelp.addCommand(cmBack);
              tbHelp.setCommandListener(this);
              System.out.println("AfTER Create Text Box");               
         }//end constructor
         public void startApp()
              System.out.println("Inside StartApp()");
              display.setCurrent(formMain);
         }//end startApp()
         public void pauseApp()
         }//end pauseApp
         public void destroyApp(boolean unconditional)
              notifyDestroyed();
         }//end destroyApp()
         //Check to see if the exit button was selected
         public void commandAction(Command c, Displayable d)
              System.out.println("Inside commandAction()");
              String sLabel = c.getLabel();
              if(sLabel.equals("Exit"))
                   destroyApp(true);
    Errors from the KToolbar:
    Running with storage root DefaultColorPhone
    Before Create Text Box
    Unable to create MIDlet TacticalTestMain
    java.lang.IllegalArgumentException
         at javax.microedition.lcdui.TextField.setChars(+105)
         at javax.microedition.lcdui.TextField.setString(+27)
         at javax.microedition.lcdui.TextField.<init>(+134)
         at javax.microedition.lcdui.TextBox.<init>(+74)
         at TacticalTestMain.<init>(+134)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Selector.run(+22)
    Execution completed.
    743701 bytecodes executed
    23 thread switches
    741 classes in the system (including system classes)
    4071 dynamic objects allocated (120440 bytes)
    2 garbage collections (91412 bytes collected)

    Hi zoya,
    Here is the problem:
    tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
    This line declares a maximum textbox size of 25 but in reality he is declaring a textbox of size 29.
    Thats why it is throwing the illegal argument.
    happy coding :)

  • JRC (upg. to CR4E) - Report w Subreport - Oracle DB -  Null Pointer Excepti

    Hi
    We have a Crystal Designer/Developer Version 11.5.10.1263. We develop reports using this.
    Most of the reports have SQL Command mode design with JNDI/JDBC connection. It gets deployed with our Web application. And during runtime, when users access these reports from our web application, we typically use Java Reporting Component with Crystal Report Viewer SDK to open and display the report to the user.
    Besides other issues, current problem I am having is:
    I have a sub-report in my report. I am connecting to Oracle database. If this sub-report does not return any rows, I was getting a Null Pointer Exception. This seems to be a known bug. This happened to us when we had just the above mentioned components.
    We recently upgraded just the JAR libraries to the ones packaged in CR4E (Crystal Reports For Eclipse) - initially to get more exporting capability.This upgrade gets us past the Null Pointer Exception issue.
    Now, I am getting an error like "Unexpected database connector error". Please see the exception stack trace below if needed. Since we are a product and this display is specific to one out of about 100 different clients; with all the time we spent on making this report stuff work against this oracle DB client, we had finally ended up creating the display in JSP into our general product just for one of about 100 clients. Client must be the Lucky one...As a developer, I felt really frustrated.
    One note:- SQL Server DB works perfect.
    Other thing - Do we need to change any API calls after upgrading the JARS from standard JRC/Viewer to CR4E package?
    11:46:57,540 INFO  [STDOUT] 11:46:57,540 ERROR [JRCCommunicationAdapter]  detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:632)
         at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
         at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
         at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
         at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
         at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
         at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
         at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
         at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
         at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
         at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
         at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:219)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1909)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(SourceFile:149)
         at com.businessobjects.report.web.event.s.a(SourceFile:158)
         at com.businessobjects.report.web.event.s.a(SourceFile:127)
         at com.businessobjects.report.web.event.bt.a(SourceFile:47)
         at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
         at com.businessobjects.report.web.event.am.a(SourceFile:53)
         at com.businessobjects.report.web.a.t.if(SourceFile:2104)
         at com.businessobjects.report.web.e.a(SourceFile:300)
         at com.businessobjects.report.web.e.a(SourceFile:202)
         at com.businessobjects.report.web.e.a(SourceFile:135)
         at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
         at org.apache.jsp.ipalHistoryReportViewer_jsp._jspService(org.apache.jsp.ipalHistoryReportViewer_jsp:201)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.Standar
    11:46:57,540 INFO  [STDOUT] dEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    11:46:57,634 INFO  [STDOUT]  CustomReports - finally Calling CrystalReportViewer dispose ...

    I have exactly the same problem. Had posted it on the forum last week, but haven't received any response yet. I just file a single support case ($195) with SAP.  If I hear anything useful back, will keep you posted. Please let me know if you are able to resolve the problem.
    In my case, I can get my report to work with a single subreport.  When I put multiple subreports, I get the same error as you are currently getting.
    Check if your report has any special section formatting (conditional suppression etc).  Try to remove those to see if it helps at all.

  • Crystal report (crystalReportsViewer) crash with null pointer exception

    Hi,
    My application are simple : m_crystalReportsViewer.ViewerCore.ReportSource = report; but in throw exception null pointer when I call showDialog.
    I see in code, we have method ShowTabHeader.
    private void ShowTabHeader(bool isShow)
        Grid child = VisualTreeHelper.GetChild(this.tabViews, 0) as Grid;
        TabPanel panel = child.FindName("HeaderPanel") as TabPanel;
        if (!isShow)
            panel.Visibility = Visibility.Collapsed;
        else
            panel.Visibility = Visibility.Visible;
    My problem :  child.FindName("HeaderPanel") as TabPanel return null
    =>  if (!isShow)
            panel.Visibility = Visibility.Collapsed;
        else
            panel.Visibility = Visibility.Visible;
    throws null pointer exception.
    Do you have any idea about this?
    Thanks.
    Here is stack trace :
    Unerwarteter Fehler im System ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.ShowTabHeader(Boolean isShow)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.ItemsChangedEventHandler(Object sender, ItemsChangedEventArgs e)
       at System.Windows.Controls.Primitives.ItemsChangedEventHandler.Invoke(Object sender, ItemsChangedEventArgs e)
       at System.Windows.Controls.ItemContainerGenerator.OnItemAdded(Object item, Int32 index)
       at System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Windows.Controls.ItemContainerGenerator.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
       at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
       at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
       at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
       at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
       at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
       at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(NotifyCollectionChangedEventArgs args, Int32 adjustedOldIndex, Int32 adjustedNewIndex)
       at System.Windows.Data.ListCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
       at System.Collections.ObjectModel.Collection`1.Add(T item)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.OnCreateNewDocumentViewComplete(CreateNewDocumentArgs args)
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass6`1.<Invoke>b__4(Object )
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       --- End of inner exception stack trace ---
    Edited by: duyhai707 on Jul 13, 2011 7:42 PM
    Edited by: duyhai707 on Jul 13, 2011 8:09 PM

    A lot I don't understand in here... actually, I don't understand anything in your post:
    When you call ShowDialog, what exactly are you trying to show?  The code is the decompiled showtabheader method of the viewer. So, are you trying to override the viewer control and reportalbum?  My guess is that the null reference is for the reportalbum's child object which is not the reportalbum object of the viewer.  I don't understand why the code since its all handled internally to the viewer anyhow.
    Perhaps searching the forum for code sample will help?
    Also, see the [WPF Demo|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8]
    Other good WPF resources to consult:
    http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8
    http://www.codeproject.com/Tips/74499/Crystal-Report-in-WPF.aspx
    Re: Crystal Reports for Visual Studio 2010 - WPF Viewer for .Net 4.0
    http://codegain.com/articles/crystalreports/howto/incorporate-crystal-reports-in-wpf-using-c-sharp.aspx
    CRVS2010 Beta - WPF Viewer, how to hide the GroupTree control?
    Re: CRVS2010 Beta - WPF Viewer, how to hide the GroupTree control?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Null pointer exception in com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight

    I am testing BOE 4.0 with a simple jsp based on the samples.  The code is what I used to test BOE xi 3.1.  But I ran into some report display inconsistencies with 3.1 so I am trying 4.0.  The code below works in 3.1  But in 4.0, I get the report viewer screen coming up but get a null pointer exception coming to the screen.
    2014-06-18 13:48:01
    java.lang.NullPointerException
    at com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight(ControllerBase.java:114)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(ReportSource.java:945)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(AdvancedReportSource.java:343)
    at com.businessobjects.report.web.event.PageListener.renderContentLocally(PageListener.java:394)
    at com.businessobjects.report.web.event.PageListener.getPage(PageListener.java:181)
    at com.businessobjects.report.web.event.PageListener.updatePage(PageListener.java:123)
    at com.businessobjects.report.web.event.UpdatePageEvent.processListener(UpdatePageEvent.java:47)
    at com.businessobjects.report.web.event.ViewerBroadcaster.broadcast(ViewerBroadcaster.java:109)
    at com.businessobjects.report.web.event.EventQueue.processEvents(EventQueue.java:53)
    at com.businessobjects.report.web.component.ViewerContainer.processEvents(ViewerContainer.java:1403)
    at com.businessobjects.report.web.WorkflowController.doEventProcessing(WorkflowController.java:353)
    at com.businessobjects.report.web.WorkflowController.doLifecycle(WorkflowController.java:255)
    at com.businessobjects.report.web.WorkflowController.doAsyncLifecycle(WorkflowController.java:106)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater._processHttpRequest(CrystalReportViewerUpdater.java:61)
    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(ServerControl.java:345)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doUpdate(CrystalReportViewerServlet.java:156)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(CrystalReportViewerServlet.java:144)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    Here is the AlwaysRequiredSteps_UnmanagedRas.jsp
    <%
    String path = "rassdk://C:\\reports\\asn.rpt";
    ReportAppSession ra = new ReportAppSession();
    ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
    ra.setReportAppServer("10.189.15.175:1566");
    ra.initialize();
    ReportClientDocument clientDoc = new ReportClientDocument();
    clientDoc.setReportAppServer(ra.getReportAppServer());
    clientDoc.open(path, OpenReportOptions._openAsReadOnly);
    %>
    Here is the OpenReport.jsp
    <%@ page contentType="text/html; charset=utf-8" %>
    <%@
       page import="com.crystaldecisions.sdk.occa.report.application.*,
      com.crystaldecisions.sdk.occa.report.data.*,
      com.crystaldecisions.sdk.occa.report.lib.*,
      com.crystaldecisions.report.web.viewer.*,
      com.crystaldecisions.sdk.occa.report.definition.*"
    %>
    <html>
    <head>
    <title>Preview Report</title>
    </head>
    <body>
    <%@ include file="AlwaysRequiredSteps_UnmanagedRAS.jsp"%>
    <%
      Tables oTablesCollection = clientDoc.getDatabaseController().getDatabase().getTables();
      for(int i = 0; i < oTablesCollection.size(); i++) {
          // We'll get two copies of the original table, change one, and use set table.
          ITable originalTable = oTablesCollection.getTable(i);
          ITable changedTable = oTablesCollection.getTable(i);
          IConnectionInfo newConnectionInfo = new ConnectionInfo();
          PropertyBag attributes = new PropertyBag();
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false);
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASETYPE, "JDBC (JNDI)");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_jdbc.dll");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASENAME, "");
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_CRQE_SQLDB, true);
          PropertyBag logonProperties = new PropertyBag();
          logonProperties.putStringValue("JDBC Connection String", "!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@10.189.12.248:1521:gbg");
          logonProperties.putBooleanValue("Trusted_Connection", false);
          logonProperties.putBooleanValue("Use JDBC", true);
          logonProperties.putStringValue("Database Class Name", "oracle.jdbc.driver.OracleDriver");
          logonProperties.putStringValue("Connection URL", "jdbc:oracle:thin:@10.189.12.248:1521:gbg");
          logonProperties.putStringValue("Server", "10.189.12.248");
          attributes.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, logonProperties);
          attributes.putStringValue("QE_ServerDescription", "10.189.12.248");
          newConnectionInfo.setKind(ConnectionInfoKind.CRQE);
          newConnectionInfo.setUserName("dsdone");
          newConnectionInfo.setPassword("dbuser");
          newConnectionInfo.setAttributes(attributes);
          changedTable.setQualifiedName("DSDONE" + "." + changedTable.getName());
          changedTable.setConnectionInfo(newConnectionInfo);
          // Commit the changes by calling the setTableLocation method from
          // the Database controller with the new table
          clientDoc.getDatabaseController().setTableLocation(originalTable, changedTable);
      // Create a Viewer object
      CrystalReportViewer viewer = new CrystalReportViewer();
      // Set the name for the viewer
      viewer.setName("Crystal_Report_Viewer");
      // Set the report source for the  viewer to the ReportClientDocument's report source
      viewer.setReportSource(clientDoc.getReportSource());
      // Process the http request to view the report
      viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
      // Dispose of the viewer object
      viewer.dispose();
      // Release the memory used by the report
      clientDoc.close();
    %>
    </body>
    </html>

    Hi Jason,
    Call any one of the methods
    viewer.dispose(); or clientDoc.close();
    Do not use both in BI 4.x version.
    Test the same and let me know if it works.
    Thanks,
    Prithvi

  • Null Pointer Exception in Message Area

    Hi!
    I just want to get some inputs. I have this Message Area to display errors in Web Dynpro, but from time to time I get this Null Pointer Exception when an event takes place. Don't know why this happens, but the trace is not found my code.
    Here's the Stack Trace:
    +"java.lang.NullPointerException+
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter._getConnectedControlId(MessageAreaAdapter.java:3684)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.access$900(MessageAreaAdapter.java:67)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter$Rows.doNext(MessageAreaAdapter.java:2188)++
    ++     at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.next(IndexedItemsIterator.java:54)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.getSelection(MessageAreaAdapter.java:3653)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:424)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutCellFragment(SingleColumnLayoutRenderer.java:679)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutFragment(SingleColumnLayoutRenderer.java:253)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.render(SingleColumnLayoutRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1799)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:879)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1058)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:458)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1245)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:253)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)++
    ++     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)++
    ++     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)++
    ++     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)++
    ++     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)++
    ++     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)++
    ++     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)++
    ++     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)++
    ++     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)++
    ++     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)++
    ++     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)++
    ++     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)++
    ++     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)++
    ++     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)++
    ++     at java.security.AccessController.doPrivileged(Native Method)++
    ++     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)++
    ++     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)"++
    Just wondering if this can be solved on my end or is this a glitch? Would really appreciate some inputs!
    Thanks!

    Hi,
    Here two possibility
    1. This  is the case when we get something as return form the BAPI/RFC and want to display in our message area but return message itself is null like this statement
    wdComponentAPI.getMessageManager().reportException(wdContext.nodeOutput_Salesorder_Create().currentOutput_Salesorder_CreateElement().getSalesdocument());
    2.And this is when
      try
                   executableClazz.execute();
                   nodeToinvalidate.invalidate();
              } catch (WDDynamicRFCExecuteException ree)
                   wdComponentAPI.getMessageManager().reportException(ree);
                             or
    wdComponentAPI.getMessageManager().reportException(ree.getMessage);
    3. Message Area is simple UI element which ensure only the place where we have to so the message
    So Check your code again it might solve your problem
    Best Regards
    Satish Kumar

  • Null pointer exception in native code

    Hi
    We are running JRockit 1.4.2 and we are having a lot of crashes recently. All of them have this error
    Error Message: Null pointer exception in native code
    Signal info : si_signo=11, si_code=1
    but the location of the crash differs. Our last one occured in java.util.Hashmap.get(). Another common element is that they appear to occur after deserialisation.
    Has anyone else had similar problems?
    Any help much appreciated.
    Thanks,
    Dave
    Thread Stack Trace:
    at java/util/HashMap.get(Optimized Method)@0x1c9b350
    at java/io/ObjectStreamClass.lookup(Optimized Method)@0x7e6fbde
    at java/io/ObjectStreamClass.initProxy(Unknown Source)@0x5feef04
    at java/io/ObjectInputStream.readProxyDesc(Optimized Method)@0xaa7b0ec
    at java/io/ObjectInputStream.readObject(Optimized Method)@0xa7bee63
    at java/rmi/MarshalledObject.get(Optimized Method)@0xbfe238c
    at org/jnp/interfaces/MarshalledValuePair.get(MarshalledValuePair.java:28)@0x263b571
    at org/jnp/interfaces/NamingContext.lookup(Optimized Method)@0xb08cfe1
    at org/jnp/interfaces/NamingContext.lookup(Optimized Method)@0xbf57275

    Thanks for the reply.
    The version is
    BEA WebLogic JRockit(TM) 1.4.2_04 JVM (build ari-29212-20040415-1332-linux-ia32, Native Threads, GC strategy: parallel)
    I have opened a support case but here is the contents of the dump file. Thanks again for any help.
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 2 days, 03:50:51 on Tue Jan 18 22:27:28 2005
    Additional information is available in:
    /home/ebask11/rel_15_59912-jb-3.2.3-2.19/bin/jrockit.26704.dump
    /home/ebask11/rel_15_59912-jb-3.2.3-2.19/bin/core
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.
    Error Message: Null pointer exception in native code
    Signal info : si_signo=11, si_code=1
    Version : BEA WebLogic JRockit(TM) 1.4.2_04 JVM ari-29212-20040415-1332-linux-ia32
    Threads / GC : Native Threads, GC strategy: parallel
    : mmHeap->data = 0x20000000, mmHeap->top = 0x40000000
    : mmStartCompaction = 0x20000000, mmEndCompaction = 0x22800000
    Number CPUs : 2
    Tot Phys Mem : 4107608064
    OS version : Red Hat Linux release 7.3 (Valhalla)
    Linux version 2.4.22ow1np-ht (root@devbgb0211) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #8 SMP Mon Oct 13 19:54:55 GMT 2003
    State : JVM is running
    Command Line : -Djava.class.path=. -Djava.security.manager=java.rmi.RMISecurityManager -Xmx512m -Xms512m -Djmx.host=prdlog2 -Duser.timezone=GMT -Dprogram.name=run.sh -Djava.class.path=/home/ebask11/live_jboss/server/default/syslib:/home/ebask11/live_jboss/server/default/syslib/jce.zip:/home/ebask11/live_jboss/bin/run.jar:/usr/java/bea/jdk/1.4.2/lib/tools.jar -Dsun.java.command=org.jboss.Main -c default
    Environment : JAVA_HOME=/usr/java/bea/jdk/1.4.2, java.home=/usr/java/bea/jdk/1.4.2/jre, java.class.path=/home/ebask11/live_jboss/server/default/syslib:/home/ebask11/live_jboss/server/default/syslib/jce.zip:/home/ebask11/live_jboss/bin/run.jar:/usr/java/bea/jdk/1.4.2/lib/tools.jar, java.library.path=/usr/java/bea/jdk/1.4.2/jre/lib/i386/jrockit:/usr/java/bea/jdk/1.4.2/jre/lib/i386:/usr/java/bea/jdk/1.4.2/jre/../lib/i386
    C Heap : Good; no memory allocations have failed
    Registers:
    EAX = 33115950 EBX = 25252a50
    ECX = 00000002 EDX = 200da968
    ESI = 21aba548 EDI = 21aba548
    ESP = 0ac20000 EIP = 00000000
    EBP = 21aba548 EFL = 00010206
    CS = 0023 DS = 002b ES = 002b
    SS = 002b FS = 0357 GS = 0357
    Stack:
    0ac20000 :01c9b350 200da968 200da970 200da930 200da920 07e6fbde
    0ac20018 :2233ff08 0adc6cb8 200da936 00000000 00000000 21aba548
    0ac20030 :00000000 25a3c710 24f42f30 200da920 05feef04 21aba548
    0ac20048 :00000000 200f35d8 0aa7b0ec 00000000 271a5318 00000000
    0ac20060 :00000010 00000000 24f19bc8 24f19590 271a5318 0adc6cb8
    0ac20078 :271a5368 245b2710 271a5318 00000001 00000000 200f35d8
    0ac20090 :24f42f30 00000000 21aba548 00000000 00000000 0adc6cb8
    0ac200a8 :0a7bee63 24f1a3b0 00000000 0aa8003e 24f19d78 245b2710
    0ac200c0 :24f1a3f0 0adc6cb8 0b0df368 00000001 24f19d10 ffffffff
    0ac200d8 :24f19cc8 24f19d10 0bfe238c 00000003 205e68f8 245b2710
    0ac200f0 :245b2710 245b26f8 245b1e70 00000000 0b08d69b 00000000
    0ac20108 :205e1590 245b1e70 24f14a70 24f14428 24f144e0 24f14740
    0ac20120 :0000000a 24f14428 0bf57275 00000003 0aa7712b 00000030
    0ac20138 :258174e0 0adc6cb8 00000000 24f13fe0 00000000 258339f8
    0ac20150 :87effc53 00000101 0378e84b 258174e0 0378e525 24f13fe0
    0ac20168 :2585f4e8 2585f4e8 0378e21d 2a280920 24f13fe0 00000001
    0ac20180 :24f128a8 00000000 00000000 2585f4e8 24ed15c8 0378db6f
    0ac20198 :24ed1598 24ed16a0 05ed9299 24ed1730 20085640 24ed15c8
    0ac201b0 :24eb9bc0 00000000 24ed1730 24e9c5a0 24ed15c8 00000000
    0ac201c8 :24eb9b80 391182e8 24e9c5b0 00000000 391182e8 08006231
    0ac201e0 :00000000 24e9c5a0 24e9c5b0 08005bea 00000000 24e9c5a0
    0ac201f8 :24e9c5b0 31a26218 24ec68e8 00000027 0adc6cb8 0000001d
    0ac20210 :00000000 24e9c5a0 24ec6848 27986b80 24e9c5a0 24e9c5b0
    0ac20228 :27968208 24e9c5a0 24e9c5a0 31a263b0 0800fe11 24e9c5b0
    0ac20240 :368dd1e0 24e9c5b0 24e9c5a0 00c448bc 04ab64f4 24e9c5b0
    0ac20258 :0470ae51 24e9c5b0 24ec62e8 ffffffff 24e9c5b0 368dd1e0
    0ac20270 :ffffffff 00000002 3196a2f8 24e9c5a0 24eb9440 0bd5d31a
    0ac20288 :24e9c5b0 24eb9440 0bfa0e4a 24e9c5b0 24e9c5a0 24e9c5b0
    0ac202a0 :03fb5c09 24e9c5b0 24ec6238 00000000 00000000 00000000
    0ac202b8 :00000000 22921d98 24ec6368 25a3c710 03fbdb83 24e9c5b0
    0ac202d0 :03fbdb67 24e9c5b0 0c9ff12c 0adc6cb8 27a28c98 042e5528
    0ac202e8 :00000000 24ec6368 24ec6368 0c0b7c86 24e9c5b0 03fbda44
    0ac20300 :24e9c5a0 24e9c5b0 24e9c5a0 24eb9440 24e9c5a0 24eb9440
    0ac20318 :04ab631e 24e9c5b0 24e9c5b0 368eb0c8 254cd0b0 24e9c5a0
    0ac20330 :24e9c5a0 24eb9440 0bfa0f23 24e9c5b0 24eb9440 24e9c5b0
    0ac20348 :0adc6d44 24e9c5b0 368eb0c8 368eb0c8 368eb0c8 368eb0c8
    0ac20360 :368eb0c8 22921d98 24eb9610 25a3c710 03fbdb83 24e9c5b0
    0ac20378 :03fbdb67 24e9c5b0 0c9ff12c 0adc6cb8 254c4c70 00000000
    0ac20390 :00000000 24eb9610 24eb9610 0c0b7c86 24e9c5b0 03fbda44
    0ac203a8 :24e9c5a0 24e9c5b0 24e9c5a0 24eb9440 00000000 00000001
    0ac203c0 :03fbcc0d 24e9c5b0 07fbaf2f 00000000 24eb9440 3196a3f8
    0ac203d8 :3196a070 24e9c5a0 00000000 24e9c5b0 368dd1e0 24e9c5b0
    0ac203f0 :24e44550 24798b78 00000101 87effc52 00000000 3196a268
    0ac20408 :07fbc349 24e44550 24eb9430 24eb9430 24e44550 02787424
    0ac20420 :24e44550 3196a070 24798b78 0bf9dde1 24e44550 03fbc71d
    0ac20438 :24e44550 24e44550 24e9c698 2f5c12c0 2f5c1cd8 00000004
    0ac20450 :2f5c14a8 07fbc349 24e44550 24e9cc48 00000000 2f5c1d38
    0ac20468 :03fbc428 24e44550 24798b78 24e9cc48 24e44550 00000004
    0ac20480 :2f5c14a8 07fbc371 24e44550 24e9cc48 00000004 09bc5570
    0ac20498 :03fb98ad 24e44550 200a4008 3419b0e0 00000000 24e9c698
    0ac204b0 :24798b78 24e44550 24798b78 24e44550 24e9cc48 319fd4e0
    0ac204c8 :00000004 2f5c14a8 07fbc371 24e44550 24e9cc48 24798b78
    0ac204e0 :24798b78 03fb8a7a 24e44550 3419f128 24e9cc48 24e44550
    0ac204f8 :00000004 2f5c14a8 07fbc371 24e44550 24e9cc48 31a34d88
    0ac20510 :00000101 03fb8934 24e44550 24798b78 87effc52 24e9cc48
    0ac20528 :00000004 2f5c14a8 07fbc371 24e44550 24e9cc48 24e9cc48
    0ac20540 :24e44550 02787424 24e44550 2f5c12c0 24e44550 0bf9dde1
    0ac20558 :24e44550 03fb8875 24e44550 24798b78 00000000 2f5c12c0
    0ac20570 :0bf23542 24e44550 0adc6cb8 22961f38 24798b78 24e9c5c8
    0ac20588 :25a3c710 25a3c710 22921d98 24e44550 00000004 229629e0
    0ac205a0 :07fbc349 24e44550 24e9c688 24798b78 24e44550 0bf2376a
    0ac205b8 :24e44550 00000000 229496f0 00000004 229629e0 07fbc371
    0ac205d0 :24e44550 24e9c688 24e44550 0280d39c 0278d370 24e44550
    0ac205e8 :00000040 24798b78 27f4b688 00000030 229490a0 00000004
    0ac20600 :229629e0 07fbc371 24e44550 24e9c688 3196a070 00000000
    0ac20618 :0bfa040d 24e44550 00000000 00000000 0ad52e9c 22965b90
    0ac20630 :24798b78 00000008 00000000 200c7480 00000000 000e3274
    0ac20648 :00000000 00000000 24798b78 24e44550 24e9c688 00000004
    0ac20660 :229629e0 07fbc371 24e44550 24e9c688 00000004 24e9c688
    0ac20678 :0bf9c372 24e44550 0adc6cb8 25a3c710 00000019 228a5da0
    0ac20690 :00000101 87effc52 01c9b3aa 7025a84b 229127d8 22911f18
    0ac206a8 :229127d8 0bf9e5eb 0adc6cb8 22965b90 24798b78 246934c8
    0ac206c0 :22962a40 24e44550 00000000 00000004 229629e0 07fbc371
    0ac206d8 :24e44550 24e9c688 24e9c688 24e44550 02787424 24e44550
    0ac206f0 :22961f38 0233875c 0bf9dde1 24e44550 02787686 24e44550
    0ac20708 :24798b78 24e44550 22917728 00000000 22912938 07fbc349
    0ac20720 :24e44550 24e9c590 24e9c590 24e44550 02787424 24e44550
    0ac20738 :247963d8 24798b78 0bf9dde1 24e44550 0275384d 24e44550
    0ac20750 :24791f18 24e44550 24e44550 2298ae60 24791348 24791f18
    0ac20768 :0000000a 247963d8 0bf987e2 24791f18 24798b60 0adc6cb8
    0ac20780 :24791348 247912c8 00000055 0adc6cb8 24791b38 24796468
    0ac20798 :247919e0 24791f18 24791348 22981450 24e11ad0 2298d1e0
    0ac207b0 :247912c8 247912c8 0adc6cb8 0bf993f2 24e11ad0 247912c8
    0ac207c8 :24e11b10 0000000d 07cbea65 00000000 0ad52e9c 25a3c710
    0ac207e0 :24e11ad0 247912c8 247912b0 22981450 41ed8d4e 00000002
    0ac207f8 :22981d60 25a3c710 25a3c6e8 22981450 02751c10 24e11ad0
    Code:
    Loaded modules:
    (* denotes the module causing the exception)
    0x08048000-0x0804cd66 /usr/java/bea/jdk/1.4.2/bin/java
    0x00127000-0x0013343a /lib/i686/libpthread.so.0
    0x0013c000-0x0015ca02 /lib/i686/libm.so.6
    0x0015e000-0x0015fbac /lib/libdl.so.2
    0x42000000-0x4212b962 /lib/i686/libc.so.6
    0x00161000-0x003293cf /usr/java/bea/jdk/1.4.2/jre/lib/i386/jrockit/libjvm.so
    0x003c7000-0x003cff0d /lib/libnss_files.so.2
    0x00c29000-0x00c29ffa /usr/lib/gconv/ISO8859-1.so
    0x00c2b000-0x00c3afa5 /usr/java/bea/jdk/1.4.2/jre/lib/i386/libverify.so
    0x01211000-0x012309cf /usr/java/bea/jdk/1.4.2/jre/lib/i386/libjava.so
    0x01233000-0x0124485a /lib/libnsl.so.1
    0x01505000-0x0150e012 /lib/libnss_nisplus.so.2
    0x01625000-0x01627c71 /lib/libnss_dns.so.2
    0x01b0e000-0x01b1b990 /lib/libresolv.so.2
    0x00ddc000-0x00ddc6e9 /usr/java/bea/jdk/1.4.2/jre/lib/i386/librmi.so
    0x0196e000-0x019715c1 /usr/java/bea/jdk/1.4.2/jre/lib/i386/libioser12.so
    Java Thread ID = 0x00003500, lastJavaFrame = (nil), Name = TP-Processor32
    Thread Stack Trace:
    at java/util/HashMap.get(Optimized Method)@0x1c9b350
    at java/io/ObjectStreamClass.lookup(Optimized Method)@0x7e6fbde
    at java/io/ObjectStreamClass.initProxy(Unknown Source)@0x5feef04
    at java/io/ObjectInputStream.readProxyDesc(Optimized Method)@0xaa7b0ec
    at java/io/ObjectInputStream.readObject(Optimized Method)@0xa7bee63
    at java/rmi/MarshalledObject.get(Optimized Method)@0xbfe238c
    at org/jnp/interfaces/MarshalledValuePair.get(MarshalledValuePair.java:28)@0x263b571
    at org/jnp/interfaces/NamingContext.lookup(Optimized Method)@0xb08cfe1
    at org/jnp/interfaces/NamingContext.lookup(Optimized Method)@0xbf57275
    at javax/naming/InitialContext.lookup(Optimized Method)@0xaa7712b
    at com/lastminute/ebasket/basket/JNDIHostedEJBObjectsFactory.lookupBasketHome(JNDIHostedEJBObjectsFactory.java:352)@0x378e84b
    at com/lastminute/ebasket/basket/JNDIHostedEJBObjectsFactory.findBasket(JNDIHostedEJBObjectsFactory.java:310)@0x378e21d
    at com/lastminute/ebasket/basket/JNDIHostedEJBObjectsFactory.findBasket(JNDIHostedEJBObjectsFactory.java:250)@0x378db6f
    at com/lastminute/ebasketx/ui/servlet/AddToBasketAction.perform(AddToBasketAction.java:101)@0x5ed9299
    at org/apache/struts/action/Action.execute(Optimized Method)@0x8006231
    at org/apache/struts/action/RequestProcessor.processActionPerform(RequestProcessor.java:484)@0x5ed8fe1
    at org/apache/struts/action/RequestProcessor.process(Optimized Method)@0x8004b71
    at org/apache/struts/action/ActionServlet.process(Optimized Method)@0x800fe11
    at org/apache/struts/action/ActionServlet.doGet(ActionServlet.java:507)@0x4ab64f4
    at javax/servlet/http/HttpServlet.service(HttpServlet.java:740)@0x470ae51
    at javax/servlet/http/HttpServlet.service(Optimized Method)@0xbd5d31a
    at org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Optimized Method)@0xbfa0e4a
    at org/apache/catalina/core/ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)@0x3fbdb83
    at org/apache/catalina/core/ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)@0x3fbdb67
    at jrockit/vm/AccessController.do_privileged_exc(Optimized Method)@0xc9ff12c
    at jrockit/vm/AccessController.doPrivileged(Optimized Method)@0xc0b7c86
    at org/apache/catalina/core/ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)@0x3fbda44
    at com/lastminute/ebasketx/ui/helper/SessionFilter.doFilter(SessionFilter.java:56)@0x4ab631e
    at org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Optimized Method)@0xbfa0f23
    at org/apache/catalina/core/ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)@0x3fbdb83
    at org/apache/catalina/core/ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)@0x3fbdb67
    at jrockit/vm/AccessController.do_privileged_exc(Optimized Method)@0xc9ff12c
    at jrockit/vm/AccessController.doPrivileged(Optimized Method)@0xc0b7c86
    at org/apache/catalina/core/ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)@0x3fbda44
    at org/apache/catalina/core/StandardWrapperValve.invoke(StandardWrapperValve.java:256)@0x3fbcc0d
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc349
    at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)@0x2787424
    at org/apache/catalina/core/ContainerBase.invoke(Optimized Method)@0xbf9dde1
    at org/apache/catalina/core/StandardContextValve.invoke(StandardContextValve.java:191)@0x3fbc71d
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc349
    at org/jboss/web/tomcat/security/JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)@0x3fbc428
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/authenticator/AuthenticatorBase.invoke(AuthenticatorBase.java:494)@0x3fb98ad
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/valves/CertificatesValve.invoke(CertificatesValve.java:246)@0x3fb8a7a
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/jboss/web/tomcat/tc4/statistics/ContainerStatsValve.invoke(ContainerStatsValve.java:76)@0x3fb8934
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)@0x2787424
    at org/apache/catalina/core/ContainerBase.invoke(Optimized Method)@0xbf9dde1
    at org/apache/catalina/core/StandardContext.invoke(StandardContext.java:2417)@0x3fb8875
    at org/apache/catalina/core/StandardHostValve.invoke(Optimized Method)@0xbf23542
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc349
    at org/apache/catalina/valves/ErrorDispatcherValve.invoke(Optimized Method)@0xbf2376a
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/valves/ErrorReportValve.invoke(ErrorReportValve.java:172)@0x278d370
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/jboss/web/tomcat/security/SecurityAssociationValve.invoke(Optimized Method)@0xbfa040d
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/valves/AccessLogValve.invoke(Optimized Method)@0xbf9c372
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc371
    at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)@0x2787424
    at org/apache/catalina/core/ContainerBase.invoke(Optimized Method)@0xbf9dde1
    at org/apache/catalina/core/StandardEngineValve.invoke(StandardEngineValve.java:174)@0x2787686
    at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Optimized Method)@0x7fbc349
    at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)@0x2787424
    at org/apache/catalina/core/ContainerBase.invoke(Optimized Method)@0xbf9dde1
    at org/apache/coyote/tomcat4/CoyoteAdapter.service(CoyoteAdapter.java:197)@0x275384d
    at org/apache/jk/server/JkCoyoteHandler.invoke(Optimized Method)@0xbf987e2
    at org/apache/jk/common/HandlerRequest.invoke(Optimized Method)@0xbf993f2
    at org/apache/jk/common/ChannelSocket.invoke(ChannelSocket.java:673)@0x2751c10
    at org/apache/jk/common/ChannelSocket.processConnection(Optimized Method)@0x7fb5e35
    at org/apache/jk/common/SocketConnection.runIt(Optimized Method)@0xbf99f01
    at org/apache/tomcat/util/threads/ThreadPool$ControlRunnable.run(ThreadPool.java:677)@0x224f434
    at java/lang/Thread.run(Optimized Method)@0x7e7473a
    at java/lang/Thread.startThreadFromVM(Optimized Method)@0x1c9c0da
    --- End of stack trace
    Additional information is available in:
    /home/ebask11/rel_15_59912-jb-3.2.3-2.19/bin/jrockit.26704.dump
    /home/ebask11/rel_15_59912-jb-3.2.3-2.19/bin/core
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.

  • Null Pointer exception in ToplinkDataControlProvider

    Hi all,
    I'm using Jdeveloper 10.1.3.0.4 and ADF Faces with Toplink. After creating a new database diagram with new tables and creating physical tables in database, I have created POJO files from database objects. There is no problem at this point but when I want to create xml data control files for POJO files. The null pointer exception is thrown in the jdeveloper dialog window.
    thanks in advance
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi all,
    This time , After I removed (deleted) 2-3 POJO files (model files) which is mapped against database tables, I have tried to create POJO files again but jdeveloper IDE has shown error message via popup window. The exception message is given below:
    java.lang.NullPointerException
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    I couldn't create POJO files and after clicking OK button in popup window; the progress indicator in another window which indicates the creation of POJO files moves continuously.... So please tell me, in where do I make mistake?
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Null pointer exception in embedded component

    Hi all,
    I am trying to build a custom component that serves as a container. Unfortunately I consistently hit a null pointer exception in javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion when my custom component contains a JPanel.
    You'll find below the smallest code that reproduces the problem and the exception that comes with it.
    In my testing I noticed few things:
    - If the contained object is simple (a JButton for example), there is no problem.
    - When I turn off double buffering, there is no problem.
    - I figured out that I need to set the contained component size and its internal components to have it display properly.
    I can't figure out what would make this work.
    I'm using JDK 6.
    package test;
    import java.awt.*;
    import javax.swing.*;
    public class Test {
         public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
         private static void createAndShowGUI() {
              // internal panel
              JPanel lPanel = new JPanel();
              JButton lButton = new JButton("Button 1");
              lButton.setSize(lButton.getPreferredSize());
              lPanel.add(lButton);
              IntComponent b = new IntComponent(lPanel);
              JFrame lFrame = new JFrame("internal panel test");
              //RepaintManager.currentManager(null).setDoubleBufferingEnabled(false);
              lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              lFrame.getContentPane().add(b);
              lFrame.pack();
              lFrame.setVisible(true);
    class IntComponent extends JComponent {
         private JComponent mInternalComponent;
         public IntComponent(JComponent iComponent) {
              mInternalComponent=iComponent;
              mInternalComponent.setSize(mInternalComponent.getPreferredSize());
         public Dimension getMaximumSize() {
              return getPreferredSize();
         public Dimension getMinimumSize() {
              return getPreferredSize();
         public Dimension getPreferredSize() {
              return mInternalComponent.getPreferredSize();
         protected void paintComponent(Graphics g) {
              mInternalComponent.paint(g);
    }Exception:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion(BufferStrategyPaintManager.java:406)
         at javax.swing.BufferStrategyPaintManager.endPaint(BufferStrategyPaintManager.java:370)
         at javax.swing.RepaintManager.endPaint(RepaintManager.java:1192)
         at javax.swing.JComponent.paint(JComponent.java:1016)
         at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
         at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
         at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
         at java.awt.Container.paint(Container.java:1797)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    import java.awt.*;
    import javax.swing.*;
    class Test {
      public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
      private static void createAndShowGUI() {
        JPanel lPanel = new JPanel();
        JButton lButton = new JButton("Button 1");
        lPanel.add(lButton);
        IntComponent b = new IntComponent(lPanel);
        JFrame lFrame = new JFrame("internal panel test");
        lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        lFrame.getContentPane().add(b);
        lFrame.pack();
        lFrame.setVisible(true);
    class IntComponent extends JComponent {
      private JComponent mInternalComponent;
      public IntComponent(JComponent iComponent) {
        mInternalComponent=iComponent;
        setLayout(new FlowLayout());//<--added
        add(mInternalComponent);//<--added
      public Dimension getMaximumSize() {
        return getPreferredSize();
      public Dimension getMinimumSize() {
        return getPreferredSize();
      public Dimension getPreferredSize() {
        return mInternalComponent.getPreferredSize();
      protected void paintComponent(Graphics g) {
        //mInternalComponent.paint(g);//<--error from this
        super.paintComponent(g);//<---added
    }

  • Null pointer exception in toString!

    Hi all,
    i am getting null pointer exception in toString method.Might be due to threads.Can i synchronize toString?
    The code snippent is as follows :
    @Override
    public String toString ()
    if (mSourceInfo != null)
    return "Source [Name=" + mSourceInfo.name + ", Description=" + mSourceInfo.description + ", Type=" + mSourceInfo.type + ", Path="
                        + ", Online=" + mSourceInfo.online + ", Acknowledged=" + mSourceInfo.acknowledged + ", Tags=" + mSourceInfo.tags
                        + ", Dimension:width=" + mSourceInfo.width + ", height=" + mSourceInfo.height + "SourceId=" + mSourceInfo.sourceId;
    else
    return "Source [Id=" + mObjectId + "]";
    }

    Sourav-Sipani wrote:
    Make the following change:No! Don't! Sorry to say that, but this suggestion is bullshit.
    1. there is no String constructor that takes any object.
    2. sourceInfo definitely is not a String!
    3. there is almost never a reason to use the String constructor that takes only a String (if you where trying to do that).
    The correct solution would look something like this:
    public String toString ()
         // Get a local copy of this object so that the
         // entire method is isolated from any changes
         // in the global object
         TypeOfSourceInfo tempSource = mSourceInfo;
         if (tempSource != null)
              return "Source [Name=" + tempSource.name + ", Description=" + tempSource.description + ", Type=" + tempSource.type + ", Path="
              + ", Online=" + tempSource.online + ", Acknowledged=" + tempSource.acknowledged + ", Tags=" + tempSource.tags
              + ", Dimension:width=" + tempSource.width + ", height=" + tempSource.height + "SourceId=" + tempSource.sourceId;
         else
              return "Source [Id=" + mObjectId + "]";
    }Btw, it seems that the type of mSourceInfo should have a toString, which you could simply call here. Your code seems to do stuff that that Class should be doing instead.

  • Null pointer exception in native code. error 52 in Weblogic8.1

    Hi all,
    I'm using WLS 8.1SP5 with 1.4.2_08 and having this dump once a day, when people is working. I tryed google, but no luck. Can someone can help please?
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 5 days, 00:39:42 on Mon Oct 01 16:59:00 2007
    Additional information is available in:
    D:\web\bea\user_projects\domains\APIA_Prod\jrockit.2188.dump
    D:\web\bea\user_projects\domains\APIA_Prod\jrockit.2188.mdmp
    If you see this dump, please open a support case with BEA and
    supply as much information as you can on your system setup and
    the program you were running. You can also search for solutions
    to your problem at http://forums.bea.com in
    the forum jrockit.developer.interest.general.
    Error code: 52
    Error Message: Null pointer exception in native code
    Version : BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 ari-49095-20050826-1856-win-ia32
    Threads / GC : Native Threads, GC strategy: parallel
    : mmHeap->data = 0x00B60000, mmHeap->top = 0x40B60000
    : mmStartCompaction = 0x1EB60000, mmEndCompaction = 0x23B60000
    CPU : Intel Pentium 4 (HT)
    Number CPUs : 8
    Tot Phys Mem : 4025999360
    OS version : Microsoft Windows Server 2003 Service Pack 1 (Build 3790)
    State : JVM is shutting down
    Command Line : -Djava.class.path=.;C:\Program Files\Java\j2re1.4.2_05;C:\Program Files\Java\j2re1.4.2_05\lib;C:\Program Files\Java\j2re1.4.2_05\lib\tools.jar -Djrockit.launcher.type=jrockit.shipment -Xms1024m -Xmx1024m -Xgc:parallel -Xcleartype:local -Dweblogic.management.server=http://10.128.12.23:7001 -Dbea.home=D:\web\bea -Dweblogic.RootDirectory=D:\web\bea\user_projects\domains\APIA_Prod -Djava.class.path=.;D:\web\bea\jdk142_08\lib\tools.jar;D:\web\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\web\bea\WEBLOG~1\server\lib\weblogic.jar -Djava.security.policy==D:\web\bea\WEBLOG~1\server\lib\weblogic.policy -Dweblogic.Name=Apia_Svr1 -Dweblogic.system.BootIdentityFile=D:\web\bea\WEBLOG~1\common\nodemanager\NodeManagerLogs\NodeManagerInternal\bootFile_APIA_Prod_Apia_Svr1 -Dweblogic.system.NodeManagerBoot=true -Dweblogic.system.NodeManagerAddress=null::5555 -Dweblogic.nodemanager.ServerStartTime=1190834358456 -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Dsun.java.command=weblogic.Server
    Environment : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_05, java.home=d:\web\bea\jrockit81sp5_142_08\jre, java.class.path=.;D:\web\bea\jdk142_08\lib\tools.jar;D:\web\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\web\bea\WEBLOG~1\server\lib\weblogic.jar, java.library.path=d:\web\bea\jrockit81sp5_142_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\web\bea\WEBLOG~1\server\bin;D:\web\bea\jdk142_08\bin;D:\web\bea\jdk142_08\jre\bin;C:\Program Files\VERITAS\NetBackup\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\j2re1.4.2_05\bin
    C Heap : Good; no memory allocations have failed
    Registers (from context struct at 0x41D6F488/0x41D6F5A4):
    Converted EIP: 41eafe45
    EAX = 00001e90 EBX = 009db42c
    ECX = 003c1e90 EDX = 00000000
    ESI = 71c14280 EDI = 00000000
    EIP = 41eafe45 ESP = 41d6f870
    EBP = 41d6f880 EFL = 00010a03
    CS = 001b DS = 0023 ES = 0023
    SS = 0023 FS = 003b GS = 0000
    Stack:
    41d6f870 :00000000 00000000 003c95a8 003c1e90 00000000 004e91e1
    41d6f888 :0000008f 00000000 41d6f8c4 009db42c 00000001 00000000
    41d6f8a0 :41b802e0 4cfa3940 012b5068 4d87a5cc 012b5068 00000000
    41d6f8b8 :012b5068 41b81710 4ccfcdda 009b9ba8 004e9244 012b5310
    41d6f8d0 :0054deca 012b5315 4ccfc945 0000008f 50a0f1e8 009db42c
    41d6f8e8 :00000000 012b5258 4ccfcb33 012b5315 0000008f 012b5258
    41d6f900 :4ccfca44 012b525d 00000000 009b9ba8 41d6f918 41b823f8
    41d6f918 :4ccfc980 00553ff5 ffffffff 00000010 00000000 41d6f9e4
    41d6f930 :4d1126e8 009b9c34 41d6fa48 41d6f978 009b9c34 437faab0
    41d6f948 :fffffffe 00000002 fffffffe 00000000 41d6f978 00570b50
    41d6f960 :00000000 009b9ba8 00090000 009b9c34 00000001 7c8302e7
    41d6f978 :00000000 00570b50 fffffff8 00000001 0000008f 0000008c
    41d6f990 :437faaf0 00000000 00000000 00000000 00000000 41d6f918
    41d6f9a8 :41b823c0 ffffffff 437f9fc0 437faab0 009b9c34 4ccfc980
    41d6f9c0 :0000008f 41d6f918 00000001 00000001 00000010 00000000
    41d6f9d8 :00000000 41d6f918 009b9c34 009b9ba8 00533bb1 009b9c34
    41d6f9f0 :50a0f1b8 4d1126e8 00000000 41d6fa44 005539c0 41d6fa48
    41d6fa08 :009b9ba8 437f9fc0 41d6fa50 009b9c34 0059065c 50a0f1b8
    41d6fa20 :00535583 009b9c34 437faab0 00000000 41d6fa44 005539c0
    41d6fa38 :00000001 41d6fa48 00533729 41d6fa68 00000000 00000000
    41d6fa50 :0000008f 00569db2 009b9c34 437f9fd4 437faab0 0000008f
    41d6fa68 :009b9ba8 009b9c34 0000000f 00000002 00569ef7 0000008f
    41d6fa80 :009b9ba8 0056a38d 009b9ba8 009b9ba8 41d6ff80 009b9ba8
    41d6fa98 :7ffde000 009b9c34 41d6ff98 00525ca0 00572cf0 00000000
    41d6fab0 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fac8 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fae0 :00030178 00000269 00000000 00000000 00000000 00000000
    41d6faf8 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fb10 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fb28 :00000000 00000000 00037c28 00000000 00000000 00000000
    41d6fb40 :00000000 00000013 00000000 00037c20 00030168 00000042
    41d6fb58 :00037c20 00000013 00030178 00000000 00000098 00000000
    41d6fb70 :00030000 009d6850 00000210 4100fbbc 00000098 4100f980
    41d6fb88 :00380000 41d6f988 00000000 41d6fbd4 7c82f680 7c82fb28
    41d6fba0 :ffffffff 7c82fb23 7c3423aa 771f123c 00000000 00000002
    41d6fbb8 :771f0000 41d6fc10 00095e70 00000001 00000000 41d6fca8
    41d6fbd0 :771f46c9 771f1240 ffffffff 771f123c 771f11e8 771f0000
    41d6fbe8 :00000002 00000000 00000000 41d6fc10 00000001 41d6fc1c
    41d6fc00 :7c82257a 771f0000 00000001 00000000 00000001 00000000
    41d6fc18 :00097f98 00000001 00000000 41d6fcb8 7c81a81b 7c889d94
    41d6fc30 :7c81b26f 00000000 7ffdc000 00000000 00000000 00000000
    41d6fc48 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fc60 :00000000 00000024 00000001 00000000 00000000 00000070
    41d6fc78 :ffffffff ffffffff 7c81a7dc 7c81a7a4 00000000 00000000
    41d6fc90 :00097f98 771f11a0 00000418 000000f5 009dc120 41d6fecc
    41d6fca8 :7c82fda6 7c82fb23 0000040c 0000040c 009b9ba8 7c822054
    41d6fcc0 :7c81b23f 41d6fd28 00000000 009dbad8 00000000 00000000
    41d6fcd8 :00000000 00000000 00000000 00000000 00000000 00000000
    41d6fcf0 :00000000 00000000 00000000 41d6fcc4 00000000 41d6fff4
    41d6fd08 :7c82f680 009dc530 ffffffff 7c81b23f 7c8211b4 0000000c
    41d6fd20 :41d6fd28 00000001 00010017 00000000 00000000 00380178
    41d6fd38 :00000000 00000000 00000000 00000005 f7547000 0000010d
    41d6fd50 :000007ff 00000001 624e4d43 00000060 ae19faa4 009dc120
    41d6fd68 :e4d11360 e24e4d43 00000005 0000000e e310e008 ffffffff
    41d6fd80 :3b9aca07 e33dd7e8 3b9aca07 3b9aca07 00380178 1a30eb0a
    41d6fd98 :009dc538 8093d69b 009d99e8 00000000 00380178 c0000034
    41d6fdb0 :808ad480 00000000 00000038 009d99f0 00000023 00000000
    41d6fdc8 :00000000 009dbad8 00000000 00000000 0056f660 00000000
    41d6fde0 :77e6b5f3 0000001b 00000200 41d6fffc 00000023 00000698
    41d6fdf8 :0000076a e47bbbf0 00000090 00000006 00000005 f7547000
    41d6fe10 :ae19fbd4 e131ec08 ae19fbd8 d3f0fe22 d3f0fe22 000000f5
    41d6fe28 :8093cb16 e131ec08 e105bf1c 00000025 ae19fbd0 009d99f0
    41d6fe40 :e105bfb0 ae19fbd4 8093cb6e 3b9aca07 e131ec08 8083a8f5
    41d6fe58 :00000000 00000000 80a78be3 badb0d00 80010031 00000005
    41d6fe70 :009dc120 00000005 c0502000 009dccd8 77ce8221 00000083
    41d6fe88 :00000000 009dc118 ae19fba8 00000418 009dc118 009dc120
    41d6fea0 :00380178 00000001 00000418 0000ad58 00380000 41d6fcb0
    41d6feb8 :f772fa00 41d6fefc 7c82f680 7c82fb28 ffffffff 7c82fb23
    41d6fed0 :7c3416b3 00380000 00000000 7c3416b8 0000040c 00000000
    41d6fee8 :009b9ba8 ffffffff 41d6ff3c 41d6fee0 41d6ff40 41d6ff98
    41d6ff00 :7c34240d 7c37a2a8 ffffffff 7c3416b8 7c3416db 0000040c
    41d6ff18 :7c3416f8 0000040c 00000000 00504b4d 0000040c 0107e577
    41d6ff30 :41d6ff6c 0057de91 009b9ba8 009b9ba8 00003000 00000140
    41d6ff48 :41d6ff64 41d6ffa0 0056f1f9 41c70000 00003000 009b9ba8
    41d6ff60 :009db8b0 009b9ba8 0056e9c2 7c821dd4 009b9ba8 009b9ba8
    41d6ff78 :009b9ba8 00572ce9 41d6ffa0 00572ded 77e6eccd 009dbad8
    41d6ff90 :009dbad8 7ffde000 41d6ffdc 00525ca0 41d6ffec 0056f6c7
    41d6ffa8 :009b9ba8 00000000 00000000 00000740 009dbaf4 77e6608b
    41d6ffc0 :00000740 00000000 00000000 009dbad8 c9792963 41d6ffc4
    41d6ffd8 :000d4193 ffffffff 77e6b7d0 77e66098 00000000 00000000
    Code:
    41eafd45 :00000000 00000000 00000000 00000000 00000000 00000000
    41eafd5d :00000000 00000000 ff4e4be0 00ffffff 007ffdc0 00000000
    41eafd75 :34001590 0041eafd 98000000 d041eaff 0077e6b7 0077e6bb
    41eafd8d :a4000000 4241eafd 2877e6ba ff000007 00ffffff 68000000
    41eafda5 :0c41d6f8 280056e6 ff000007 0fffffff 48001d1a 8000aece
    41eafdbd :00006093 987ffda0 c0005710 98004fe0 38009da3 0041eafe
    41eafdd5 :40000000 9841eafe f8009da3 0001c83c e0000000 0001c83c
    41eafded :17000000 80004f66 38006093 3841eafe 2041eafe 00f7c4ca
    41eafe05 :da7ffda0 20004f20 c0f7c4ca 00004fe0 00000000 b5000000
    41eafe1d :98004f2e 98009da3 00009da3 9841eaff 58009da3 00303fe0
    41eafe35 :00000000 50000000 0000570b 98000000 00009da3 00000000
    41eafe4d :80000000 f5006093 388083a8 5041eafe 0000570b 98000000
    41eafe65 :31009da3 00800100 60000000 00005c0e 58000000 5041eafe
    41eafe7d :0000570b 98000000 00009da3 00000000 d0000000 00005c0e
    41eafe95 :31000000 00800100 00000000 00000000 ff000000 00ffffff
    41eafead :00000000 cc000000 0080a78b e0f7757a 78adbbab 5041eafe
    41eafec5 :0000570b 98000000 b7009da3 608083e6 2888736a 90005c0e
    41eafedd :7888736a 5041eafe 0000570b 98000000 3c009da3 0041eaff
    41eafef5 :20000000 00005c0f 80000010 f041eaff 0000572c 84000000
    41eaff0d :917c8218 ff77e41a 3cffffff 4041eaff 4041eaff 64000001
    41eaff25 :f041eaff 6c009de2 2d41eaff 0600540a 98000000 f0009da3
    41eaff3d :00009de2 40000030 64000001 a041eaff f941eaff 000056f1
    Loaded modules:
    (* denotes the module causing the exception)
    0x7c800000-0x7c8bffff C:\WINDOWS\system32\ntdll.dll
    0x77e40000-0x77f41fff C:\WINDOWS\system32\kernel32.dll
    0x77f50000-0x77febfff C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000-0x77ceefff C:\WINDOWS\system32\RPCRT4.dll
    0x77ba0000-0x77bf9fff C:\WINDOWS\system32\MSVCRT.dll
    0x00410000-0x0061afff d:\web\bea\jrockit81sp5_142_08\jre\bin\jrockit\jvm.dll
    0x76aa0000-0x76accfff C:\WINDOWS\system32\WINMM.dll
    0x77c00000-0x77c47fff C:\WINDOWS\system32\GDI32.dll
    0x77380000-0x77411fff C:\WINDOWS\system32\USER32.dll
    0x7c8d0000-0x7d0d3fff C:\WINDOWS\system32\SHELL32.dll
    0x77da0000-0x77df1fff C:\WINDOWS\system32\SHLWAPI.dll
    0x71c00000-0x71c16fff C:\WINDOWS\system32\WS2_32.dll
    0x71bf0000-0x71bf7fff C:\WINDOWS\system32\WS2HELP.dll
    0x7c340000-0x7c395fff C:\WINDOWS\system32\MSVCR71.dll
    0x71bc0000-0x71bc7fff C:\WINDOWS\system32\rdpsnd.dll
    0x771f0000-0x77200fff C:\WINDOWS\system32\WINSTA.dll
    0x71c40000-0x71c97fff C:\WINDOWS\system32\NETAPI32.dll
    0x76b70000-0x76b7afff C:\WINDOWS\system32\PSAPI.DLL
    0x77420000-0x77522fff C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.2778_x-ww_A8F04F11\comctl32.dll
    0x76f50000-0x76f62fff C:\WINDOWS\system32\Secur32.dll
    0x00b30000-0x00b48fff d:\web\bea\jrockit81sp5_142_08\jre\bin\java.dll
    0x00b50000-0x00b5dfff d:\web\bea\jrockit81sp5_142_08\jre\bin\verify.dll
    0x71b20000-0x71b60fff C:\WINDOWS\System32\mswsock.dll
    0x76ed0000-0x76efefff C:\WINDOWS\system32\DNSAPI.dll
    0x76f80000-0x76f87fff C:\WINDOWS\system32\rasadhlp.dll
    0x42c30000-0x42c34fff D:\web\bea\weblogic81\server\bin\wlntio.dll
    0x68000000-0x6802efff C:\WINDOWS\system32\rsaenh.dll
    0x00a90000-0x00a95fff D:\web\bea\jrockit81sp5_142_08\jre\bin\ioser12.dll
    0x02800000-0x028c0fff d:\web\bea\jrockit81sp5_142_08\jre\bin\dbghelp.dll
    0x77b90000-0x77b97fff C:\WINDOWS\system32\VERSION.dll
    Java Thread ID = 0x00000100, lastJavaFrame = 0x41D6F8E0, Name = (Signal Handler)
    Thread Stack Trace:
    at _vmShutdown+225()@0x004E91E1
    at java/lang/Shutdown.halt(Native Method)@0x4CCFC910
    at java/lang/Shutdown.exit(Unknown Source)@0x4CCFCA44

    You would need to get BEA support, after verifying you are on a supported configuration (http://edocs.bea.com/jrockit/jrdocs/suppPlat/supp_142.html).
    Otherwise you may need to try update 10, or use Sun JVM.

Maybe you are looking for