on 01-22-2006 8:09 PM
Hi everybody,
can you help me with debugging in NWDS?
Everytime I click Debug button I recieve error message (Internal error)...
Can you explain me necessary steps to start debugging of my application?
Thanks a lot.
Tomas
hello tomas,
is this an internal error shown in the browser or
an internal error specific to eclipse (i.e. NWDS)?
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an Eclipse error message.
I try to start debugging this way:
1) choose run/debug
2) select my project under MI Application node from Configuration list
3) Click Debug button (all setting are initial)
then I can see a message: An internal error occured during "Launching".
In fact I'm not sure about steps I've done... are they correct? Shouldn't I change MI (Tomcat) configuration and start it manually?
Thanks for any help
Tomas
MDK Plugin Preferences:
MI Home folder: C:\SAPmi
Java SDK tools.jar file: C:/J2sdk1.4.2_10/lit/tools.jar
MI server name: localhost
MI webapp root: me
MI webapp TCP port: 4444
Command line to launch browser: cmd /C start iexplore
AWT MI home folder - empty
MI logon user, password set
...and my setting in debug dialog are:
Main tab:
Project: GenericSyncTest
Main class: com.sap.ip.me.mdk.api.runtime.Start
Other options unchecked
Arguments tab:
Program arguments: "-home:C:\SAPmi" -trace -url:GENERICSYNCTEST/start -app:jsp
Working directory: Use default working directory - checked
JRE tab:
Project JRE checked
Classpath tab:
Bootstrap entries
- JRE_LIB - j2re1.4.2_10
User entries
- GenericSyncTest (default classpath)
Source tab - nothing
Enviroment tab - nothing
Common tab
Save as - local file checked
Standard input and output - Allocate console
Launch in background checked
Thats all...
If I uncheck "Launch in background" option at the last tab I have the same error but now with reason (there wasn't reason before): Error with debug UI; java.lang.reflect.InvocationTargetException
Thanks for help
hi Tomas
> MI Home folder: C:\SAPmi
Your MI Home folder should be your <b>MI Client JSP Version home folder.</b> it should have the TOMCAT engine in it.
is it so? please Confirm.
> MI logon user, password set
What user&password have you set in this?
Can you please send me the settings of your DEBUG tab in PREFENCES WINDOW?
Take a look at this Thread too.
Regards
ak.
Message was edited by: Arun Kumar Ravi
-Java
--Debug
all options checked
Debugger timeout: 3000
Launch timeout: 20000
---Detail formaters
no items
---Logical structurec
Collection...
Composite...
Map...
Map$Entry...
---Step filtering
java.lang.ClassLoader checked
no Filter item checked
--Run/Debug
Reuse editor when... checked
Activate the workbench... checked
Activate the debug... checked
Open the associated perspective... Prompt
---Console
---External tools
---Launching
Build (if required) before launching checked
Save dirty editors before launching Prompt
Wait for ongoing build to complete before... Always
Remove terminated launches when a new launch... checked
Open the associated perspective when launch... Never
Launch in debug mode when workspace contains break... Never
Continue launch if project contains errors Prompt
Size of recently launched application list 10
--- String substitution ... nothing
--- View management
Debug checked
this is a complete list...
hi Tomas,
there is a similar error when you run SAP Download manager. i found it from SAP NOTES. it has the same exception. hope this solution helps.
<i>
Symptom
When trying to start the Java-based Download Manager, the loader displays the following error message:
"This application has Unexpectedly Quit"
When you click on "Details", the following error message is displayed:
java.lang.reflect.InvocationTargetException
Other terms
DownloadManager error start
Reason and Prerequisites
The loader is unable to find a Java run time environment on the machine where the Download Manager is installed.
<b>Solution
Install the proper Java run time environment.</b></i>
i found similar errors with same exceptions from the OSS Notes search. All of the notes tell you to Install appropriate java runtime environment.
<i>try to change the JRE. it might work.</i>
Hope this solves your problem.
Regards,
Ak.
PS: Don't forget my points if this helps.
Message was edited by: Arun Kumar Ravi
hi,
what is the proper version?
I tried to change it to version 1.3.1 (as described in this document: http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/gettingstarted/introduction/J... )
but it doesn't work, the same error
What version of Java do you use?
How do you start debugging? Just by clicking on debug button?
Tomas
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.