Problem in debug ?
Hi,
I write the logic for my requirement for moving the posting date.
Logic is :
CASE I_ERKRS.
WHEN 'M200'.
MOVE-CORRESPONDING I_ITEM to CE0_M200.
IF NOT CE0_M200-fkart is initial.
IF NOT CE0_M200-FKART eq r_fkart.
CE0_M200-WWRPT = CE0_M200-BUDAT.
ElseiF CE0_M200-FKART eq r_fkart.
SELECT VBELn FROM VBFA into table i_vbeln
where vbelv = CE0_M200-kaufn
and VBTYP_V eq 'M'.
if sy-subrc = 0.
Describe table i_vbeln lines ws_lines .
If ws_lines = 1 .
Read table i_vbeln into wa_vbeln index 1 .
select single budat into ws_budat
from bkpf where awtyp = 'VBRK'
and awkey = wa_vbeln-vbeln.
CE0_M200-WWRPT = ws_budat .
Elseif ws_lines >= 1.
loop at i_vbeln into wa_vbeln.
select single matnr from vbrp into ws_c_matnr
where vbeln = wa_vbeln-vbeln
and matnr = CE0_M200-artnr.
if sy-subrc = 0.
select single budat into ws_budat
from bkpf
where awtyp = 'VBRK'
and awkey = wa_vbeln-vbeln.
CE0_M200-WWRPT = ws_budat .
exit.
ENDIF.
endloop.
ENDIF.
ENDIF.
ENDIF.
endif.
move-corresponding CE0_M200 to E_item.
ENDCASE.
First part is working fine.Means
IF NOT CE0_M200-fkart is initial.
IF NOT CE0_M200-FKART eq r_fkart.
CE0_M200-WWRPT = CE0_M200-BUDAT.
<b>When cursor comes to Elseif part</b>
ElseiF CE0_M200-FKART eq r_fkart.
it does not check any other conditions,directly cursor go to the move-corresponding CE0_M200 to E_item step.
What happend?Is there any wrong in my logic?Please give me ur suggestions?
Thanks & Regards,
sudhakar
Hi,
Please check the Requirement for logic.
1. check whether Billing document type(FKART) is empty or not .
1.1. If the document type is empty move the posting date(BUDAT) in the
input structure to reporting date to the output structure.
1.2. If the document type(FKART) of the input structure is not empty and
does not contains any of the following doocument types B1, B1E,
B2, B2E, B3, B3E, B4, BK1, BK3, FXG, G2, G2S, JGL, RE, VLG2,
BM1, BM3, FXL, JLL or L2 .
1.2.1.Check that billing document category (VBRK_VBTYP) is not
available in the input structure then move the posting date
(BUDAT) in the input structure to reporting date to the output
structure.
1.3. if the document type(FKART) of the input structure is not empty and
contains any one the following document type B1, B1E, B2, B2E, B3,
B3E, B4, BK1, BK3, FXG,G2, G2S, JGL, RE, VLG2, BM1, BM3, FXL,
JLL or L2 .
1.3.1.Check that billing document category (VBRK_VBTYP) is not
available in the input structure.
1.3.1.1. Find the preceding doc (VBFA-VBELV) with the preceding
document category(VBFA-VBTYP_V) M(invoice).
1.3.1.2. If only one preceding document with category M found, then
pass VBRK as the referenceprocedure(BKPF - AWTYP)
and the billing (invoice) document number found above as
the reference key(BKPF AWKEY) to the input structure
and pass the posting date(BKPF BUDAT) to the reporting
date (WWWRPT) to the output structure.
1.3.1.3 If there are multiple preceding document with category M
(invoice) are found,use the material number in the credit
memo to find the invoice with matched material number.If
the first invoice found with the matched material number will
be used to derive the reporting date.
This is my requirement.Is it correct my logic.Any body give me suggestions.
Thanks,
sudhakar
Similar Messages
-
Facing Problem while Debugging a custom report using LDB
Hi Gurus,
I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
Thanks,
NandaHi Amith,
I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
Please suggest any other ways.
Thanks,
Nanda -
Problem with debug servlet Eclipse 3 tomcat 5
I have configured Eclipse 3 with Tomcat 5.0.28 and tomcatPulginV3
but, I have problem to debug my servlet
I have error message
help me it is urgent
Failed to connect to remote VM. Connection refused.
java.net.ConnectException: Connection refused: connect
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)
org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:47)
org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:103)
org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:131)
org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:75)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)ThanksCheck your packages which you are importing....
-
Hello
I have problem with debug program for XT75. I work in XP , install java j2sdk1.4.2_09 (from CD) , eclipse (with EclipseMEplugin_123) ,SMTK and connect terminal TC65 with XT75 module.
When I want to debug my simple Midlet HelloWorld under celipse I get error:
=========================================================================
Starting XT75 emulator for debugging application. Please wait ...
=========================================================================
COM port used for "emulator session": COM1
Used baud rate for the module "115200 baud"..
>>> Emulator is set to no download of Jar and Jad file! <<<
Initialize module for debugging ...
The module is now initialized for debugging!
>>> Establishing TCP/IP connection "IP connection for remote debugging"... <<<
Please wait ...
Done.
>>> Starting Debug Agent ... <<<
The debug agent is not started!
File WM_Debug_config.ini in WTK for XT75 is:
# This ini file is used to configure emulator.exe
# Hints:
# Store this ini file into the directory where the emulator.exe is located!
[Module type]
# Define the used module type
ModuleType=XT75
[AT command]
# These AT commands are used for initialising the module for debugging!
# Hints:
# The IP address range 10.x.x.x is not supported for configuration of debugging!
AT-Cmd1=S:ATE1
AT-Cmd2=R:OK
AT-Cmd3=S:at+cpin?
AT-Cmd4=R:+CPIN: READY
AT-Cmd5=R:OK
AT-Cmd6=S:at^scfg=userware/debuginterface,"192.168.0.21","192.168.0.22","0"
AT-CMd7=R:^SCFG: "Userware/DebugInterface","192.168.0.21","192.168.0.22","0"
AT-Cmd8=R:OK
AT-Cmd9=S:at^scfg=userware/mode,"debug","a:/","2000"
AT-Cmd10=R:^SCFG: "Userware/Mode","debug","a:/","2000"
AT-Cmd11=R:OK
AT-Cmd12=S:at^scfg=userware/stdout,UDP,2000
AT-Cmd13=R:^SCFG: "Userware/Stdout","UDP","2000"
AT-Cmd14=R:OK
[System.out port]
# used UDP port number range: 1024 ... 65535
# comment out the following line for switching off Java "System.out" displaying in the IDE window
#UDPport=12345
[DebugAgent delay timer]
# settings for Debug Agent delay timer in ms
#DATimer=2000
I send At command to terminal AT^SCFG? and get answer:
^SCFG: "AutoExec","0","0","0","0",""
^SCFG: "AutoExec","0","1","0","0","","000:00:00","000:00:00"
^SCFG: "AutoExec","0","1","1","0","","000:00:00","000:00:00"
^SCFG: "AutoExec","0","1","2","0","","000:00:00","000:00:00"
^SCFG: "GPRS/ATS0/withAttach","on"
^SCFG: "GPRS/AutoAttach","disabled"
^SCFG: "GPRS/PersistentContexts","0"
^SCFG: "GPRS/RingOnIncomingData","off"
^SCFG: "MEopMode/Airplane","off"
^SCFG: "MEopMode/Airplane/OnStart","off"
^SCFG: "MEShutdown/OnIgnition","off"
^SCFG: "PowerSaver/Mode9/Timeout","20"
^SCFG: "Radio/Band","3","15"
^SCFG: "Radio/OutputPowerReduction","3"
^SCFG: "Serial/USB/DDD","0","0","0409","0681","0034","Siemens AG Wireless Modules","XT75",""
^SCFG: "Tcp/BufSize","5200"
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/SAck","1"
^SCFG: "Tcp/TTcp","0"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/OTAP","0"
^SCFG: "Userware/Autostart","0"
^SCFG: "Userware/Autostart/AppName",""
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","192.168.0.21","192.168.0.22","0"
^SCFG: "Userware/Passwd"
^SCFG: "Userware/Mode","debug","a:/Project02.jar","2000"
^SCFG: "Userware/Stdout","UDP","2000"
^SCFG: "URC/CallStatus/CIEV","restricted"
^SCFG: "URC/CallStatus/SLCC","verbose"
^SCFG: "URC/Datamode/Ringline","off"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
OK
Please help me.
Thanks.Hello,
I would like to know if you could debug?
That's the same problem what I have.
At the moment I have the DSB75 and the XT75 module I don't know what else I can to to run the program under debug.
OS: Win XP
eclipse-SDK-3.3.1.1
eclipseme.feature_1.7.7
Regards,
NOVI -
Problem about debugging system
Hi, all:
I meet a problem when debug my program from se38, It says 'Error during interprocess communication; Debugger will be closed . Message Number TPDA151'.
How can I resolve this problem?
Thanks in advance.Hi,
There must be SM21 logs , to figure out .
You can validate below oss notes.
Note 981211 - HTTP debugging with the new debugger is terminated.
Regards
Nagaraju -
AIR 3.9.0.790 - Problem with debug configurations
Hi there
After updating from 3.9.0.720 to 3.9.0.790 it seems that my debugging configurations are ignored (works fine with build 720). When running the app on AIR Simulator I always end up with a 500 x 375px screen with a high resolution display simulated.
- Flash Builder 4.7
- AIR 3.9.0.790
- Starling-Project for iOS only
- Debug-Configuration: various iOS devices (Mobile Application)
Am I missing something?! Any hints?
Regards,
RenéWe're having the same problem. In our project, the only difference is switching between AIR 3.6 and 3.9.0.1030 (obviously a wider range than the above), and the 3.9 ADL simulator ignores the -screensize argument and forces the window to 500x375. Oddly, this affects only one Mac out of three.
Perhaps interestingly, the affected Mac is OSX 10.8.4 (server edition), while the ones that work are 10.8.2 -
Problem to debug applet, please help...
i use windows.
there are 3 files under "c:\current" directory, they are
file 1. mem_appletviewer.bat - with content:
"e:\install\java\jdk1.3.1_05\bin\appletviewer" -J-Xdebug -J-Xrunjdwp:transport=dt_shmem,address=conn001122,server=y,suspend=y test.htm
file 2. mem_jdb.bat - with content:
"e:\install\java\jdk1.3.1_05\bin\jdb" -attach conn001122
file 3. test.htm - with applet tag:
<applet
code="Let0.class"
codebase="G:\Victor\Vc5060\Develop\JCity\files\RecentFile"
width=400 height=250 ></applet>
(Let0.class is a simplest class extends Applet)
please note, codebase is not "c:\current" directory
problems happend when i debug: (run mem_appletviewer.bat first then mem_jdb.bat)
a) if move Let0.class to "c:\current" directory, debug is fine but test.htm can not load Let0.class itself because of codebase tag.
b) if move Let0.class to codebase directory (G:\Victor\Vc5060\Develop\JCity\files\RecentFile), test.htm can load the class but appletviewer can not load the class (can not find Let0.class).
===========================================================
in my application, i need to put Let0.class in codebase directory.
Question:
1) how to set -classpath for appletviewer (as debug application class in java.exe )? is it possible?
2) codebase TAG in test.htm doesn't work for appletviewer, what is problem? how to fix it?
totally:
how to debug Let0.class if it is in codebase directory (not in "c:\current")?
thxi fix it.
-
hello all,
i am using eclipse 3.2 and tomcat 5.0.28
i made a servlet class ServletFetchingDataFromDatabase.java in this package ( given below )
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ServletDataBaseConnection\src\servlet
and corresponding this java file .... its class file situated in this package ( given below )
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ServletDataBaseConnection\build\classes\servlet
because of my java file in servlet package , i wrote this file ( given below )
package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class ServletFetchingDataFromDatabase extends HttpServlet {
private static final long serialVersionUID = 8572240412874905464L;
String url = "jdbc:mysql://localhost/mokshadatabase";
String user = "root";
String password = "password";
String jdbcDriver = "com.mysql.jdbc.Driver";
public void doGet(HttpServletRequest request , HttpServletResponse response) throws ServletException , IOException{
String query = null;
response.setContentType("text/html");
PrintWriter pw = response.getWriter();
pw.println("<html>");
pw.println("<body>");
pw.println("<form>");
pw.println("Servlet DataBase Connection<br>");
pw.println("Patient Master Table <br><br>");
try{
Class.forName(jdbcDriver).newInstance();
Connection conn = DriverManager.getConnection(url, user, password);
query = "SELECT * FROM mhis_m_patientmaster";
PreparedStatement stmt = conn.prepareStatement(query);
stmt.executeQuery();
ResultSet rs = stmt.getResultSet();
pw.println("<table border = 1>");
pw.println("<tr>");
pw.println("<td>patient_Id</td>");
pw.println("<td>patient_Registration_Date</td>");
pw.println("<td>patient_Registration_Time</td>");
pw.println("<td>patient_First_Name</td>");
pw.println("<td>patient_Last_Name</td>");
pw.println("</tr>");
while(rs.next()){
pw.println("<tr>");
if("".equalsIgnoreCase(rs.getString(1))){
pw.println("<td>Null</td>");
}else{
pw.println("<td>" + rs.getString(1) + "</td>");
if("".equalsIgnoreCase(rs.getString(2))){
pw.println("<td>Null</td>");
}else{
pw.println("<td>" + rs.getString(2) + "</td>");
pw.println("</tr>");
pw.println("</table>");
}catch(IllegalAccessException e){
pw.println("Error is : " + e.getMessage() + "<br>");
pw.println("Error is IllegalAccessException<br>");
}catch (ClassNotFoundException e) {
pw.println("Error is : " + e.getMessage() + "<br>");
pw.println("Error is ClassNotFoundException<br>");
}catch(InstantiationException e){
pw.println("Error is : " + e.getMessage() + "<br>");
pw.println("Error is InstantiationException<br>");
}catch(SQLException e){
pw.println("Error is : " + e.getMessage() + "<br>");
pw.println("Error is SQLException<br>");
pw.println("</form>");
pw.println("</body>");
pw.println("</html>");
}and web.xml .. i wrote
<!-- ServletFetchingDataFromDatabase.java (In side servlet package ) -->
<servlet>
<servlet-name>servlet\ServletFetchingDataFromDatabase</servlet-name>
<servlet-class>servlet.ServletFetchingDataFromDatabase</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>servlet\ServletFetchingDataFromDatabase</servlet-name>
<url-pattern>/servlet/ServletFetchingDataFromDatabase.do</url-pattern>
</servlet-mapping>now when i debug it then it gives error like that...
HTTP Status 404 - /ServletDataBaseConnection/servlet/servlet.ServletFetchingDataFromDatabase.do
type Status report
message /ServletDataBaseConnection/servlet/servlet.ServletFetchingDataFromDatabase.do
description The requested resource (/ServletDataBaseConnection/servlet/servlet.ServletFetchingDataFromDatabase.do) is not available.main thing is that when i check it from web browser
( http://localhost:8080/ServletDataBaseConnection/servlet/ServletFetchingDataFromDatabase.do ) then it gives correct out put .. no problem is there..but when i check it by debug using break point ...then it gives this error....
i thing this problem is related to web.xml ... but if this web.xml is wrong then why this web.xml gives write out put from when i checked it by browser...Hi ,
I really dont understand why you are making such a complicated folder structure for servlet.
May be i m wrong, but if you are using eclipse everything is straight forward.
Just create dynamic web project create servlet into src & jsp into webcontent . Everything place in your
workspace thats all. Just simply call your servlet thats it
Please Revert Back
Sachin Kokcha -
Cant deploy the mapping which is validated fine-Problem in debugging
Hi All,
I have a complex mapping with almost thirthy tables involved.
I have created a mapping with step by step process of t1 Join t2 ,t2 Join t3....t29 join t30
The mapping seems fine and was validated succesfully.
When I try to deploy the same it is throwing me the warnings as below...
how to resolve this?
how to pinpoint the exact problem area in pls code generated while deploying.
Thanks Much!
Srid
Below is the deployment warning message
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 11, column 3:
PL/SQL: ORA-00923: FROM keyword not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 11, column 3:
PL/SQL: SQL Statement ignored
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 2247, column 3
PL/SQL: ORA-00923: FROM keyword not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 2247, column 3:
PL/SQL: SQL Statement ignored
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 4738, column 7:
PL/SQL: ORA-00923: FROM keyword not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 4738, column 7:
PL/SQL: SQL Statement ignored
Job Summary
Updated : 2009-01-21 07:38:57.0 Job Final Status : Completed with warnings Job Processed Count : 1 Job Error Count : 0 Job Warning Count : 6
My mapping has only 18808 lines when i looked at the .pls script generated while deploying(surprisingly... the debug message shows the error is on 22776 line)
when tried to debug the mapping Below is the debugging message
Analyzing map for debug...
Retrieving Control Center connection info...
Connecting to Control Center schema...
Checking character set of Control Center schema...
Configuring sources and targets...
Validating map...
Correlated Commit is OFF.
Generating debug package...
Deploying temp debug tables...
Deploying debug package...
Debug code deployment messages:
LINE 22776 ,COLUMN 46:
PLS-00103: Encountered the symbol "B_BN_BNI_66_BN_ORIGI$2" when expecting one of the following:
. ( * % & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol "." was substituted for "B_BN_BNI_66_BN_ORIGI$2" to continue.
End debug code deployment messages
Mapping Debugger Error:
oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1012: Debug deployment errors, can't run debug code.Hi,
there is only one software version. Whether or not you have to license it depends on the features you use.
Generate the code in the mapping editor using the "generate" button
In the generation result window, select generation style = intermediate and operating mode = "[PL/SQL] Set based"
Now you have to select some input or output group of some operator in your mapping.
Then the generation result window displays an SQL statement that represents the data that would go into the group you have selected.
Run the SQL directly in your target schema (using sql*plus, sql developer, etc.).
If the SQL cannot be executed, the problem is in that particular part of the mapping.
You may try to locate it further.
Good luck,
Carsten. -
Problems with debugging in Oracle sql developer
Dear all,
I have a stored procedure with about 3500 lines of code. The SP is calling some other SP's , so altogether around 30,000 lines of code is to executed.
I have some delete statements in the beginning of my SP.
Till nw i was able to debug and run this SP.
But nw I am facing a strange problem.
I can run the SP.
But if i try to debug it , it gets hanged after the delete statement and does not move forward.
So i moved all that statements to another SP and I call the new SP from my present one.
In this way If i debug , after calling the newly created SP , my main Sp does not recognise the break points , and it just finishes execution ..
Can any one help me on this.
Thanks in Advance,
Kurian SimonSimon,
Did you move the breakpoint, and once you'd moved the lines of code, did you recompile, using compile for debug? Also, it's important to do compile for debug on all the program units you want to debug, otherwise SQL Developer will just step over the units not compiled for debug.
Sue -
Problem in debuging jasper reports and ADF
Hi
I am using JDeveloper 11.1.2.2.0. Inside I created Fusion Web Application ADF, and on the index page created Go button. Now I created Servlet with doGet methode and conncected it to Go button. It is working OK.
Now I want to run simple jasper report from servlet. Jasper report is based on empty dataset. Here is servlet code:
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
ServletOutputStream servletOutputStream =response.getOutputStream();
InputStream reportStream = getServletConfig().getServletContext()
.getResourceAsStream("C:/Users/myDomain/Desktop/Reporting/ReportPDFPrazan.jasper");
try
JasperRunManager.runReportToPdfStream(reportStream,servletOutputStream,null, new JREmptyDataSource());
response.setContentType(CONTENT_TYPE);
servletOutputStream.flush();
servletOutputStream.close();
catch (JRException e)
// display stack trace in the browser
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
e.printStackTrace(printWriter);
response.setContentType("text/plain");
response.getOutputStream().print(stringWriter.toString());
When I hit Go button here what I get:
java.lang.NullPointerException
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2265)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2278)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
at java.io.ObjectInputStream.(ObjectInputStream.java:279)
at net.sf.jasperreports.engine.util.ContextClassLoaderObjectInputStream.(ContextClassLoaderObjectInputStream.java:53)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:214)
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:632)
at net.sf.jasperreports.engine.JasperRunManager.runToPdfStream(JasperRunManager.java:428)
at net.sf.jasperreports.engine.JasperRunManager.runReportToPdfStream(JasperRunManager.java:849)
at view.com.lanaco.servlets.PrviServlet.doGet(PrviServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
and so on(I can put whole stack if necery)
I also imported this libraries inside ViewControl project:
Jasperreports-4.7.1.jar
Commons-beanutils-1.8.0.jar
Commons-collections-2.1.1.jar
Commons-digester-2.1.jar
Commons-logging-1.1.1.jar
IText-2.1.7.jar
Groovy-all-1.7.5.jar
Poi-3.7-20101029.jar
Can someone help me with debuging. Please
Edited by: MarcusO on 2012.10.23 05:18I found solution. It should be used like this:
InputStream reportStream = new FileInputStream(new File("C:/Users/myDomain/Desktop/Reporting/ReportPDFPrazan.jasper"));
So problem was in input stream. It works fine now. -
Problems while debugging office integration in CRM 5.0
Hello,
after upgrading our installation of CRM 5.0 from SP 14 to SP 18 I've got a problem.
We use an Excel-Sheet as an attachment in Activities with some text-marks automatically replaced via BADI "CRM_DOC_TEMPL_BADI" by implementing the method "GET_VALUES". Everything worked fine until upgrade from SP 14 to SP 18. From that time on I only get the message "Error replacing values in Office document" (message class crm_documents #204) in the internet explorer.
I tried to debug the coding and cross-checked the data with our production environment. Everything seems to be OK. I find some generated coding for javascript which should do the replacement of values, I guess. Unfortunately I can't find a way to debug or check this coding whether it contains some illegal data or not.
Is there any way to review this coding and to see what goes wrong in the browser/excel without use of third-party-tools?
Thanks in advance,
MartinHello, Martin
The best option is using script debugger. It is included in your Internet Explorer.
To activate script debugger, open IE and go to Internet Options->Advanced and uncheck the following flags:
- Disable Script Debugging (Internet Explorer)
- Disable Script Debugging (Other).
If you are using IE8, there is a new tool for javascript debugging by using Development tools. Check [here |http://msdn.microsoft.com/en-us/library/dd565625(v=vs.85).aspx]for info
Regards
Joaquin -
<b><i>Hi all</i></b>,
I debug an EP6 application with the Developer Studio. This work fine but when the debug starting, it automatically switch in the EP perspective and not in debug perspective?! Each time! Any idea ?
<b><i>Best regards.</i></b>Hi,
I had this problem until recently myself.
You can stop the behaviour by the following steps:
Open the debug configuration screen>in the right hand navigation menu select the application you are debugging beneath the item 'Remote Application'>Click the 'Common' Tab in the left hand window. There you will find the option 'Perspective to switch to or open when launched'
Change this setting to default and the problem is resolved.
Please assign points if this resolves the problem or is helpful and let me know if require further detail.
Kind Regards
Daniel -
Problem with debug java.lang.NullPointerException
Hi All,
i am having a very strage issue with Flash Builder 4.5.1.
If I create a Flex Mobile Application, i am able to debug the app with no problems.
if I create a Flex Mobile and PHP Project, and then connect to a data service, i am not able to debug the app. i am having the following error:
An internal error occurred during: "Launching Main_App".
java.lang.NullPointerException
SO: Windows 7
Flash Builder 4.5.1
Any ideas on this?
Thanks a lot,
JoeHi Steven,
I turned on debugger on oracle.jheadstart.controller.strutsadf.JhsRequestProcessor.
The exception is rised in method :
processActionPerform
at statement :
ActionForward forward = super.processActionPerform(request, response, action, form, mapping);
I hope it is helpful.
Cezary -
hi all,
i am developing an user debugger which is used to debug Applet.
problem is, the Applet debugged must be in same directory as the debugger, simply says, the command must be:
appletviewer MyApplet
or
java sun.applet.AppletViewer MyApplet
i need following command work:
appletviewer file:/c:\folder\MyApplet
because normally debugger is not in the same directory as Applet debugged.
how to solve the problem?
i guess i have to develop my own AppletViewer, but how to do?
thxi fix it.
-
Memory leak checking doesn't work: SEGV problem while debugging with dbx
I am debugging a program which has memory leaks.
When I do the following:
dbx <program>
(dbx) run <input parameters>
everything runs fine, but as I didn't use RTC leaks checking, this is of no use. Therefore I do the following:
dbx <program>
(dbx) check -memuse
memuse checking - ON
(dbx) check -leaks -frames 8
leaks checking - ON
(dbx) run <input parameters>
which gives the following result:
Running: <program> <input parameters>
(process id 17075)
Reading rtcapihook.so
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
t@1 (l@1) signal SEGV (no mapping at the fault address) in __rtc_memcpy at 0xffffffff7312ed90
0xffffffff7312ed90: __rtc_memcpy+0x0014: st %o4, [%o0 + %o3]
dbx: Stopped within call to '__rtc_suppress_always'. Starting new command interpreter
(dbx) where -l
current thread: t@1
[1] libaio.so.1:_init(0xfffffffe52000058, 0x0, 0xffdfffff, 0xfffffffe52000030, 0x400000, 0x80000), at 0xfffffffe55907a90
[2] ld.so.1[L]:setup(0xffffffff7ffff250, 0x0, 0xffffffff7f72c2b0, 0x10000, 0x0, 0x0), at 0xffffffff7f610ba4
[3] ld.so.1[L]:_setup(0xffffffff7fffffab, 0x1f, 0xffffffff7ffff640, 0xffffffff7fffffbe, 0xffffffff7ffff628, 0xffffffff7f72dde8), at 0xffffffff7f61f24c
[4] ld.so.1[L]:_rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f6052d4
I think this means that there is a problem within my 'RTC' libraries.
When I run the "version" command within my dbx session, I get following results:
(dbx) version
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-480R
The following components are installed on your system:
Sun Studio 9
Sun Studio 9 C Compiler
Sun Studio 9 C++ Compiler
Sun Studio 9 Tools.h++ 7.1
Sun Studio 9 C++ Standard 64-bit Class Library
Sun Studio 9 Garbage Collector
Sun Studio 9 Fortran 95
Sun Studio 9 Debugging Tools (including dbx)
Sun Studio 9 Debugger GUI
Sun Studio 9 Performance Tools (including collect, ...)
Sun Studio 9 X-Designer
Sun Studio 9 VIM editor
Sun Studio 9 XEmacs editor
Sun Studio 9 Native Connector Tool
Sun Studio 9 LockLint
Sun Studio 9 Building Software (including dmake)
Sun Studio 9 Documentation Set
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.0 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.5 2004/07/15
Can anybody help me out?
Which additional information do I need to provide in order to solve this issue?
Message was edited by: B.V. (the "where -l" command has been added
B.V.Hello Maxim,
As you said, it was worth to try, but unfortunately, it was not a very good investment :-(
The patch 117564-06 has been installed, and I have retried the same procedure, but the same problem occurs.
As you have mentioned in a previous reply, I have flagged the "rtc_error_stack" before launching the "where" command.
The result is the following:
Running: <program> <input parameters>
(process id 21873)
Reading rtcapihook.so
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
t@1 (l@1) signal SEGV (no mapping at the fault address) in __rtc_memcpy at 0xffffffff7312f068
0xffffffff7312f068: __rtc_memcpy+0x0014: st %o4, [%o0 + %o3]
dbx: Stopped within call to '__rtc_suppress_always'. Starting new command interpreter
(dbx) dbxenv rtc_error_stack on
(dbx) where -l
current thread: t@1
=>[1] librtc.so[0xffffffff7de01778]:__rtc_memcpy(0xfffffffe5013fff0, 0xfffffffe50220040, 0x8, 0x
10, 0x803, 0x64a3c338), at 0xffffffff7312f068
[2] librtc.so[0xffffffff7de01778]:change_masks_work(0xfffffffeff90e878, 0xfffffffeff90e878, 0x
803, 0x2, 0x0, 0xffffffff73243608), at 0xffffffff7312e618
---------- called from debugger ----------
[3] libmd5.so.1:_init(0xfffffffe50b00228, 0x0, 0xffdfffff, 0xfffffffe50b00208, 0x400000, 0x800
00), at 0xfffffffe531016e0
[4] ld.so.1[L]:setup(0xffffffff7ffff260, 0x0, 0xffffffff7f72c2b0, 0x10000, 0x0, 0x0), at 0xfff
fffff7f610ba4
[5] ld.so.1[L]:_setup(0xffffffff7fffffa6, 0x1f, 0xffffffff7ffff650, 0xffffffff7fffffb9, 0xffff
ffff7ffff638, 0xffffffff7f72dde8), at 0xffffffff7f61f24c
[6] ld.so.1[L]:_rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f6052d4
(dbx)
Any ideas?
Thanks
Dominique
Maybe you are looking for
-
hi all, this is an extract of materail master upload for mm01 when i execute this recording purchase order text view doesnot get populated with text. anybody can tell me whts wrong with this????? perform bdc_field using 'MAKT-MAKTX'
-
Java mapping for EDI order document
hi, My project is to convert a EDI-850 Purchase Order Document using XI into an R/3 system.I planned t use java mapping So,I had got the java code necessary for the mapping from a tool called ALTOVA XML MAPRFORCE. I have converted the code into a .ja
-
Japan Mac Mini compatible with Spanish system?
Hello, I'm going to Japan this summer and I've planed to buy a Mac Mini there (there are much more cheaper, about 150-200€ difference). Before doing it I would like to know if I will have any problems with warranty, hardware problems (like monitor, k
-
Have a powermac G5 with an ATI Radeon 9600 pro Will this drive a 30" Cinema HD display? Appreciate any feedback Thanks
-
All, The program has set of OCI datatype converion calls from C native to Oracle types. The program crashes in OCI calls specifically in OCINumberFromReal. Below is the stack for the core dump created. In call to OCINumberFromReal, when it refences l