Java.lang.NullPointerException with EP 60 SR1 installation

Hi,
I installed WebAs640 for Java on MaxDB and Installed EP 60 SR1, when i first called the URL as http://<servername>:5000/irj in the browser, i am getting the following error. Any help is really appreciated.
Application error occurs during processing the request.
Details: java.lang.NullPointerException
     at com.sap.portal.navigation.Gateway.service(Gateway.java:74)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
     at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
     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:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Thanks
Vijay

http://<servername>:5000/irj is the same as http://<servername>:5000/irj/portal, but you should try port 50000 instead of 5000.
the correct URL to the default-Portal-Installation is:
http://<servername>:50000/irj

Similar Messages

  • Java.lang.NullPointerException with OracleXMLParser V2

    Hi,
    I am getting java.lang.NullPointerException with OracleXMLParser V2.
    Following is some of the code snippet. I am not sure where I am going
    wrong. I am using the SAXParser. I tried both FileReader as well as URL
    InputSources But I am getting the same error.
    Parser parser = new SAXParser();
    parser.setDocumentHandler(this);
    parser.setEntityResolver(this);
    parser.setDTDHandler(this);
    parser.setErrorHandler(this);
    try {
    FileReader fileReader = new FileReader(defaultFileName);
    //InputSource iSource = new InputSource(fileReader);
    URL myURL = new URL("http://ewdev02/ooppub01.xml");
    InputSource iSource = new InputSource(myURL.toString());
    parser.parse(iSource);
    //parser.parse("http://ewdev02/ooppub01.xml");
    catch (FileNotFoundException fe) {
    System.err.println("File Not Found!");
    catch (SAXParseException se)
    System.out.println("Sax Exception: " + se.getMessage());
    catch (IOException ioe)
    System.out.println("IO Exception: " + ioe.getMessage());
    catch (Exception e){
    System.out.println("Error Parsing: " + e.toString ());
    Here are some of my habdlers:
    public void startDocument() {
    System.out.println("Beginning of the Document!");
    public void endDocument() throws SAXException {
    System.out.println("End of the Document!");
    System.out.println("A total of " + n + "Records inserted in the database!");
    public void startElement(String elname) throws SAXException {
    if (elname.equalsIgnoreCase("DOCS")){
    System.out.println("Biginning of the document! Ignoring <Docs>");
    curColumn = new AIColumns();
    else if (elname.equalsIgnoreCase("DOC")){
    System.out.println("Begining of <DOC>");
    curColumn.flush();
    n++;
    currentElement = elname;
    System.out.println( currentElement );
    public void endElement(String elname) throws SAXException {
    if (elname.equalsIgnoreCase("DOC")){
    System.out.println("End of <DOC>");
    //Now call the function to insert in the database
    try {
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    } catch ( Exception e ) {
    System.err.print("Exception: ");
    System.err.println( e.getMessage() );
    return;
    ..... after this I insert the record into database.
    Your help is greatly appreciated.
    Best Regards,
    Chandra Shirashyad

    Hi,
    Can you please also post the stack trace for where the Null pointer exception is occurring?
    Thank you,
    Oracle XML Team
    null

  • Java.lang.NullPointerException with FTP receiver

    Hi All,
    I have a java.lang.NullPointerException in the Runtime Workbench for my FTP Adapter, that is a receiver.
    At SXMB_MONI all the messages are successful.
    What this could be?
    Thanks in advance,
    Daniela

    Naveen,
    Thanks for your help.
    I took a look in RWB and it seems like there was an error when CC tried to connect with the FTP server. The last two messages are:
    Success -> Connect to FTP server "10.112.144.108", directory "\interfaces2\conversionesTest"
    Error -> Attempt to process file failed with Error occurred while connecting to the FTP server "10.112.144.108:22": java.lang.NullPointerException
    Do you think ii could be an conection error (login, port) or a wrong configuration in my CC?
    Thaks in advance,
    Daniela Machado

  • Java.lang.NullPointerException with and update statement

    Hello,
    I'm getting this exception:
    java.lang.NullPointerException
         phaseone.AlbumModel.updateImageTrackerAlbums(AlbumModel.java:313)
         phaseone.AlbumModel.processRequest(AlbumModel.java:228)
         phaseone.AlbumModel.doGet(AlbumModel.java:522)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I have an open method called before this one that connects me to the database. It works fine and have it working with a bunch of other methods but this one gives me this exception. i've even hard coded the variable 'user' and 'albumNumber' with information that exists in the database. i can't see where this logical error is coming from. I appreciate the help. I've been on this for 3 1/2 hour going blind. thanks!!
    public boolean updateImageTrackerAlbums(String user, int albumNumber){
              PreparedStatement pstmt = null;
              boolean pass = false;
              String query = "update imagetracker set totalalbums = ? where username = ?";
              try{
              pstmt = conn.prepareStatement(query);
              pstmt.setInt(1, albumNumber);
              pstmt.setString(2, user);
             int x = pstmt.executeUpdate();
             if (x >= 1){
             pass = true;
              }catch(SQLException e){
                e.printStackTrace();
                return pass;
              }finally{
              DBUtil.closePreparedStatment(pstmt);
              return pass;
              }

    code3 wrote:
    The exception is pointing to this:
    pstmt = conn.prepareStatement(query);
    Do you understand anyway when a NullPointerException would be thrown? It will be thrown if you try to access/invoke an object reference which is actually null.
    Connection conn = null;
    pstmt = conn.prepareStatement(query); // Throws NPE because conn is null.

  • Java.lang.NullPointerException with ADF Module

    Hi,
    I am trying to build simple application like "How to Build a Simple UIX Search Form
    But my view is
    =====================================================
    SELECT EmIssue.ID,
    EmIssue.INITIATIVE_ID,
    EmIssue.NAME,
    EmIssue.DESCRIPTION
    FROM EM_ISSUE EmIssue
    =====================================================
    And I added new method at AppModuleImpl
    It is
    ViewObject Issue = findViewObject("EmIssueView1");
    System.out.println("***In setBindVars*****");
    String WhereClause = " EmIssue.NAME like '%issue%'";
    Issue.setWhereClause(WhereClause);
    System.out.println("***END setBindVars*****");
    Issue.executeQuery();
    =====================================================
    And the system raises error with java.lang.NullPointerException at line
    String WhereClause = " EmIssue.NAME like '%issue%'";
    Could any one tell me where is error in my code
    Thanks

    It is unlikely that NPE was raised on
    String WhereClause = " EmIssue.NAME like '%issue%'";
    It's more likely that NPE was thrown from
    Issue.setWhereClause(WhereClause);
    This would happen if Issue is null, which means that the findViewObject() method couldn't find a VO named "EmIssueView1". Make sure that the VO name is spelled corectly. Names are case sensitive.
    Thanks.
    Sung

  • Java.lang.NullPointerException with rich:pickList

    Hi every Body,
    I still getting a problem with my <rich:pickList> and really I need help. I got an error when executing the application, I debugged the application and I have notice that the problem cames from the PickList tag.
    the error is as follow:
    java.lang.NullPointerException
            at com.sun.facelets.util.FastWriter.write(FastWriter.java:77)
            at com.sun.facelets.StateWriter.write(StateWriter.java:116)
            at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.write(HtmlResponseWriter.java:495)
            at org.richfaces.renderkit.PickListRenderer.encodeItem(PickListRenderer.java:194)
            at org.richfaces.renderkit.PickListRenderer.encodeRows(PickListRenderer.java:152)
            at org.richfaces.renderkit.PickListRenderer.encodeSourceRows(PickListRenderer.java:209)
            at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.jav
    a:344)
            at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.jav
    a:258)
            at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
            at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
            at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
            at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRendere
    r.java:79)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja
    va:271)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
            at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
            at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
            at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
            at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.jav
    a:411)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
    ava:317)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
            at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
            at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
            at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
            at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
            at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
            at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
    ava:230)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
    ava:230)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:27
    1)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProces
    sorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorT
    ask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTas
    k.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultRead
    Task.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106
    )     My backing bean:
    @Stateful
    @Name("adminAction")
    @Scope(ScopeType.SESSION)
    public class AdminActionBean implements AdminActionLocal {
    @Out(required=false)
       private List<Customer> companyNames;
       @Out(required=false)
       private ArrayList<SelectItem> companyNamesOption;
       @In(required=false)
       @Out(required=false)
       private List<Long> customersChoice = new ArrayList<Long>();
    public void selectCompanyNames(){
           setCompanyNames((List<Customer>) getEm().createQuery("select c from Customer c")
                        .getResultList());
       @Factory("companyNamesOption")
       public void selectCompanyNamesOption(){
           selectCompanyNames();
           for (int i=0;i <companyNames.size();i++){
               log.info("customers size =#0",companyNames.size());
               if(companyNamesOption== null)
                   companyNamesOption  = new ArrayList<SelectItem>();
               SelectItem item = new SelectItem(companyNames.get(i).getCustomerId(), companyNames.get(i)
    .getCompanyName(), companyNames.get(i).getCompanyName() );
               companyNamesOption.add(item);
               log.info("customers size2 =#0",customers.size());
    // getter and setter
    ...My .xhtml page:
    <rich:pickList id="customersChoice"  value="#{adminAction.customersChoice}">
                        <f:selectItems  value="#{companyNamesOption}" />
                    </rich:pickList>     When debugging, the message error is displayed exactly after the selectCompanyNamesOption() method.
    thank you very much
    cheers
    bibou

    bibou wrote:
    java.lang.NullPointerException
    at com.sun.facelets.util.FastWriter.write(FastWriter.java:77)I would consider it as a bug in Facelets. But you might also have done something seriously wrong with your RichFaces tag and the logic behind which caused this unexpected exception.
    For more accurate answers, try reposting this question at the RichFaces forum at JBoss.com, there where the RichFaces boys walk around. You see, you're here at a Sun forum where mainly Mojarra boys walk around.

  • Java.lang.NullPointerException , with no refrence to my own source code....

    what can cause this exception ?
    it does not point to any of my own source classes ,
    i works fine in OC4J 10.1.3.1 developer preview but not in 10.1.3.00 standalone
    06/10/16 16:44:55.109 web2: Servlet error
    java.lang.NullPointerException
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Thank you for reply.
    I develop this application in 10.1.3.1.0 ,
    I could finally run it on OC4J 10.1.3.1 developer preview in the server , so i have no need to work on running the application on 10.1.3.00 .
    but now i have a deep problem with sending emails from my application deployed in production server , i found no solution for it .
    it is really ODD in my eyes.
    if you are intrested to look at the problem ,
    here is its post in OC4J forum , in case that you have experiences , please take a look and advice me for it.
    odd behaivior of javaMail in OC4J
    Thanks

  • Java.lang.NullPointerException with non admin account in firefox

    Hi everybody. I'm new to java and after trying installing JDK 6 and Netbeans I got this exception everytime I visit a site that use java technology :
    java.lang.NullPointerException
    at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
    at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
    at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
    This happens only with firefox (IE and Opera works well) and only if I log in a Windows non administrative account.
    One month ago everything worked well with firefox. I tried to uninstall JDK anr JRE 6 and reinstall 1.5.11 as well as reinstall firefox. I tried even Gran Paradiso Alpha2, but I got the same exception.
    I'm using winxp SP2
    What can I do ? Please help me !
    Thanks by advance
    Maury

    hi,
    name of the class file is HTTPTransfer.java only,but i am mistaken
    NPE getting at 329 , that is in the if condition at
    if ((t != null) && (pi != null) && (pi.length > 0))
    proxyhost = pi[0].getHost();
    proxyport = pi[0].getPort();
    i tried with pi[] , then also i am getting NPE , i am really sorry for that ....
    i did'nt noticed
    stacktrac:
    Jun 29, 2007 5:41:28 PM com.atonesoftware.web.applet.upload.client.MApplet <init>
    INFO: BatchUpload 1.7c Build Alpha
    java.lang.NullPointerException
         at com.atonesoftware.web.applet.transfer.client.http.HTTPTransfer.autoDetectProxy(HTTPTransfer.java:329)
         at com.atonesoftware.web.applet.transfer.client.http.HTTPTransfer.init(HTTPTransfer.java:117)
         at com.atonesoftware.web.applet.transfer.client.http.HTTPUploadTransfer.init(HTTPUploadTransfer.java:90)
         at com.atonesoftware.web.applet.transfer.client.util.Conf.getTransferController(Conf.java:644)
         at com.atonesoftware.web.applet.upload.client.MApplet.init(MApplet.java:86)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • WLST java.lang.NullPointerException with -Dweblogic.home

    Attempting to use WLST from Java and I have this error...
    Caused by: java.lang.RuntimeException: error in finding weblogic.Home
      at weblogic.Home.getInstance(Home.java:91)
      at weblogic.Home.getPath(Home.java:97)
      at weblogic.Home.getFile(Home.java:102)
    So, I set the -Dweblogic.home=/...../wlserver_10.3 and I get this error now..
    Caused by: java.lang.NullPointerException
      at java.io.File.<init>(File.java:222)
      at weblogic.management.utils.PDevHelper.getUpgradeLaunchLocation(PDevHelper.java:77)
      at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:36)
      at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:226)
      at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:134)
      at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:76)
    Any help would be greatly appreciated.  Thanks!

    Try running the java file along with the arg set with the weblogic home
    For eg :
    java -Dweblogic.home=<path>  classname
    or
    Run the setDomainEnv or CommonEnv.cmd scripts from domain directory or wlserver_home\common\bin directory and then run the java code.
    Let me know if it helps
    Thanks,
    Vijaya

  • Catching java.lang.NullPointerException with cftry/cfcatch?

    I'm getting a java.lang.NullPointerException returned on an
    update function in a CFC:
    "The cause of this output exception was that:
    java.lang.NullPointerException."
    I want to find where it's generating this error so I can fix
    it. I've never really used CFTRY and CFCATCH, but figured now would
    be a good time to learn if this helped me track down the null. Can
    anyone provide an example of how to use these tags with the above
    NPE and output a message that give info on where it's faulting?
    I'm using a standard update query,
    <cfquery>
    UPDATE table
    SET columns = new values
    WHERE ID column = some ID
    </cfquery>

    That was a great tip Dan. Helped me find the line. Apparently
    a datatype "date" was given an incorrect null value. I figured the
    problem and the update works now :)
    Here's code incase someone wants to know:

  • Java.lang.NullPointerException with ess~lea LeaveRequest application on 5.0

    When we try to start the LeaveRequest-application of ess~lea the system still generates a 500 Internet Server Error. We tried to do all the required customizing.
    We have read all other related SDN-messages on this problem but there seems to be no working solution. Anyone who knows a solution?
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.xss.hr.lea.form.edit.VcFormEdit.setReadOnlyApprover(VcFormEdit.java:467)
        at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:269)
        at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:700)
        at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
        at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:158)
        ... 32 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Version 
    DOM version 
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4017.00.0000.20060503180106.0000 (release=630_VAL_REL, buildtime=2006-05-15:20:31:30[UTC], changelist=401354, host=PWDFM026)
    J2EE Engine 6.40 patchlevel 104329.313
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Other
    Session Locale en_US
    Time of Failure Mon Nov 20 16:28:59 CET 2006 (Java Time: 1164036539281)
    Web Dynpro Code Generation Infos
    sap.com/ess~lea
    SapDictionaryGenerationCore 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:18:52[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:19:05[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapGenerationFrameworkCore 6.4015.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:08[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:25[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:40:00[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:39:50[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary 6.4016.00.0000.20060302125547.0000 (release=630_REL, buildtime=2006-03-27:20:43:36[UTC], changelist=392265, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4016.00.0000.20060302125910.0000 (release=630_REL, buildtime=2006-03-27:20:51:45[UTC], changelist=392272, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    SapWebDynproGenerationCore 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:54[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    sap.com/pcui_gp~xssutils
    SapDictionaryGenerationCore 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:18:52[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:19:05[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapGenerationFrameworkCore 6.4015.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:08[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:25[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:40:00[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:39:50[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary 6.4016.00.0000.20060302125547.0000 (release=630_REL, buildtime=2006-03-27:20:43:36[UTC], changelist=392265, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4016.00.0000.20060302125910.0000 (release=630_REL, buildtime=2006-03-27:20:51:45[UTC], changelist=392272, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    SapWebDynproGenerationCore 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:54[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    sap.com/tcwddispwda
    No information available
    sap.com/pcui_gp~xssfpm
    SapDictionaryGenerationCore 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:18:52[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:19:05[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapGenerationFrameworkCore 6.4015.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:08[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:25[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:40:00[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:39:50[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary 6.4016.00.0000.20060302125547.0000 (release=630_REL, buildtime=2006-03-27:20:43:36[UTC], changelist=392265, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4016.00.0000.20060302125910.0000 (release=630_REL, buildtime=2006-03-27:20:51:45[UTC], changelist=392272, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    SapWebDynproGenerationCore 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:54[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    sap.com/tcwdcorecomp
    No information available
    sap.com/pcui_gp~tecl
    SapDictionaryGenerationCore 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:18:52[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4016.00.0000.20060302115352.0000 (release=630_COR, buildtime=2006-04-05:01:19:05[UTC], changelist=392239, host=PWDFM027.wdf.sap.corp)
    SapGenerationFrameworkCore 6.4015.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:08[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:25[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:40:00[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore 6.4016.00.0000.20060302125746.0000 (release=630_REL, buildtime=2006-03-27:20:39:50[UTC], changelist=392271, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary 6.4016.00.0000.20060302125547.0000 (release=630_REL, buildtime=2006-03-27:20:43:36[UTC], changelist=392265, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4016.00.0000.20060302125910.0000 (release=630_REL, buildtime=2006-03-27:20:51:45[UTC], changelist=392272, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    SapWebDynproGenerationCore 6.4016.00.0000.20060302114850.0000 (release=630_COR, buildtime=2006-04-05:01:28:54[UTC], changelist=392229, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4016.00.0000.20060306111738.0000 (release=630_COR, buildtime=2006-04-05:01:43:52[UTC], changelist=392602, host=PWDFM027)
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.setReadOnlyApprover(VcFormEdit.java:467)
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:269)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:700)
         at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:158)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:234)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:466)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:179)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:382)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi all,
    If my memory serves me well, the exception is thrown because the application needs a working calendar for a person provided in time mangement. Make sure the correct infotypes are used. Also the organization structure needs to be set up correctly. The manager needs someone to approve and the employee needs someone to get approved by.
    Regards, Marcel.

  • ALSB 3.0 : java.lang.NullPointerException with MFL Transform on runtime

    Hi,
    I try to insert an action "MFL Transform" in a message flow in a proxy service. (ASLB 3.0 Linux)
    The configuration of the message flow and proxy works well.
    When I try to test the proxy I get a java.lang.NullPointerException on stages.transform.runtime.MFLTransformRuntimeStep.
    Any ideas ?

    How are you sure of the MFL configuration when this is the component that is causing the issue. The MFL configuration could be 100% but if the variable that is writing to the MFL is not the right datatype or not initilised then this could cause a NullPointerException error.
    This is common and usually seen when the conversion is set to be binary to xml (default) when infact you want it to be xml to binary. Which way are you converting and what is the data type of the variable writing to the MFL?
    cheers
    James

  • FRM-92100 java.lang.NullPointerException with menu

    Hi,
    I have the following error when I attach a menu (mmb) to a form and then execute. But If I execute the form without the menu mmb, it works fine:
    FRM-92100: votre connexion au serveur a été interrompue.
    Causes possibles: erreur réseau ou panne du serveur.
    Vous devez rétablir votre session
    Détails:
    Java Exception:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.forms.handler.MenuInfo onUpdate(Unknown Source)
    at oracle.forms.handler.MenuInfo onUpdate(Unknown Source)
    at oracle.forms.handler.MenuInfo onCreate(Unknown Source)
    at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.sendInitialMesenge(Unknown Source)
    at oracle.forms.engine.Runform.startRunform(Unknown Source)
    at oracle.forms.engine.Main.createRunform(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Thank for your answer.
    I've seen these documents Note:240994.1 and 433704.1 and have cleared my cache. But the the error persist.
    I've noticed that before the last line in error, we have a difference:
    In Metalink document, we can see:
    FRM-92100
    +...+
    at sun.applet.*Jinit*AppletPanel.run(Compiled Code)
    +...+
    But my error is:
    FRM-92100
    +...+
    at sun.applet.*Applet*Panel.run(Compiled Code)
    +...+
    If I create a new menu, everything is work fine. So I want to avoid to recreate every time the menu module that cause the error.
    Thanks for your reply.
    Best regards

  • Java.lang.NullPointerException with JRadioButton

    Hi,
    Well, I'm using JRadioButton for the first time. So far, I haven't had much luck. I'm trying to check whether one of the radio buttons I have in a ButtonGroup are selected. I have one of the two radiobuttons selected from the get-go.
    The following class is an inner-class. There error is caused when I call before.isSelected() in the getSelection() function.
         private class radioButtonClass extends JPanel
              private JRadioButton after;
              private JRadioButton before;
              private ButtonGroup group;
              public radioButtonClass()
                   JRadioButton before = new JRadioButton("Before the current row?", true);
                   //before.setSelected( true );
                   JRadioButton after = new JRadioButton("After the current row?  ");
                   group = new ButtonGroup();
                          group.add( before );
                          group.add( after );
                   this.add( before );
                   this.add( after );
                   //this.add( group );
                   //setBackground( new Color(234, 2, 43) );
              public Dimension getPreferredSize()
                   return new Dimension( 150, 80 );
              public Dimension getMaximumSize()
                  return getPreferredSize();
             public int getSelection()
                  //System.out.println("getSelection()");
                  //System.out.println("Button Count: " + group.getButtonCount() );
                  //System.out.println("isSelected" + group.isSelected( after.getModel() ) + "... yup!");
                    //java.lang.NullPointerException is raised/thrown in this function below.
                  if( before.isSelected() )
                         System.out.println("1");
                       return 1;
                  else
                       System.out.println("2");
                        return 2;
         }I'm guessing this is a really easy error, yet I have been unable to find the cause. Any help would be much appreciated.

    you have duplicate declarations.
    by including the 'Type' you have made 'before' and 'after' local to the constructor,
    meaning the class members 'before' and 'after' are null when called from elsewhere
    in the program
    private class radioButtonClass extends JPanel
         private JRadioButton after;//<------------------
         private JRadioButton before;//<------------------
         private ButtonGroup group;
         public radioButtonClass()
           JRadioButton before = new JRadioButton("Before the current row?", true);//<--------remove 'JRadioButton'
           JRadioButton after = new JRadioButton("After the current row?  ");//<--------remove 'JRadioButton'

  • Java.lang.NullPointerException with Ant build, only in 4.7

    Hi,
    I hope some one out there can help.
    I have a large project that uses Ant for release builds, that must be "Run in the same JRE as workspace"
    This has always been fine in fb4.5 and 4.6 but in 4.7 fb.exportReleaseBuild gives us a java.lang.NullPointerException.
    I can just load the project up in 4.6 and build it for now, but as you can't get 4.6 any more this isn't a long term solution.
    I can reproduce the issue in 4.7 on two boxes in either by doing the following:
    Create a new flex project called "buildTest",
    Add a build folder,
    Create a new file named build.xml (in the build folder)
    Put the following in the build file:
         <?xml version="1.0" encoding="utf-8"?>
         <project default="default" basedir="../">
                        <!-- target: default -->
                        <target name="default">
                                       <fb.exportReleaseBuild project="BuildTest"/>
                        </target>
         </project>
    Right click on the build file,
         Run as -> Ant Build... -> JRE (tab) -> select "Run in the same JRE as the workspace" -> Click "Run"
    If you do this in 4.6 (on either of my boxes) it works fine. if you do it in 4.7 (again on either box) you get the following error:
    BUILD FAILED
    C:\Users\germanD1\Documents\Projects\test Projects\Ant Test\BuildTest\build\build.xml:6: java.lang.NullPointerException
    You can even create it and watch it fail in 4.7 then open the same proj in 4.6 and watch it work!!!
    I hope someone can help, this is driving me mad.
    Many thanks
    Dan

    Hi,
    I hope some one out there can help.
    I have a large project that uses Ant for release builds, that must be "Run in the same JRE as workspace"
    This has always been fine in fb4.5 and 4.6 but in 4.7 fb.exportReleaseBuild gives us a java.lang.NullPointerException.
    I can just load the project up in 4.6 and build it for now, but as you can't get 4.6 any more this isn't a long term solution.
    I can reproduce the issue in 4.7 on two boxes in either by doing the following:
    Create a new flex project called "buildTest",
    Add a build folder,
    Create a new file named build.xml (in the build folder)
    Put the following in the build file:
         <?xml version="1.0" encoding="utf-8"?>
         <project default="default" basedir="../">
                        <!-- target: default -->
                        <target name="default">
                                       <fb.exportReleaseBuild project="BuildTest"/>
                        </target>
         </project>
    Right click on the build file,
         Run as -> Ant Build... -> JRE (tab) -> select "Run in the same JRE as the workspace" -> Click "Run"
    If you do this in 4.6 (on either of my boxes) it works fine. if you do it in 4.7 (again on either box) you get the following error:
    BUILD FAILED
    C:\Users\germanD1\Documents\Projects\test Projects\Ant Test\BuildTest\build\build.xml:6: java.lang.NullPointerException
    You can even create it and watch it fail in 4.7 then open the same proj in 4.6 and watch it work!!!
    I hope someone can help, this is driving me mad.
    Many thanks
    Dan

Maybe you are looking for

  • I have lost my Restore disks came with my macbook pro 2.33 15".

    I have lost my restore DVDs which came with my macbook pro. Can I buy new Os leopard and install? Can I buy used or new one from ebay? It was mac os X 10.4.8. My macbook pro is late 2006 model. Intel core2 2.33 Ghz 15" display 2 GB memory 120 GB hard

  • Slideshow problems

    Hi, Hope someone can help.  I was able to take an existing Flash file created in '06 and make a simple slideshow.  See it at: http://prosol1.com/index99.html Now I've been asked to add buttons and make the slides fade instead of slide into each other

  • HT1459 I don't have wi-fi so my iTouch isn't working. How do I get it to work so I can make app purchases?

    I just got an iTouch, gen.4 but I don't have wi-fi service on my home PC. Is there a way to get it to work without having to pay for wi-fi (on a monthly basis)? I heard someone talking about getting a router? Please help! I wanna use my iPod really b

  • Standard BAPI/RFC for in-transit shipments

    All experts, I am new to SAP functional area. I am looking for a standard BAPI/RFC that will get me all in-transit shipments. Is it available and if so what is the name of the BAPI ? Or a custom one needs to be written? Thanks in advance for you help

  • IMovie Freezes All The Time when I have video clips in my iphoto why ??

    I am soooo stressed out I am trying to find a way to keep my iphoto movie clips in iphoto but when I do that I can't open my iMovie it will just freeze and I get the beach ball of death ! Is there a way to fix that other than deleting all my videos f