NullPointerException in JDeveloper 10.1.3 console...

Hi,
I have been getting the following exception while using JDeveloper j2ee edition developer preview release with version number - 10.1.3.0.2.223. I am running it with JDK version 1.4.2_04-b05 in a WIN-XP Professional machine having 512MB RAM. I could see the exception when i started the IDE with <jdev install>\jdev\bin\jdev.exe.
Exception:--------------------------------------------------------------------------------
java.lang.NullPointerException
at oracle.ide.model.HierarchicalFolder.getViewHierarchically(HierarchicalFolder.java:413)
at oracle.ide.model.PackageFolder.getShortLabel(PackageFolder.java:292)
at oracle.ide.model.DefaultDisplayable.toString(DefaultDisplayable.java:72)
at javax.swing.tree.DefaultMutableTreeNode.toString(DefaultMutableTreeNode.java:1229)
at javax.swing.JTree.convertValueToText(JTree.java:1137)
at oracle.ideimpl.explorer.CustomTree.convertValueToText(CustomTree.java:220)
at javax.swing.tree.DefaultTreeCellRenderer.getTreeCellRendererComponent(DefaultTreeCellRenderer.java:311)
at oracle.ideimpl.explorer.CustomTreeCellRenderer.getTreeCellRendererComponent(CustomTreeCellRenderer.java:87)
at oracle.ide.explorer.IconOverlayTreeCellRenderer.getTreeCellRendererComponent(IconOverlayTreeCellRenderer.java:63)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2751)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1478)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270)
at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:966)
at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:164)
at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1494)
at javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(BasicTreeUI.java:2314)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2228)
at javax.swing.JTree.setExpandedState(JTree.java:2999)
at javax.swing.JTree.expandPath(JTree.java:1735)
at oracle.ide.explorer.ExplorerContextUtil.restoreExpansionState(ExplorerContextUtil.java:159)
at oracle.ideri.navigator.DefaultNavigatorWindow$4.run(DefaultNavigatorWindow.java:1272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
at oracle.ide.model.HierarchicalFolder.getViewHierarchically(HierarchicalFolder.java:413)
at oracle.ide.model.PackageFolder.getShortLabel(PackageFolder.java:292)
at oracle.ide.model.DefaultDisplayable.toString(DefaultDisplayable.java:72)
at javax.swing.tree.DefaultMutableTreeNode.toString(DefaultMutableTreeNode.java:1229)
at javax.swing.JTree.convertValueToText(JTree.java:1137)
at oracle.ideimpl.explorer.CustomTree.convertValueToText(CustomTree.java:220)
at javax.swing.tree.DefaultTreeCellRenderer.getTreeCellRendererComponent(DefaultTreeCellRenderer.java:311)
at oracle.ideimpl.explorer.CustomTreeCellRenderer.getTreeCellRendererComponent(CustomTreeCellRenderer.java:87)
at oracle.ide.explorer.IconOverlayTreeCellRenderer.getTreeCellRendererComponent(IconOverlayTreeCellRenderer.java:63)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2751)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getXOrigin(VariableHeightLayoutCache.java:1125)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getNodeBounds(VariableHeightLayoutCache.java:1112)
at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLayoutCache.java:202)
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1130)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
best regards,
Amit

Hi,
Does anybody faced this problem earlier? Can anyone help?
thanks
Amit

Similar Messages

  • Exception in thread "main" java.lang.NullPointerException error JDeveloper 12c

    Hello,
    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    I have a table "Beer" and I want to select all the data out with a stored procedure which I call out of Java app.
    I have a java.class file Store_A.java which I have loaded into the ORACLE database with LOADJAVA :
        import java.sql.*;
        import java.io.*;
        public class Store_a {
          public static void apskatit ()
            throws SQLException
            { String sql =
              "SELECT * FROM Beer";
            try { Connection conn = DriverManager.getConnection("jdbc:default:connection:");
              PreparedStatement pstmt = conn.prepareStatement(sql);
              ResultSet rset = pstmt.executeQuery();
              rset.close();
              pstmt.close();
            catch (SQLException e) {System.err.println(e.getMessage());
    Then I have created a procedure which I plan to call out in java:
        CREATE OR REPLACE PACKAGE Store_a AS
        PROCEDURE apskatit;
        END Store_a;
        CREATE OR REPLACE PACKAGE BODY Store_a AS
        PROCEDURE apskatit AS LANGUAGE JAVA
        NAME 'Store_a.apskatit()';
        END Store_a;
    And I have a java file that I have created with JDeveloper 12c:
        import java.sql.Connection;
        import java.sql.DriverManager;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        public class Class1 {
             * @param args
            public static void main(String[] args) throws SQLException {
                Connection conn = null;
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");
                    //Izveidojam savienojumu
                    conn = DriverManager.getConnection("jdbc.oracle.thin:@localhost:1521", "SYSTEM", "asdasd");
                    // Izveidojam callable statement
                    CallableStatement stmt = conn.prepareCall("CALL Store_a.apskatit()");
                    ResultSet resul = stmt.executeQuery();
                    while (resul.next()) {
                        System.out.println(resul.getInt(1) + "\t" + resul.getString(2));
                } catch (ClassNotFoundException e) {
                    e.printStackTrace();
                } finally {
                    try {
                        conn.close();
                    } catch (SQLException e) {
                        e.printStackTrace();
    When I try to run the java file, I get this error "Exception in thread "main" java.lang.NullPointerException at client.Class1.main(Class1.java:29).
    So the line I get error in is "conn.close();"
    How to fix this?
    Thank you very much in advance.

    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    Maybe you haven't read it yet but I told you in your other thread what you were doing wrong and, step by step, how to address the problem.
    https://forums.oracle.com/thread/2611124
    I'm not going to repeat everything again just this one main piece of advice:
    Until you get you code working outside the database don't even bother trying to load it into the DB and create a Java stored procedure.
    You are trying to deal with too many different issues at the same time. Unless you solve your primary Java problem by fixing the code outside the DB you will have nothing but problems loading it into the DB.
    And just get rid of this line of code - you don't need it anymore and it hasn't been done like that for many years now:
    Class.forName("oracle.jdbc.driver.OracleDriver");

  • Nullpointerexception lanching jdeveloper 10.1.2

    Hi,
    My jdeveloper 10.1.2 suddenly stopped working and I have no idea why. I have other versions of jdeveloper installed but this has never been a problem.
    I get this error when launching jdev 10.1.2:
    java.lang.NullPointerException
         at oracle.jdevimpl.vcs.oraclescm.RSCClient.registerNavigator(RSCClient.java:956)
         at oracle.jdevimpl.vcs.oraclescm.RSCClient.initializeExtension(RSCClient.java:495)
         at oracle.jdeveloper.vcs.spi.VCSAbstractExtension.initialize(VCSAbstractExtension.java:38)
         at oracle.ide.AddinManager.initializeAddin(AddinManager.java:1714)
         at oracle.ide.AddinManager.initializeAddin(AddinManager.java:1801)
         at oracle.ide.AddinManager.initializeAddins(AddinManager.java:1577)
         at oracle.ide.AddinManager.initProductAndUserAddins(AddinManager.java:443)
         at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1650)
         at oracle.ide.IdeCore.startupImpl(IdeCore.java:1109)
         at oracle.ide.Ide.startup(Ide.java:539)
         at oracle.jdeveloper.JDeveloper.launch(JDeveloper.java:58)
         at oracle.jdeveloper.JDeveloper.main(JDeveloper.java:37)
    any ideas???
    Vh. Karin

    Hi,
    No, have no spaces in the install directory path. Have had jdeveloper 10.1.2 installed on my computer for over 2 years with out problems. Last week it stopped working and when I launch it I get the error.
    vh. Karin

  • JDeveloper 11g: Can System.console be used with the JDev debug window

    The version of JDev should not matter for this problem.
    I am working on a console application that I would like to debug from within JDev. Unfortunately, System.console does not detect the JDev debug window as a valid Console object.
    Running the following will return null;
    Console console = System.console();My code works fine if run from an actual command window.
    The main reason that I was using Console was for readPassword.
    Does anyone know of a way to get this to work?
    Should I ditch this and go with BufferedReader or Scanner?

    Thanks for replying so quickly Shay!
    Yes, I did enable "Allow Program Input". Unfortunately that never worked with Console.
    BufferedReader works just fine though.
    I really only wanted to use Console because it bundled up readPassword. I most likley will have to go with BufferedReader or Scanner if I wish to debug within JDev.

  • Workspace studio IDE Vs OSB Web Console

    When to use OSB Web Based console and when to use Workbench studio - what are pros and cons - and what is the benefit of one over the other.
    Also, which is better in Software Development Life Cycle like building the code and then deploying on the server etc.
    Thanks
    AB
    Edited by: AAB on May 27, 2010 7:43 PM

    From a developer perspective we have chosen for the approach of using workshop and deploying locally. We still have a development server to do some more thoroughly testing. But there are some limitations when using a single development server for all your developers, you can for example have only one debug session/connection. More than one person deploying all their code changes (with bugs) directly on one server will not be a very workable situation either.
    When you use workshop you have a environment better suited for developers. You can use a code respository to checkin/checkout your project. Editing your message flows is much user friendlier. In the web frontend this is not an easy task. When you edit a flow in the web console you need to do this within a session. When you are developing this does not work very nice. You want to do your changes more quickly and not to be slowed down by this kind of things. The web console to my opinion is better suited for administrators and configurators.
    Of course there are some disadvantages to the workshop. For plain development of the services with limited additional requirements to implement concerning security and so on it works. But some more complex configurations can only be done in the web console. For example if you want to add basic authentication to a business service I could only do that in the web console. I currently do not have a list of all these things. But if you look at the editable fields etc. in the web console these are more extensive than in workshop.
    Futhermore the workshop is sometimes a little buggy. Copying project and resources does not always work. It crashes sometimes and I even had colluegues that corrupted their project just using the workshop. I have not experienced that yet. So expect to run into some weird unexplainable behaviour once in a while. Restaring workshop or deleting your local server and creating a new one usually fixes a lot of these problems.
    Last but not least it is not known (to me) yet what will happen to workshop in the (near) future. It is still supported in the 11g version but I expect oracle will try to get everybody use JDeveloper. So bug fixing in the workshop might be not their number one priority. So it could also mean that workshop will not implement all new features of OSB in the long run forcing people to siwtch to JDeveloper in the end. But that is just a thing I am guessing as I am more of an eclipse fan than a JDeveloper fan ;-) The web console will always be there so if you do not want to invest in learning workshop it is the safest choice. But developing in it and versioning your code in a respository becomes more of a challenge.

  • Certificate error while calling a webservices from application deployed in

    Hi,
    When we are trying to invoke a web service from a client application which was deployed in weblogic server we are getting the certificate error. We are using go daddy certificate. Here is the log file
    Anyone Please advice.
    FileName
    weblogic.log
    FileComment
    <Apr 25, 2011 1:51:15 PM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=*.wvu.edu,OU=Domain Control Validated,O=*.wvu.edu". The loading of the trusted certificate list raised a certificate parsing exception Could not set value for ASN.1 string object..>
    <Apr 25, 2011 1:51:15 PM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=*.wvu.edu,OU=Domain Control Validated,O=*.wvu.edu". The loading of the trusted certificate list raised a certificate parsing exception Could not set value for ASN.1 string object..>
    javax.xml.ws.WebServiceException: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
    at weblogic.wsee.jaxws.spi.WLSProvider.readWSDL(WLSProvider.java:322)
    at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:77)
    at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:62)
    at javax.xml.ws.Service.<init>(Service.java:56)
    at wvudatacollection.wsproxy.scheduler.TimeClockScheduler_Service.<init>(TimeClockScheduler_Service.java:71)
    at wvudatacollection.wsproxy.scheduler.TimeClockSchedulerServiceWrapper.getStatus(TimeClockSchedulerServiceWrapper.java:96)
    at wvudatacollection.wsproxy.scheduler.GetSchedulerStatusWrapper.getStatusCode(GetSchedulerStatusWrapper.java:10)
    at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2113)
    at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3009)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:436)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:464)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
    at oracle.adf.model.binding.DCInvokeAction.refreshInternal(DCInvokeAction.java:47)
    at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:33)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3107)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:145)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3038)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:395)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:60)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:305)
    at weblogic.wsee.jaxws.spi.WLSProvider.readWSDL(WLSProvider.java:312)
    ... 70 more
    Caused by: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
    at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.handle(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
    at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
    at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:154)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:358)
    at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
    at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:103)
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    ... 72 more
    Thanks,
    Sajja
    Edited by: user13514455 on Jun 13, 2011 8:35 AM

    We resolved this problem for the same version of JDeveloper in the WebLogic Console. In the Domain Structure / Evironment / Servers / Settings for Default Server, click the Configuration and SSL tabs. Then change Hostname Verification to None and check the Use JSSE SSL box at the bottom.

  • Log4j - why not logging RuntimeException to the file?

    log4j.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration debug="true"
         xmlns:log4j="http://jakarta.apache.org/log4j/">
         <appender name="Console" class="org.apache.log4j.ConsoleAppender">
              <layout class="org.apache.log4j.PatternLayout">
                   <!-- l, L, M - is extremely slow. It's use should be avoided unless execution
                        speed is not an issue. -->
                   <param name="ConversionPattern" value="%d{[dd MMM yyyy HH:mm:ss.SSS]} %l %p:%n    %m%n" />
              </layout>
         </appender>
         <appender name="File" class="org.apache.log4j.DailyRollingFileAppender">
              <param name="File" value="logs/trace.log" />
              <param name="Append" value="true" />
              <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern" value="%d{[dd MMM yyyy HH:mm:ss.SSS]} %l %p:%n    %m%n" />
              </layout>
         </appender>
         <root>
              <level value="ALL" />
              <appender-ref ref="Console" />
              <appender-ref ref="File" />
         </root>
    </log4j:configuration>and all logging to the file and to the console. OK.
    But when throw RuntimeException (e.g. java.lang.NullPointerException) then logging ONLY to the console. But I also need logging to the file.
    console log WITH RuntimeException:
    [java] [09 Aug 2010 12:48:23.591] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:150) DEBUG:
    [java]     Start signing and uploading M2 documents to the CB (FTP server) ...
    [java] [09 Aug 2010 12:48:23.607] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:423) TRACE:
    [java]     Start creating m2PackDocuments from DB (from M2 documents with status 0) by SQL query:
    [java] SELECT * FROM OutDocs WHERE STATUS=0
    [java] [09 Aug 2010 12:48:23.622] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:471) TRACE:
    [java]     Success created m2PackDocuments(6)
    [java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:158) TRACE:
    [java]     Success created m2PackDocuments(6) from M2 documents with status 'new'
    [java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:178) TRACE:
    [java]     Start create M2Pack
    [java] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.isCorrectPhone(M2PackTrailer.java:361)
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.setTrailer_Phone(M2PackTrailer.java:380)
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.setTrailer(M2PackTrailer.java:425)
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.createDynamicTrailerFields(M2PackTrailer.java:481)
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.initialize(M2PackTrailer.java:489)
    [java]      at com.mycompany.myproject.pack.M2PackTrailer.<init>(M2PackTrailer.java:494)
    [java]      at com.mycompany.myproject.pack.M2Pack.initialize(M2Pack.java:28)
    [java]      at com.mycompany.myproject.pack.M2Pack.<init>(M2Pack.java:32)
    [java]      at com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:179)
    [java]      at com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:165)
    [java]      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    [java]      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    [java]      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    [java]      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    [java]      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    [java]      at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    [java]      at java.awt.Component.processMouseEvent(Unknown Source)
    [java]      at javax.swing.JComponent.processMouseEvent(Unknown Source)
    [java]      at java.awt.Component.processEvent(Unknown Source)file log WITHOUT logging RuntimeException:
    [java] [09 Aug 2010 12:48:23.591] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:150) DEBUG:
    [java]     Start signing and uploading M2 documents to the CB (FTP server) ...
    [java] [09 Aug 2010 12:48:23.607] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:423) TRACE:
    [java]     Start creating m2PackDocuments from DB (from M2 documents with status 0) by SQL query:
    [java] SELECT * FROM OutDocs WHERE STATUS=0
    [java] [09 Aug 2010 12:48:23.622] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:471) TRACE:
    [java]     Success created m2PackDocuments(6)
    [java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:158) TRACE:
    [java]     Success created m2PackDocuments(6) from M2 documents with status 'new'
    [java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:178) TRACE:
    [java]     Start create M2Pack

    Because you're not catching the exception. You're letting it bubble up to Swing's default exception handler, which doesn't know about Log4J.
    One solution would be to put a catch (Exception ex) in OutgoingTabView.actionPerformed, and explicitly log it there. I picked that method (rather than any of the ones lower on the stack trace) because catching the exception there is equivalent to saying "don't perform the action."
    However, this solution isn't very good, because it would let your program continue in a probably-incorrect state. NullPointerException generally indicates a programming error: after all, if you expected that a particular value could be null, you wouldn't blindly dereference it, right? And while you could write code to undo anything that happened before the exception, a better solution is to log any available information, pop a dialog apologizing to the user, and shutting down.
    Perhaps better, you could replace the event dispatch thread's [uncaught exception handler|http://download.oracle.com/javase/6/docs/api/java/lang/Thread.html#setUncaughtExceptionHandler] with something that writes the log and then exits. That will keep you from adding try/catch blocks to all of your action listeners.

  • NPE in Project Settings Dialog - jdev 9.0.3

    This error occured while browsing my project settings.
    java.lang.NullPointerException
    oracle.jdeveloper.model.JProject oracle.jdeveloper.ejb.EjbModuleContainer.getProjectFromEjbUrl(java.net.URL)EjbModuleContainer.java:1240
    oracle.jdeveloper.model.JProject oracle.jdeveloper.ejb.EjbContainer.getProject() EjbContainer.java:122
    oracle.jdeveloper.ejb.EjbModuleContainer oracle.jdeveloper.ejb.EjbContainer.getEjbModuleContainer()EjbContainer.java:138
    void oracle.jdeveloper.ejb.EjbContainer.gatherChildren() EjbContainer.java:377
    java.util.Iterator oracle.jdeveloper.ejb.EjbContainer.getChildren() EjbContainer.java:362
    oracle.jdeveloper.compiler.ant.BuildfileItem[] oracle.jdeveloper.compiler.ant.ProjectBuildfilePanel.getBuildfiles(oracle.jdeveloper.model.JProject) ProjectBuildfilePanel.java:242
    void oracle.jdeveloper.compiler.ant.ProjectBuildfilePanel.loadFrom(oracle.jdeveloper.compiler.ant.AntConfiguration, oracle.jdeveloper.model.JProject) ProjectBuildfilePanel.java:153
    void oracle.jdeveloper.compiler.ant.AntPanel.loadFrom(oracle.jdeveloper.compiler.ant.AntConfiguration, oracle.jdeveloper.model.JProject) AntPanel.java:112
    void oracle.jdeveloper.compiler.ant.AntPanel.onEntry(oracle.ide.panels.TraversableContext) AntPanel.java:92
    void oracle.ide.panels.MDDPanel.enterTraversableImpl(oracle.ide.panels.Traversable, oracle.ide.panels.TraversableContext) MDDPanel.java:649
    void oracle.ide.panels.MDDPanel.enterTraversable(oracle.ide.panels.Traversable)     MDDPanel.java:630
    void oracle.ide.panels.MDDPanel.access$7000571(oracle.ide.panels.MDDPanel, oracle.ide.panels.Traversable) MDDPanel.java:86
    void oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(javax.swing.JTree, javax.swing.tree.TreePath) MDDPanel.java:933
    void oracle.ide.panels.MDDPanel$Tsl.actionPerformed(java.awt.event.ActionEvent)     MDDPanel.java:803
    void javax.swing.Timer.fireActionPerformed(java.awt.event.ActionEvent)     Timer.java:150
    void javax.swing.Timer$DoPostEvent.run() Timer.java:108
    void java.awt.event.InvocationEvent.dispatch()     InvocationEvent.java:154
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) EventQueue.java:337
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component) EventDispatchThread.java:131
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)EventDispatchThread.java:98
    void java.awt.Dialog.show()Dialog.java:380
    void java.awt.Component.show(boolean)Component.java:946
    void java.awt.Component.setVisible(boolean)Component.java:903
    boolean oracle.bali.ewt.dialog.JEWTDialog.runDialog()
    boolean oracle.ide.dialogs.WizardLauncher.runDialog(javax.swing.JDialog)WizardLauncher.java:55
    boolean oracle.ide.panels.TDialogLauncher.showDialog()TDialogLauncher.java:190
    void oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(java.awt.Frame, oracle.jdeveloper.model.JProject, boolean, java.lang.String, java.lang.String[])JProjectSettingsPanel.java:165
    void oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(java.awt.Frame, oracle.jdeveloper.model.JProject)JProjectSettingsPanel.java:99
    void oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(oracle.jdeveloper.model.JProject)JProjectSettingsPanel.java:90
    boolean oracle.jdeveloper.model.JProjectStructureController.handleEvent(oracle.ide.IdeAction, oracle.ide.addin.Context)JProjectStructureController.java:275
    void oracle.ide.IdeAction$1.run()IdeAction.java:579
    void java.awt.event.InvocationEvent.dispatch()InvocationEvent.java:154
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)EventQueue.java:337
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)EventDispatchThread.java:131
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)EventDispatchThread.java:98
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)EventDispatchThread.java:93
    void java.awt.EventDispatchThread.run()     EventDispatchThread.java:85

    Thanks, this should be harmless (just annoying). We'll get this fixed in our upcomming release.
    Rob

  • OSB Development Tool

    Hi,
    what is the recommended (latest updated) IDE to be used for OSB 11g, i have used the sbconsole and tried the Enterprise Pack for Eclipse (which seems to miss some features such as create proxy from existing business service), i even downloaded the 11.1.1.3.0 Jdeveloper which seems to contain nothing regarding OSB.
    Thanks

    For OSB 11g you can use either the web based console (although this does not include the graphical mapping tool) or the Oracle Enterprise Pack for Eclipse (formerly Workshop). Typically developers would use Oracle Enterprise Pack for Eclipse and administrators would use the console. Creating a proxy service from a business service can be done through the right click context menu in Oracle Enterprise Pack for Eclipse.
    In the next major release, 11gR2, the OSB tooling will move into JDeveloper (the web based console will remain). If you want to use the JCA adapters in OSB then these are configured in JDeveloper (11.1.1.3) and can be imported into either Oracle Enterprise Pack for Eclipse or the web based console. JDeveloper 11.1.1.3 can also be used to browse an OSB instance for the services it exposes.
    Hope that helps.
    Chris

  • Oracle9i JDeveloper javja.lang.NullPointerException

    After choosing form JDeveloper menu bar: Tools->Preferences,
    JDeveloper throws an exception:
    java.lang.NullPointerException
    void oracle.ide.addin.config.AddinManagerOptions.copyToImpl(oracle.ide.addin.config.AddinManagerOptions)
    AddimManagerOptions.javaj:151
    JDeveloper 9.0.3.1 (Build 1107)
    OS:Windows XP Pro with all newest MS patches
    The same exception happened with the previous version of JDeveloper, too.

    Have you installed any Addin or Extension in [JDEV_HOME]\lib\ext directory?
    There must be something in your configuration.
    Try to start jdev from a console window, use jdev.exe instead of jdevw.exe, and see if there is any stack dump. If yes, then please send it.
    Thank you,
    - Olivier

  • NullPointerException while running the page from jdeveloper

    Hi ,
    I am getting following Exception while Running the OAF page in Jdeveloper after downloading from the server which is working correctly (in the instance).
    Can you please help to resolve this exception.
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.fnd.framework.webui.OASlideMenuUtil.prepareNavAndFavList(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addGlobalButtons(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addGlobalMenu(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.displayMenus(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.prepareForRendering(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequestAfterController(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at oracle.apps.fnd.framework.webui.OASlideMenuUtil.prepareNavAndFavList(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addGlobalButtons(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addGlobalMenu(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.displayMenus(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.prepareForRendering(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequestAfterController(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks,
    Narayan.
    Edited by: 972401 on Nov 20, 2012 11:32 PM

    Hi,
    There might be possibility that the page you are running might be getting called from another page from the instance.
    If that is the case, PR method will not be getting the parameters required.
    Check the PR method of CO file.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to upload a file in BPEL Console Using JSP in JDeveloper, pleae........

    I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.

    Hi,
    ADF Faces provides you with the file upload component
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
    http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
    This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
    Frank

  • Java.lang.NullPointerException : while editing the human task  JDeveloper

    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.initMode(TaskActionAccessConfigurationPanel.java:439)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.initMode(TaskAccessConfigurationPanel.java:147)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.setData(AdvancedOptionsPanel.java:195)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor.setData(AdvancedOptionsEditor.java:116)
    o.tip.tools.ide.workflow.editor.WorkflowManager.loadIntoUIModel(WorkflowManager.java:218)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor.load(WFTabbedEditor.java:265)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor.access$000(WFTabbedEditor.java:105)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor$1.run(WFTabbedEditor.java:253)
    j.lang.Thread.run(Thread.java:619)

    Getting following error when I try to update Human task from JDeveloper
    Uncaught exception
    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.getActionData(TaskAccessConfigurationPanel.java:103)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.getData(AdvancedOptionsPanel.java:215)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor$LocalPropertyChangeListener.propertyChange(AdvancedOptionsEditor.java:141)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.tab.AssigneesEditor.propertyChange(AssigneesEditor.java:186)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.firePropertyChange(StageEditor.java:1488)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.propertyChange(StageEditor.java:1081)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor.editParticipant(ParticipantEditor.java:1304)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor$LocalMouseAdapter.mouseClicked(ParticipantEditor.java:1004)
    j.a.Component.processMouseEvent(Component.java:6266)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6028)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4630)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4247)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

  • Java.lang.NullPointerException when going to console

    We have are using WL 8.1 Sp2.
              I had tried to upgrade to WL 8.1 Sp4. We had some issues with that and i copied the old (sp2) config.xml back and started the server again . The application seems to run fine but I cannot go the Console. This the error I get :
              Mar 8, 2006 1:03:49 PM CST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=18193932,name=console,context-path=/console)] Servlet failed
              with Exception
              java.lang.NullPointerException
              at weblogic.management.console.webapp._login.__loginform._jspService(__loginform.java:180)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              Any Suggestions ?
              Thanks

    I have also encountered same issue. Please let me know the solution in case you find it.
    In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
    2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
    2003/04/01:21:20:21Starting Monitor Process, PID=2920
    2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
    2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
    I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
    I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
    Any solution?
    Regards,
    Vipul

  • Java.lang.NullPointerException (OC4J 10.1.3.1 & JDeveloper 10.1.3.1)

    My project that ran perfectly under JDeveloper 9.0.5.2/OC4J 9.0.2 no loner runs under Jdeveloper 10.1.3.1/OC4J 10.1.3.1.
    The failure (java.lang.NullPointerException ) is in the following code snippet:
    =================================================
    Public String getString(String columnName) throws SQLException {
    return getResultSet().getString(columnName);
    =================================================
    columnName is being passed the same value in both environments.
    The JSP snippet that executes the above is:
    =================================================
    com.app.servlet.SQLDataSource detail =
    ((com.app.servlet.SQLDataSource)request.getAttribute("AcctList"));
    <td width="20%" class="tableRow">
    <a class="a4"><%= detail.getString("ACCT")%></a>
    </td>
    ==================================================
    AcctList is a text file that contains the following SQL code:
    ============
    select ACCT
    , VDESC
    from GL
    :WhereClause
    :OrderByClause
    ============
    :WhereClause & :OrderByClause are set in a calling "Filter" JSP filter page.
    All debug statements in my code indicate the the getResultSet is properly executed. Yet when the detail.getString("ACCT") is hit I receive the NullPointerException.
    Any clues?
    Remember, no code has changed between the 9.0.2 and 10.1.3.1 environments. They both hot the same database with the same JDBC drivers.
    TIA,
    Ed.

    Jan,
    The NullPointerException is pointed to:
    at oracle.jdbc.driver.ScrollableResultSet.findColumn(ScrollableResultSet.java:1308)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1572)
    at oracle.jdbc.SQLDataSource.getString(SQLDataSource.java:388)
    at apps.AcctList._jspService(_AcctList.java:66)
    The code ( in "_AcctList.java") at line 66 reads:
    out.print(detail.getString"ACCT") );
    However, digging into my application log file I found that the following error happend at 10:52:46.0 (the above error occured at 10:52.50):
    07/03/02 10:52:46.0 intemrp: Servlet error
    java.lang.IllegalStateException: OutputStream already retrieved
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:921)
         at com.sage.servlet.ServletAdaptor.error(ServletAdaptor.java:148)
         at com.sage.servlet.ServletAdaptor.service(ServletAdaptor.java:74)
         at inetmrp.servlet.ServletAdaptor.service(ServletAdaptor.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/03/02 10:52:46.0 intemrp: An existing connection was forcibly closed by the remote host
    07/03/02 10:52:46.0 intemrp: An existing connection was forcibly closed by the remote host
    Any ideas?
    Thanks,
    Ed.

Maybe you are looking for

  • Deleting movie on iphone???

    Hi guys can anybody help me. Would like to know how I can delete a movie on my iphone. Swiping or clicking not helping in the video section. Thx dany

  • Upgrading: Migration Assistant with FireWire or Time Machine Restore?

    Hello, I recently ordered a new Black Penryn MacBook to replace my 17" iMac. Would you recommend using the Migration Assistant with FireWire or a Time Machine restore in order to copy all of my data to the MacBook? I have the option to do both, but a

  • Purchase order field change

    How can i change this length to be appear again

  • Network design with time capsule

    Need a little help - I have 7 imacs/mbp - 1 imac is ftp only and 2 large copiers networked plus 3 individual printers. at this point all printers/copiers and ftp site are hardwired the rest are wireless(Older airport) connected with a router (Netgear

  • Gps is not working

    Hello! Made a reset of all the content and preferenses on my iphone 4s. Then i tuned it and tried to use maps. When i open maps, i am said that iphone is unable to get my location. And all the apps are unable of getting my current location! How to ge