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)

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

  • Screen sharing to OS X Lion Server with non-admin account

    I have set up a Lion Server with one admin (in addition to the root user) and several non-admin normal accounts. In Server.app, I have enabled remote login with ssh, and remote management via screen sharing.  I am unable to use Screen Sharing to connect to the server from the non-admin accounts, but able to use the admin account. I've read that it is only enabled for admin users, but need to access from non-admin accounts, and I can't add these accounts to the admin group. Is there a way to do this with Workgroup Manager? I tried changing the Remote Management settings in System Preferences by adding the non-admin, but when selecting 'Observe' and 'Control' in the options for the user, they are not saved.

    I resolved this issue by deselecting the "Enable screen sharing and remote management" in Server.app and going to System Preferences, Sharing Preferences, Screen Sharing, and allowing access for "All Users".  If you have some users you want to allow VNC, you can create a group, add the allowed users to the group, and add the group under "Only these users".

  • 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

  • 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:

  • How to run admin tasks with non-admin account ?

    Hello,
    The title says it all: I want to allow some non-administrative accounts to run admin tasks which must be run as root.
    A solution would be to use 'sudo' and give rights to those non-admin accounts on the binaries used by the tasks. But I notably use 'chmod' and 'chown' in those tasks, and I would not want to give to non-admin accounts rights to run those commands as root outside the admin task scripts. But from my understanding of 'sudo', if I do it, non-admin accounts will be able to use chmod and chown outside the scripts. Is this right ?
    The sid bit could have been a solution I think, but sadly it is not supported on Mac OSX 10.5.
    Thanks

    I am trying to use the sudo route add command in a script, which should run as part of a vpn connection config file. I get an unable to run script error in the log.
    I searched and found the following older discussion
    http://discussions.apple.com/thread.jspa?messageID=1986808
    I tried that but I get a syntax error when trying to save the sudoers file I chose to save anyway.
    Tried to run the command from the terminal and got the following error
    postdrop warning: unable to look up public/pickup:no such file or directory.
    Can you give me an example of your sudoers file with the correct syntax etc.
    Thanx

  • Apple Remote won't work with Non-admin account :-(

    Hi all,
    i have a Macbook (OS version 10.5.4). Earlier there was only one account on this laptop, and i was using it as an administrator. A few days ago i decided to convert that account to a regular (non-admin) one, and created a separate admin-only account. When i tried using my Apple Remote in the non-admin account, it wouldn't work at all ! So i tried it in the admin account, and i was able to use it and paired it with this macbook.
    But on logging back into the regular account, it has stopped working again (even though System Preferences>Security says the macbook is paired with a remote). Please help!! It would be especially helpful if this could be fixed without having to create & migrate to a whole new account, etc... i'm open to command-line solutions [ that won't crash the machine ]
    Thanks a million !
    ..meghana

    Never mind. i logged out of the non-admin account and into the admin account, unpaired and re-paired the remote. Then logged back into the non-admin account, and voilà! Its magic i tell you! hope this helps any other people who have the same problem.

  • 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

Maybe you are looking for

  • ITunes lost ... how to sync iPhone data back to blank iTunes ..

    Hello Everyone, Previous iTunes was lost and now have formatted and reinstalled Windows7 x64.  iPhone (10.5.1) is currently backed up, via the new iTunes, to iCloud.  And to the new computer as well.  No other devices or computers involved. How do I

  • F4 Help value in Edit mode in Reuse ALV FM

    I did an extensive search in this forum, but i cudnt find the answer i am looking for. I am using Normal Dialog screen in which user validate the screen and hit the save button. I need to show this values in Pop-up ( I have called the FM reusee alv_g

  • Is the library in iPhoto renamed?

    1)is the library renamed in iphoto..can not find it 2)and if there are duplicates in other places is there a find duplicate command as in contacts? 3) am i correct that same pix resides in the library & in albums if so directed therefore two of the s

  • Medruck modification

    i have modified medruck standard script, i have few things to be done. 1) how can we change or rather control format of text printed at me22n application level in item text tab.    in print preview i want to control the format of the text . 2) while

  • Planning forms with Java API

    Is it possible to attach JAVA API with Hyperion Planning forms?<BR>My requirement is<BR>When ever the user saves the form, it should trigger a extract data file to a particular folder in the essbase server.<BR>Pls help me