Hints on how to Debug Applications

When posting messages which are requesting help with the debugging of an application which is throwing an exception please make sure that you always include a complete verbose stack trace in your post. Without this information we cannot hope to provide you with assistance. To get a verbose stack trace the code should look like this:
public static void main(String[] args)
try {
// Some operation that results in an
// IfsException being thrown
} catch (IfsException e) {
IfsException.setVerboseMessage(true);
e.printStackTrace();
When you post please include all the output generated by the e.printStackTrace() method.

Where can i get a list of error codes and their error messages in the documentatiion ??
I notice that getErrorCode() message returns an error code and in the WebCommand sample application in the IfsDevkit it is being used
for error handling by comparing it with strings in AdkResources,something like :
AdkResources.ADK_ALREADY_EXIST_ERROR .
thanks
Srinivas

Similar Messages

  • How to debug applications live on Nokia N95 Series

    Hi,
    I have installed S60 SDK 3rd Edition for Java ME and I am using NetBeans 6.0.1 as the development environment.
    Does anyone know how I can integrate these two to debug my application from PC on the N95 handset?
    I have studied [this link|http://www.forum.nokia.com/main/resources/technologies/java/netbeans.html] and it sounds possible but I do not know how to do it.
    Please somebody help me.
    Cheers

    Install nS60_jme_sdk_3rd_e_FP1.zip
    This simulator is acts same like
    the following devics,
    6124 classic, 6121 classic, 6120
    classic, 5100 Xpress Music, 6110 Navigator, 6290, E71, E 66, E51, E90(screen
    size different but platform is same), N82, N95-3 NAM, N81, N81 8GB, N95 8GB,
    N76, N95.
    2, Install [file://///csamdata1/softwares/J2ME/SDK_EMULATORS/Nokia/s60/]
    nS60_jme_sdk_3rd_e_FP2.zip
    This simulator is acts same like
    the following devices,
    5320 Xpress Music, 6650, N78, 6210
    Navigator, 6220 classic, N96.
    3, Install[file://///csamdata1/softwares/J2ME/SDK_EMULATORS/Nokia/s40]
    Series_40_5th_Edition_SDK_Feature_Pack_1_1_0.zip
    4, Both the simulators needs a proxy
    setting to access internet. Setting steps are following
    a. Start the Emulator,
    b. go to tools {font:Wingdings}à{font} preferences {font:Wingdings}à{font}
    network.
    c. Enable use HTTP proxy, enter proxy
    server name =and proxy server port
    d. Click
    ok. Restart Emulator.
    Now you can access internet through
    emulator.
    5, Advantage of this simulator are
    following
    a. We can download the application form the
    staging server or from live through emulator browser.
    b. We
    can test the application on the specific platform of nokia.
    c. Easy
    to configurable with eclipse.
    6, Eclipse
    configuration:
    a. Window {font:Wingdings}à{font} Configuration {font:Wingdings}à{font}
    J2ME{font:Wingdings}à{font}
    Platform components. Right Click on wireless toolkit, Click Add Wireless
    Toolkit.
    b. Browse the path C:\S60\devices\S60_3rd_FP2_SDK,
    Click Finish.

  • URGENT: How to debug non-reproducable problem(s) in ADF JSF application?

    This is one of the most anoying things in programing.... We have JSF application developed by JDev 10.1.3 and deployed on AS. It works fine but almost once or twice per day users complain that, say on a certain page (could be any page) they click on a button or a link and nothing happens. Sometimes it looks like the browser is trying to open a page but never does and sometimes the link or a button is dead. I looked into log file under opmn/logs and could not find anything?
    This is very urgent, so please, please if you have any hint on how to approach this problem, let me know. At this time I cannot file the Service Request with Oracle since they would ask me to create sample code and reproduce the problem which is just not possible.
    please help.

    Hi,
    if you are on JDeveloper 10.1.3.0 then chances are that these are concurrency issues. If a user starts a long running query then others may be blocked by this. This is fixed in JSF RI that is contained in JDeveloper 10.1.3.1
    Its just a guess. To prove my assumption, make sure you run the app with a single seat and see if the issue reproduces or exclude queries from the tests.
    Frank

  • How to Debug C++ Multithreaded Application in Solaris

    Hi All,
    I am working in Solaris Sparc 5.8 Machine. I need to debug Multithreaded C++ Application in Unix Environment.
    I am using dbx debugger.
    Please explain me how to debug multithreaded applications. if possible please explain me with example.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    1. Look over the dbx manual that comes with Sun Studio. Dbx includes many features for debugging MT code.
    2. If you have specific questions after reading the manual and trying out the features, ask them in the debugger forum:
    http://forum.sun.com/forum.jspa?forumID=257

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • How to debug a Mobile client application

    Hi,
    How to debug a mobile client application on the laptop, where we dont have any .NET 2003 application installed. (not an MDW)
    If we get any error on the application, which could be a UI error on laptop, and if everything is working fine on the MDW, is there any way to debug the application on Mobile client?
    Also, please provide me links or tips on how to debug the mobile application, on MDW as well.
    Regards,
    Praveen.

    Hi,
    to be able to debug on a local machine you would need at least to install the UI/BOL class files and the project files and make some local settings.
    But anyway on all clients there should be the same MSA installation like it is on the MDW so in case of an issue it is normally caused by local (inconsistent) data.
    I would suggest to access the laptop IDES database by changing your MDW odbc settings and perform the debug session on the MDW.
    Debugging in VB .net is similar to VB6 but you have to notice that changing of the code is NOT possible when being in debug mode.
    Regards,
    Wolfhard

  • Dock application gets killed itself on Lion, how to debug this issue?

    Hi, Dock application gets killed itself and it dissappears and relaunches itself after for few seconds, This is happening for every 5 min or so. it is quite annoying problem. how to debug this issue? any help?

    When I look the system logs - there is an exception each time I try to run the application or open a window:
    9/5/09 10:33:12 PM Linear[23545] Cannot create BOOL from object <Regression: 0x1461f0> of class Regression

  • HOW TO DEBUG  WDA APPLICATION

    Hi All,
    how to debug a web dynpro abap application?
    Thanks,
    Raju.

    Utilities->External breakpoints->Activate
    This will activate external debugging...now put your breakpoints and run the application.
    regards,
    Priyank

  • How to debug an application crash that only occurs within the executable and not in development?

    LabVIEW 2011
    Looking for ideas on how to debug an application that crashes only from within the executable.
    Is there anything useful that this error report can be used for, thanks in advance.
    #Date: Tue, Aug 23, 2011 3:10:18 PM
    #OSName: Windows 7 Enterprise
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabDAQ
    #Version: 11.0 32-bit
    #AppKind: AppLib
    #AppModDate: 08/23/2011 18:59 GMT
    #LabVIEW Base Address: 0x30000000
    8/23/2011 3:10:48.331 PM
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: a1c0be18-ad05-4b09-b914-afe4a3073daf
    ExceptionCode: 0xC0000005± N
    0x3072C874 - lvrt <unknown> + 0
    0x3072CC28 - lvrt <unknown> + 0
    0x7C37FDB4 - MSVCR71 <unknown> + 0
    0x77330DF7 - ntdll <unknown> + 0
    0x772F9ED5 - ntdll <unknown> + 0
    0x00000000 - <unknown> <unknown> + 0
    Solved!
    Go to Solution.

    I've been playing that game all morning
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How to debug Portal application?

    Hi,
    I am developing a weblogic console extension application with web logic portal framework, I got some error, but no idea how to debug,
    I can see some error on buildApplication.jsp file, but can't find __buildapplication.java file which is compiled from buildApplication.jsp,
    so I can't know the error is in which line in buildApplication.jsp file. and I dont' even know which tag is tag1 tag2 tag3 in that jsp file.
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    Code of buildApplication.jsp:
         <fmt:setBundle basename="detwds" var="current_bundle" scope="page"/>
         <beehive-template:template templatePage="/layouts/configBaseLayoutNoTransact.jsp">
              <beehive-template:section name="configAreaIntroduction">
              <fmt:message key="buildApplication.jsp.page.introduction" bundle="detwds"/>
              </beehive-template:section>
              <beehive-template:section name="form">
              <html:xhtml/>
              <wl-extension:template name="/templates/jmxform.xml">
              <wl-extension:form name="ExtensionForm" type="com.det.consoleext.form.ExtensionForm" action="/BuildApplication" bundle="detwds">
              <wl-extension:select
              property="contents"                                                   labelId="buildApplication.jsp.page.repositoryList.label"                                                   inlineHelpId="buildApplication.jsp.page.repositoryList.inlinehelp"
              singlechange="false">
                   <wl-extension:optionsCollection                                                                  property="repositoryName"
                        label="label"
                        value="value"/>
              </wl-extension:select>
              </wl-extension:form>
         </wl-extension:template>
         </beehive-template:section>
         </beehive-template:template>
    Error message:
    2755> <BEA-423405> <An exception [java.lang.String] was thrown while rendering the content at [ext_jsp/buildApplication.jsp].
    java.lang.ClassCastException: java.lang.String
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
    at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
    at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:281)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    Hello,
    Debugging a JSP using a stack trace is made possible by using the keepgenerated element of the jsp-descriptor element in your web app descriptor in WEB-INF/weblogic.xml. The working-dir and verbose elements are also of interest.
    You can edit weblogic.xml or you can use the Oracle WebLogic Server console to configure your web app. In the console you would go to "Deployments", find your web app, select the "Configuration" tab, Lock & Edit, and do your thing. The settings you are interested in are "Debug Enabled", "JSP Keep Generated", and "JSP Verbose". I'm not sure which weblogic.xml element the "Debug Enabled" corresponds to, but it might be something like the debug-enabled element of the session-descriptor element.
    I can never remember where JSP generated servlet source code files end up if I have not specified a working dir. They end up buried DEEPLY. I just search the file system in my workspace for the generated files. For example, I just found the generated source for my helloOne.jsp in:
    C:\bea_wlp102\user_projects\workspaces\frmwrk\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\frmwrk_domain\work\MyWAR\jsp_servlet\_portlets\__helloone.java

  • How to debug weblogic console extension application ?

    Hi,
    I am developing a weblogic console extension application with web logic portal framework, I got some error, but no idea how to debug,
    I can see some error on buildApplication.jsp file, but can't find __buildapplication.java file which is compiled from buildApplication.jsp,
    so I can't know the error is in which line in buildApplication.jsp file. and I dont' even know which tag is tag1 tag2 tag3 in that jsp file.
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    Code of buildApplication.jsp:
         <fmt:setBundle basename="detwds" var="current_bundle" scope="page"/>
         <beehive-template:template templatePage="/layouts/configBaseLayoutNoTransact.jsp">
              <beehive-template:section name="configAreaIntroduction">
              <fmt:message key="buildApplication.jsp.page.introduction" bundle="detwds"/>
              </beehive-template:section>
              <beehive-template:section name="form">
              <html:xhtml/>
              <wl-extension:template name="/templates/jmxform.xml">
              <wl-extension:form name="ExtensionForm" type="com.det.consoleext.form.ExtensionForm" action="/BuildApplication" bundle="detwds">
              <wl-extension:select
              property="contents"                                                   labelId="buildApplication.jsp.page.repositoryList.label"                                                   inlineHelpId="buildApplication.jsp.page.repositoryList.inlinehelp"
              singlechange="false">
                   <wl-extension:optionsCollection                                                                  property="repositoryName"
                        label="label"
                        value="value"/>
              </wl-extension:select>
              </wl-extension:form>
         </wl-extension:template>
         </beehive-template:section>
         </beehive-template:template>
    Error message:
    2755> <BEA-423405> <An exception [java.lang.String] was thrown while rendering the content at [ext_jsp/buildApplication.jsp].
    java.lang.ClassCastException: java.lang.String
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
    at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
    at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:281)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    It is quite easy to rewrite the plugin to work with 8.1
    We have done so - please contact me if you want the plugin.
    Sincerely,
    Paul Nyheim
    "HOs" <[email protected]> wrote in message
    news:3f72ce93$[email protected]..
    >
    Hi,
    how can I debug my weblogic 8.1 application ?
    I`m using eclipse, but the plugin I´ve got, is only for versions 6.x and7.0 .
    So I tried remote debugging but eclipse could not connect to the VM, I donot
    know why.
    Any ideas ??
    Thanks
    Holger

  • How to debug a failed shopping cart transfer to ECC in classic mode

    Hello,
    I am using SRM 5 in classic mode, connected to ECC 6.0.
    I have an error message in the administrator monitor that tells me a transfer a shopping cart to ECC has failed.
    "Shopping cart 1000000123: Error creating the follow-on document"
    (Message is BBP_PU 367)
    This is located in the "local errors" section of the administrator monitor.
    The follow on doucment will be a PO in ECC.
    This message does not tell me the cause of the problem therefore I need to retrnsmit the cart and debug to find the error message that is being returned from ECC.
    I have browsed the forum and there are various answers about debugging but but have not found exact instructions on how to debug, and it is now always clear on whether the instructions apply to classic or extended classic.
    I have seen reference to the method in note 539978 that creates test data with FBGENDAT for the ECC BAPI. However this method does not seem suitable for a production system because it will interfere with all shopping carts being transferred while the shoppign cart with the problem is being debugged.
    Therefore I would like to debug in SRM just for the shoppign cart with the problem.
    Hopefully this thread will become the defintiive poitn of reference for debuggin a classic shopping cart transfer to ECC  in SRM 5.
    I propose to use function module BBP_PD_SC_TRANSFER to transfer the shopping cart again by entering the shopping cart GUID.
    Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
    Question 2) If the system is getting as far as calling the BAPI in ECC, is it possbile to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
    Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
    Your help would be appreciated,
    Reagrds

    Hi Paul,
    a small correction to Dishas comment:
    The class CL_BBP_BS_ADAPTER_PO_CRT_470_1 is used for the backend release 4.7, so it is not relevant for you. Instead of this, you have to take the CL_BBP_BS_ADAPTER_PO_CRT_ERP10 and method CREATE_DOCUMENT. This is the last step, before the SRM calls the backend system.
    From the alert "local errors" I suppose, that there is an error in the SRM customizing (in case the error message comes from the backend system, you get the message into the "Backend Application error").
    Typical customizing error, when e.g. the number range of the purchase REQUISITION is not correctly customized (in case the prerequisits for a PO are not fulfilled, the system tried to create a purchase requisition). See the note 1173815 regarding this problem.
    Back to your questions:
    The activating of the FBGENDAT was a good idea, but I would give here two hints:
    - I case of production system you can use only the "Mode B".
    - Activate the FBGENDAT only for a short term:
    -- at first set the breakpoint in the method CREATE_DOCUMENT (as above described)
    -- execute the BBP_PD_SC_TRANSFER
    -- you will be stopped at the breakpoint.
    -- Now you can activate the FBGENDAT in the backend
    -- go on with F8 in the debugger in the SRM system
    -- >>> test data will be filled in the backend system (BAPI_PO_CREATE1)
    -- deactivate the FBGENDAT
    You can do this in one min. and the worst what can happen is that you have 2-3 test data in the BAPI_PO_CREATE1 additionally to the erronous SC.
    Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
    - Maybe... Places for setting breakpoints
    -- FM "BBP_PD_MSG_ADD"
    -- System command "RAISE"
    -- FM "META_BAPI_DISPATCH" (typical problem, see above, and also the note 1173815)
    Question 2) If the system is getting as far as calling the BAPI in ECC, is it possible to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
    - Yes, you can find the message in the:
    -- Test data of the BAPI_PO_CREATE1, if you have activated the FBGENDAT
    -- In the method CREATE_DOCUMENT if you "comes back" from the RFC call from the backend
    Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
    - see above, CL_BBP_BS_ADAPTER_PO_CRT_ERP10 method CREATE_DOCUMENT
    Kind regards,
    Peter

  • How to debug in SAP Netweaver Developers Studio?

    Hi there,
    I am trying to debug and slove my error in SAP NWDS.
    I am building portal application->JSPDynPage
    I am trying to debug the jsp code behind page, it doesn't realli give error message like the java beans does.
    I am quite new to this and do not know how to set the function to test and debug this page can anyone provide any solution ?
    I have have this prob pls refer to this link
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=192104">https://www.sdn.sap.com/irj/sdn/thread?threadID=192104</a>
    Thanks loads
    Quatre

    Hi Quatre ,
    -Select the breakpoints in your Dynpages /beans in ur project
    -To debug u have to change the prespective to debug which u can find in
    window/open prespective /Debug in NWDS
    -Select the Run/Debug or the Debug icon in the toolbar.
    -Fill the project name ,application name in  the in the wizard opnend .
    - Follow the debugging using the next step over F6 ,step return F7 keys .
    These link may be helpful:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/def86ab54da5418a3575373934ca00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d4/31e24044b80b06e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/be/cffcb407c67842b122bd1296dc810f/frameset.htm
    U can always find out the way in the PDK development /how to debug/
    ie in NWDS /HELP /SAP WAS AS Documentation /SAP J2ee Enterprise Java Beans/Java development User Guide /Running and Debugging
    Cheers,
    Swathi Rao
    Do offer pts:-)

  • How to debug web app with weblogic?

    I wrote a web app that includes jsp files and some javabeans, then I put the jsp files to directory
    mydomain\applications\DefaultWebApp
    then I complied javabeans and put those classes to
    mydomain\applications\DefaultWebApp\WEB-INF\classes
    Then I start the weblogic,it runs very well.
    I modified some javabean, complie them and put classes override the old classes,
    but the web app can not find the new classes.
    Any one know How to debug web app(with javabeans) in weblogic?
    thanks!

    how to config the hot deploy?
    thxSorry, for this delay in responding. I had set notify me with email option in Watch This topic; but I never did get any email notification.
    I use wls6.1; I think the process may be very similar to this in wls8.x. In wls6.1 (sp5), this is done via the -
    Dweblogic.ProductionModeEnabled=False or
    Dweblogic.ProductionModeEnabled=True
    in the startup cmd/sh script. Out of the box, wls6.1 is set to Dweblogic.ProductionModeEnabled=False which automatically enables hot deploys.

  • How to debug when you can't recreate error consistently

    I have a simple illustrator-type application in which I draw rounded rectangles to a JPanel and then the user is able to move them around (the position and repaint is done in via the mouseDragged interface.
    Sometimes, the application shuts down when I am dragging a box with this message:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d236a0c, pid=3400, tid=2716
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
    # Problematic frame:
    # C [dcpr.dll+0x6a0c]
    # An error report file with more information is saved as hs_err_pid3400.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    I checked the error report and it suggests the problem is within the PathFiller.WriteAlpha. The entire report is below. The problem I have is that if I restart the application and place boxes in the exact same locations as before, and try moving the one that caused the error, the error is not thrown.
    I have no idea how to debug this as I can't even consistently reproduce. I just upgraded to the newest JDK (I think it was 7).
    Thanks for any insight and help you can offer.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d236a0c, pid=3400, tid=2716
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
    # Problematic frame:
    # C [dcpr.dll+0x6a0c]
    --------------- T H R E A D ---------------
    Current thread (0x00acae38): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2716]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000007
    Registers:
    EAX=0x00a9c6b8, EBX=0x02e33930, ECX=0x00a9c6a4, EDX=0x00000001
    ESP=0x0303f314, EBP=0x0303f328, ESI=0x00a35f1c, EDI=0xffffffff
    EIP=0x6d236a0c, EFLAGS=0x00010286
    Top of Stack: (sp=0x0303f314)
    0x0303f314: 02e2865c 00a35f1c 02e33930 ffffffff
    0x0303f324: 02e2865c 0303f34c 6d236ce8 02e33930
    0x0303f334: 00a35f1c 02e33930 02e2865c 02e33930
    0x0303f344: 00acaef8 02e34774 0303f378 6d2326be
    0x0303f354: 02e33930 00a35f1c 02f13380 00000001
    0x0303f364: 00000020 00000000 22fb02e8 22fad0d0
    0x0303f374: 00acae38 0303f3a0 00b6a767 02f13380
    0x0303f384: 0303f3b8 0303f3b4 00000001 00000020
    Instructions: (pc=0x6d236a0c)
    0x6d2369fc: 85 ff 89 7d f8 0f 84 16 01 00 00 eb 03 8b 7d f8
    0x6d236a0c: d9 47 08 d8 15 50 c0 23 6d 8b 47 04 d9 55 fc 89
    Stack: [0x03000000,0x03040000), sp=0x0303f314, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [dcpr.dll+0x6a0c]
    C [dcpr.dll+0x6ce8]
    C [dcpr.dll+0x26be]
    J sun.dc.pr.PathFiller.writeAlpha8([BIII)V
    J sun.java2d.pipe.DuctusRenderer.getAlpha(Lsun/dc/pr/Rasterizer;[BIII)V
    J sun.java2d.pipe.DuctusShapeRenderer.renderPath(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;Ljava/awt/BasicStroke;)V
    J sun.java2d.pipe.DuctusShapeRenderer.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V
    J sun.java2d.pipe.PixelToShapeConverter.fillRoundRect(Lsun/java2d/SunGraphics2D;IIIIII)V
    J sun.java2d.SunGraphics2D.fillRoundRect(IIIIII)V
    J writingplatform.PlatformNode.paintComponent(Ljava/awt/Graphics;)V
    J writingplatform.TextNode.paintComponent(Ljava/awt/Graphics;)V
    J writingplatform.PlatformPanel.paintComponent(Ljava/awt/Graphics;)V
    J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
    J javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V
    J javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z
    J javax.swing.JComponent._paintImmediately(IIII)V
    J javax.swing.JComponent.paintImmediately(IIII)V
    J javax.swing.RepaintManager.paintDirtyRegions()V
    J javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V
    J java.awt.event.InvocationEvent.dispatch()V
    J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
    J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
    v ~RuntimeStub::alignment_frame_return Runtime1 stub
    j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j java.awt.EventDispatchThread.run()V+9
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86401]
    V [jvm.dll+0xdb172]
    V [jvm.dll+0x862d2]
    V [jvm.dll+0x8602f]
    V [jvm.dll+0xa0bcb]
    V [jvm.dll+0x10bdad]
    V [jvm.dll+0x10bd7b]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb50b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J sun.dc.pr.PathFiller.writeAlpha8([BIII)V
    J sun.java2d.pipe.DuctusRenderer.getAlpha(Lsun/dc/pr/Rasterizer;[BIII)V
    J sun.java2d.pipe.DuctusShapeRenderer.renderPath(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;Ljava/awt/BasicStroke;)V
    J sun.java2d.pipe.DuctusShapeRenderer.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V
    J sun.java2d.pipe.PixelToShapeConverter.fillRoundRect(Lsun/java2d/SunGraphics2D;IIIIII)V
    J sun.java2d.SunGraphics2D.fillRoundRect(IIIIII)V
    J writingplatform.PlatformNode.paintComponent(Ljava/awt/Graphics;)V
    J writingplatform.TextNode.paintComponent(Ljava/awt/Graphics;)V
    J writingplatform.PlatformPanel.paintComponent(Ljava/awt/Graphics;)V
    J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
    J javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V
    J javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z
    J javax.swing.JComponent._paintImmediately(IIII)V
    J javax.swing.JComponent.paintImmediately(IIII)V
    J javax.swing.RepaintManager.paintDirtyRegions()V
    J javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V
    J java.awt.event.InvocationEvent.dispatch()V
    J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
    J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
    v ~RuntimeStub::alignment_frame_return Runtime1 stub
    j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j java.awt.EventDispatchThread.run()V+9
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x000360c0 JavaThread "DestroyJavaVM" [_thread_blocked, id=696]
    =>0x00acae38 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2716]
    0x00ac5530 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3396]
    0x00ac50b0 JavaThread "AWT-Shutdown" [_thread_blocked, id=2656]
    0x00ac3eb8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1644]
    0x00a6ef28 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=408]
    0x00a6dc28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=992]
    0x0003fda0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1756]
    0x00a42240 JavaThread "Finalizer" daemon [_thread_blocked, id=2156]
    0x00a40d58 JavaThread "Reference Handler" daemon [_thread_blocked, id=328]
    Other Threads:
    0x00a3e460 VMThread [id=3024]
    0x00a702a8 WatcherThread [id=1740]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 20K [0x22a70000, 0x22b10000, 0x22f50000)
    eden space 512K, 2% used [0x22a70000, 0x22a73220, 0x22af0000)
    from space 64K, 12% used [0x22af0000, 0x22af2128, 0x22b00000)
    to space 64K, 0% used [0x22b00000, 0x22b00000, 0x22b10000)
    tenured generation total 1408K, used 435K [0x22f50000, 0x230b0000, 0x26a70000)
    the space 1408K, 30% used [0x22f50000, 0x22fbcd10, 0x22fbce00, 0x230b0000)
    compacting perm gen total 8192K, used 388K [0x26a70000, 0x27270000, 0x2aa70000)
    the space 8192K, 4% used [0x26a70000, 0x26ad1170, 0x26ad1200, 0x27270000)
    ro space 8192K, 67% used [0x2aa70000, 0x2afcd9f8, 0x2afcda00, 0x2b270000)
    rw space 12288K, 46% used [0x2b270000, 0x2b813808, 0x2b813a00, 0x2be70000)
    Dynamic libraries:
    0x00400000 - 0x0040d000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d730000 - 0x6d8c7000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 - 0x6d2f8000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d700000 - 0x6d70c000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\java.dll
    0x6d720000 - 0x6d72f000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\zip.dll
    0x6d070000 - 0x6d1d7000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6d2b0000 - 0x6d2ef000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\fontmanager.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.DLL
    0x6d530000 - 0x6d543000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d550000 - 0x6d559000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\nio.dll
    0x6d230000 - 0x6d253000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\dcpr.dll
    VM Arguments:
    java_command: writingplatform.Main
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=C:\Program Files\Java\jre1.5.0_05\lib\ext\QTJava.zip
    PATH=C:\Program Files\Microsoft DirectX 9.0 SDK (August 2005)\Utilities\Bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\SSH Communications Security\SSH Secure Shell
    USERNAME=Wanderer
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 1047764k(366012k free), swap 2518724k(2059484k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0

    This is not your bug, it's Sun's. All you can do is to:
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    On the other hand, if you cannot afford to wait and just
    want to find a quick workaround, you will at least need
    to find a way to reproduce the bug with a reasonable
    frequency. If you are absolutely unable to reproduce it,
    just forget it, but still report it to Sun.

Maybe you are looking for

  • Dynamic Master Page. Hide second master page if items don't overflow on it.

    Hi all, I have a custom PO form which requires an extra header on the first page but not on the subsequent pages. I created a master page on which the items can overflow. The issue is that the second master page shows irregardless of whether the item

  • Broken keyboard key

    Hi, one of my keys has broken off my keyboard and will not go back on, would it be covered under warrenty, where do I need to take it to get it fixed I bought the laptop from Argos. Also its very slow when I'm on the internet an I have full signal wi

  • Inconsistent Multi-Pass

    I recently bought Multi-Passes for the Daily Show and the Colbert Report. They worked as expected for the first two episodes, but today only the Colbert Report downloaded. I received a notification e-mail only for the Colbert Report - however, the sa

  • Cannot compile tutorial investigate.jws

    I added the callback and the code to call this from the requestCreditReportAsynch method. When I click on the green button to build and run it, I get this error in the error output window, Investigate.jws 0 An unexpected exception occured while attem

  • Auto start script

    Hi guys Im using SAP Netweaver 7 Trial. Is ther a way to auto start SAP , a script that can be called may be , without using the sapmmc? Thnks