Handling exception thrown by parseEscapedXML function
Hi,
I am using parseEscapedXML function to parse an xml string in the below format .
<parameters><item id="" value=""/><item id="" value=""/></parameters>
The exception thrown when input is in incorrect xml format is not caught using catchAll.
Kindly check if anyone have any idea about this.
Hi,
Ideally your BAPI shouldn't raise exceptions - it is much better to use the RETURN table from your BAPI with any relevant messages - have a look at the majority of standard SAP BAPI's in transaction BAPI.
This way, the only exceptions your try... catch block needs to handle are those related to the actual calling of your BAPI, not it's functionality.
Also, if you can successfully run the BAPI in SE37 but it fails when called from your WD application, try using the FBGENDAT functionality to capture what data is being passed to SAP from your Web Dynpro application. All it takes is a simple mistake in setting up your contexts or logic and you won't be calling your BAPI correctly.
Hope this helps,
Gareth.
Similar Messages
-
How to handle exception thrown in standard bo method in the workflow design
Hi Experts
how to handle exception thrown from standard bo method in the workflow design. For example, bo BUS2032, METHOD confirm. If the user cancel it, it will throw exception. In the workflow, how to catch this exception and add corresponding steps in the workflow.@jrockman li
Try to implement the logic that what ever you are performing in the BO mehtod in a FM and in the FM you have tab with name EXECPTIONS define the execption in that tab.Now in the BO method you call this FM and if the exception occurs by using RAISE you can raise the exception in the FM and based on the number of exceptions your sy-subrc value will be set
so when sys-subrc is not eq 0 then pass a value back t the workflow container., I think this will work.
a sample Snippet for understanding purpose
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = <path>
filetype = 'ASC'
IMPORTING
filelength = lv_len
TABLES
data_tab = l_txt_tab
EXCEPTIONS
file_write_error = 1 " If this Exception occurs
invalid_type = 2
no_authority = 3
unknown_error = 4
OTHERS = 10.
CASE sy-subrc.
WHEN 1. " SY-SUBRC value will be 1 then,
" Pass or set the value back to the workflow conatiner element
ENDCASE. -
Jco exception thrown while executing function "BICS_PROV_OPEN" against syst
Hi,
Am implementing SAP EP, BI Integration. The BI Querys are running fine, but when i try to run a BEx Application Query am thrown with this exception in portal.
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at
I've done all the configuration for the integration and the BI Diagnostic tool is showing all the configurations to GREEN.
Please help me on this...
Regards,
mcsekarException caught: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516) at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1514) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3980) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Proxy.executeFunction(Jco640Proxy.java:362) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Function.executeRfc(Jco640Function.java:75) at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:46) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.variableprocessor.RfcServiceWithVariables.executeCreationFunctionForVariableHandling(RfcServiceWithVariables.java:64) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.isApplicable(ProviderSelectionObject.java:339) at com.sap.ip.bi.base.application.impl.Application.checkAndCreateService(Application.java:709) at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:634) at
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:48) at com -
Handling Exceptions thrown by EDT Thread?
Hi,
How to handle exceptions thrown by EDT Thread?. If anybody can give any link or any example, then it really helpful.
ThanksSystem.setProperty( "sun.awt.exception.handler", EventThreadExceptionHandler.class.getName() );
-
Exception thrown in native function.
Hello,
I've encountered a bizarre, yet repetitive problem with
Dreamweaver 8. Whenever I close out of any file (.htm, .cfm, .dwt
for example) that contains any JavaScript I get the following error
and then DW crashes:
While executing DWMenu_File_Close command in menus.xml, the
following JavaScript error(s) occurred:
Exception thrown in native function.
I've been working with Dreamweaver for a few years, gone to
MAX, my partner is a certified professional, and a user group
manager. I can't fix this problem. It's got to be related to my
system, as she has no problems whatsoever. I've been through the
newsgroups, the technotes, developer center, and a reloaded my
system (XP Pro) a few times.
Thanks - DavidYou can try this simple fix -
Quit DW.
Find this file -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"lotuseducation" <[email protected]> wrote
in message
news:e3a6up$ckl$[email protected]..
> hi
>
> i am facing a strange error in my DW 8,
> the error message is :
>
> while executing onLoad, the following Javascript
error(s) occurred:
> at line 36 of file "E:\Program
files\Macromedia\Dreamweaver
> 8\Configuration\Commands\_afterSave.htm":
> Exception thrown in native function.
>
> what to do now? any idea
>
> i did not find any solution in google search for this
>
> thanks in advance
> ashok sharma
> -
How to properly handle Exception thrown in a .tag file?
I've got a .jsp file that makes use of some custom tags, each defined in their own .tag file, and located in WEB-INF/tags. I'm having a lot of trouble with the scenario of cleanly dealing with an exception raised by scriptlets in either a .jsp file, and a .tag file. I'm using both Java and Tomcat 6....
Originally, I wanted to use .tag files in order to componentize common elements that were present in .jsp pages, as well as move ugly scriptlets out of .jsp pages, and isolate them in tag files with their associated page elements.
Things started getting hairy when I started exploring what happens when an exception is thrown (bought not handled) in a scriptlet in a .tag file. Basically, my app is a servlet that forwards the user to various .jsp pages based on given request parameters. The forwarding to the relevant .jsp page is done by calls to the following method:
servletContext.getRequestDispatcher("/" + pageName).forward(request, response);
Where 'pageName' is a String with the name of the .jsp I want to go to...
Calls to this method are enclosed in a try block, as it throws both a ServletException, and IOException...
When either my .jsp, or .tag throw an exception in a scriptlet, the exception is wrapped in a JSPException, which is then wrapped in a ServletException.
I can catch this exception in my servlet... but then what? I want to forward to an error page, however, in the catch block, I can't forward in response to this exception, as that results in an IllegalStateException, as the response has already been committed. So what do I do? How do I get from this point, to my "error.jsp" page?
It was suggested to me that I use the <% @ page isErrorPage="true" %> directive in my error.jsp,
and the in my real .jsp, use <%page errorPage="/error.jsp" %>.
This works great when the exception is thrown in my .jsp.... But when the exception is thrown in the .tag file... not so much...
My .jsp page was rendered up until the point where the <my:mytag/> (the tag with the offending raised exception) was encountered. Then, instead of forwarding to the error page when the error in the tag is encountered, the error page is rendered as the CONTENT of of my TAG. The rest of the .jsp is then NEVER rendered. I checked the page source, and there is no markup from the original .jsp that lay below the my tag. So this doesn't work at all. I don't want to render the error page WITHIN the half of the .jsp that did render... Why doesn't it take me away from the .jsp with the offending tag altogether and bring me to the error.jsp?
Then it was suggested to me that I get rid of those page directives, and instead define error handling in the web.xml using the following construct:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error</location>
</error-page>
For this, I created a new servlet called ErrorServlet, and mapped it to /error
Now I could mangle the end of the URL, which causes a 404, and I get redirected to the ErrorServlet. Yay.
However, exceptions being thrown in either a .jsp or .tag still don't direct me to the ErrorServlet. Apparently this error handling mechanism doesn't work for .jsp pages reached via servletContext.getRequestDispatcher("/" + pageName).forward(request, response) ????
So I'm just at a total loss now. I know the short answer is "don't throw exceptions in a .jsp or .tag" but frankly, that seems a pretty weak answer that doesn't really address my problem... I mean, it would really be nice to have some kind of exception handler for runtime exceptions thrown in a scriptlet in .tag file, that allows me to forward to a page with detailed stacktrace output, etc, if anything for debugging purposes during development...
If anyone has a few cents to spare on this, I'd be ever so grateful..
Thanks!!
JeffWhat causes the exception?
What sort of exception are you raising from the tag files?
Have you got an example of a tag file that you can share, and a jsp that invokes it so people can duplicate the issue without thinking too much / spending too much time?
My first instinct would be that the buffer is being flushed, and response committed before your Exception is raised.
What you describe is pretty much standard functionality for Tomcat in such cases. -
How to handle exceptions thrown by event
Hi all,
i have this slight problem, i'm trying to handle accessing a databse from a button click, i'm trying to simulate somebody logging on to a network. the code is as follows;
*@author James Taylor
*@version 30-11-2003
*Logon gui
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class LogonUI extends JFrame {
//instance variables
private JLabel userNameL;
private JPasswordField password;
private JButton logon;
ButtonHandler handler;
Connection con;
Statement stmt;
*Constructor initialises and creates UI, adds functionality to the button.
public LogonUI() throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
super("Employee Logon");
Container c = getContentPane();
c.setLayout(new FlowLayout() );
//handles what happens when user presses the button
handler = new ButtonHandler();
userNameL = new JLabel("Please Enter Password:");
c.add(userNameL);
password = new JPasswordField(15);
c.add(password);
logon = new JButton( "Logon" );
//anonymous inner class that is created once the button is pressed.
//it connects to database to validate user
logon.addActionListener( handler );
c.add(logon);
c.setBackground( Color.pink );
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setSize(250,150);
setVisible(true);
*class that opens connection to validate user
private class ButtonHandler implements ActionListener {
public void actionPerformed(ActionEvent ae)throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
try{
boolean isValidUser = false;
//Load mysql driver
Class.forName("com.mysql.jdbc.Driver").newInstance();
//make a connection
String url = "jdbc:mysql://localhost/flight";
con = DriverManager.getConnection(url)
//Create and instantiate a statement obj
stmt = con.createStatement();
//get a result set
ResultSet rs = stmt.executeQuery("SELECT Password FROM employees");
//Iterate through the result set
while ( rs.next() ){
String savedPassword = rs.getString("Password");
if (password.getText().equals(savedPassword) ){
isValidUser = true;
JOptionPane.showMessageDialog(null,"Yipeeeee");
if (isValidUser == false){
JOptionPane.showMessageDialog(null,"Invalid Password");
stmt.close();
con.close();
}catch(Exception e){ e.printStackTrace();}
public static void main (String[] args) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
LogonUI testAirApp = new LogonUI();
}When the user presses the button the app tries to validate the user.
I have not been able to test the code due to SQL Exceptions thrown in the handler class, and when i try and throw them up from here i get;
LogonUI.java:52: actionPerformed(java.awt.event.ActionEvent) in LogonUI.ButtonHandler cannot implement actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener; overridden method does not throw java.lang.InstantiationExceptionAny ideas on my code and how to handle these exceptions will be very appreciated. Regards, JamesTurn your checked exceptions into unchecked exceptions and retrieve the cause later:
RuntimeException unchecked = new RuntimeException(checked);
Throwable t = unchecked.getCause();Stephen -
How to catch exception thrown from a function module?
Hi all,
When we are calling a function module from JSPDynpage setting some import parameters, If in some case an exception is thrown in the function module. How can we catch the same exception in the JSPDynpage program?
Thanks & Regards,
RaviHi Ravi
Try this
try
Object retMsgs = output.get(bapiretrunmsgobject);
if(result != null )
IrecordSet rmsg = (IrecordSet) result
catch(Exception ex)
printException(ex, "Error getting function result");
Lemme know for any further questions.
Regards
Praveen -
Exception thrown from servlet function
Hi,
I have a servlet "main.java" which connects to a database and displays a table. The table contains a check box in front of each table row. It has three buttons at the bottom "add" modify" "delete". When the user clicks on some check boxes and clicks on "delete" button how can i know in the script delete.java that these are the check boxes that have been checked or selected. I tried to do in the following way
String[] checkedBoxes = new String[100];
checkedBoxes = req.getParameterValues("sel");where sel is the name of the checkboxes
but I am getting the following error:
[21/Aug/2001:10:36:54] failure ( 1118): Internal error: exception thrown from the servlet service function (uri=/servlet/delete.class):java.lang.NullPointerException, Stack: java.lang.NullPointerException
Any help would be appreciated.
ThanksDoes every checkbox have the same name, i.e. "sel".
In this case you're dealing with a checkbox group. Similar to a select-style dropdown or radio button group.
I know I've had problems with dropdowns in Netscape where the select parameter was not being passed at all, so I'd get null values. I got around this by having the form submission re-assign the value from the select list to a hidden variable and then getting the value from the request.getParameter("hiddenFieldName") instead of the "dropdownFieldName".
You could try to name each checkbox individually using an appended ID, such as sel1, sel2, etc. and then have these parameters picked up using a loop construct, request.getParameter("sel" + i) -- you may want to pass some value back that would also indicate how many total checkboxes you had so you could determine how many iterations of the loop to go through.
On the form side, you could probably set the checkboxes up using a similar looping mechanism so that you wouldn't have to explicitly write each checkbox name.
If this is in fact similar to the Netscape issue I was having with dropdowns, I'd be interested to hear if it'll work in IE.
I got a bit off-topic, but hope it helps. -
How webDynpro handles exception thrown by adaptive web service
Hi people,
in design time, webdynpro can handle web service's exception by defining return structure based on the <b>Fault </b>which is the exception defined in the web service. But in the runtime, when web service throws exception, webDynpro can not handle it, WD framework will throw nullPointerException.
The reason behind it might be: let me assume a WS <b>getEmployeeNumber</b>, the WS returns employee number as a element <b><EmployeeNumber></b>12345<b></EmployeeNumber></b> in the return SOAP document. I think WD always expects the element <b><EmployeeNumber></b> in the SOAP document, but in case of exception, web service throws exception and will not provide employee number in the return SOAP which is logical, thus the element <EmployeeNumber> will not be available in the SOAP document, therefore causes WD framework to raise <b>nullPointerException</b>.
So any of you have any suggestion to make webDynpro working in case an exception is thorwn in the web service?
Thanks for your infor
JaysonTo encourage people, I include the text of the xml response from the test of Web Service Navigator window :
HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/6.40
Content-Type: text/xml; charset=UTF-8
Set-Cookie: <value is hidden>
Date: Mon, 27 Mar 2006 09:30:50 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Hi, I'm the new exception</faultstring>
<detail>
<ns1:throwException_com.sap.demo.testexception.TestException xmlns:ns1='urn:TestExceptionServiceWsd/TestExceptionServiceVi' xmlns:pns='urn:com.sap.demo.testexception'>
<pns:message>Hi, I'm the new exception</pns:message>
</ns1:throwException_com.sap.demo.testexception.TestException>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I've found too a strange workaround :
The fact seems that you have to design your session bean without throwing custom exceptions, then generates the VI and after that, adding the custom exceptions throws.
Or if you don't want to modify the bussiness methods.
The point is to eliminate the exceptions (faults) sections from the VI and WS deployment descriptor.
You have to access from Package Explorer, and edit with a Text Editor the following files :
*.videf from the package, and remove <Function.Faults> sections
ws-deployments-descriptor.xml in META-INF, and remove <fault> sections
After that, the WS Configurations will give an error, so delete the configuration and remake it. Now, the VI stills looks bad, so close the project, close NetViewer and reopen it to flush whatever cache it seems to keep.
Now, your VI will looks better without exceptions, and you'll get their messages when you catch them in the WebDynpro applicattion.
So, now the question is: Could anybody explain me why ? -
Adaptive RFC: Handling Exceptions on Remote Enabled Functions
Hi we have a custom function we are calling from java webdynpro...
FUNCTION z_perform_action.
*"*"Local Interface:
*" IMPORTING
*" VALUE(REFNR) TYPE Z08
*" VALUE(ACTION) TYPE Z53
*" VALUE(ADHOCAPPROVER) TYPE Z32 OPTIONAL
*" VALUE(DEVICE) TYPE ZE73 OPTIONAL
*" VALUE(NOTES) TYPE CHAR2048 OPTIONAL
*" EXCEPTIONS
*" USER_NOT_APPROVER
*" INVALID_USER_AS_APPROVER
*" UNABLE_UPDATE_IMAGE_NOTES
For example, If the exception USER_NOT_APPROVER is raised, how do we get the short text of the exception in java webdynpro?
I can successfully get the value "USER_NOT_APPROVER" by doing the following...however cannot get the short text: ( with e.getMessage() )
try
wdContext.currentZ_Ixcp_Perform_Action_InputElement().modelObject().execute();
wdContext.nodeOutputPerformAction().invalidate();
catch (WDDynamicRFCExecuteException e)
wdComponentAPI.getMessageManager().raiseException(e.getMessage(), true);Ferguson,
I think you understood it correctly, but doing it wrongly. Read the below points.
1. Your message is stored in Exceptions Node, not in WDDynamicRFCExecuteException.
2. WDDynamicRFCExecuteException will contain the system level messages, not the USER_NOT_APPROVER messages.
3. You can use Exceptions node, no problem, but not as e.getmessage. Like this. WdContext.CurrentExceptionsNode.getUSER_NOT_APPROVER.
Let me know if you need any help.
Thanks,
Raj. -
Error. ....Exception thrown in native function
Hello, all..
I have a screen capture of the error message I'm getting when
I try to save an htm file I've created for a page. Had a site all
built and when went in to make a quick change to site, the error
started popping up and now I can't save any changes to the page.
I've uninstalled DW and reinstalled but it still persists. There is
much more to the error message and I didn't know what part of it to
key in the Message Title that people would understand my error
message. I posted this message in another group but I think it was
the wrong one. My apologies to all.
Can I send the screen capture to someone and receive
opinions? I am running MX 2004. Can't afford to buy anything new
and I don't do enough web work to invest in more software. I don't
know how to post an image here, so if someone would please tell me
how to get the image to them, I'd be more than glad to send it. I'm
desperate.....I need to get this fixed. Thank you! CarolynYou can upload the image to any webserver and post a link on
this forum.
Incase you don't have access to a webserver, you can
copy-paste the text of
the error message on this forum and hopefully the more
experienced folk will
be able to give helpful advice.
You cannot lose until you give up !!!
"tobiano1" <[email protected]> wrote in
message
news:eqlhsi$mul$[email protected]..
> Hello, all..o
> I have a screen capture of the error message I'm getting
when I try to
> save an
> htm file I've created for a page. Had a site all built
and when went in to
> make
> a quick change to site, the error started popping up and
now I can't save
> any
> changes to the page. I've uninstalled DW and reinstalled
but it still
> persists.
> There is much more to the error message and I didn't
know what part of it
> to
> key in the Message Title that people would understand my
error message. I
> posted this message in another group but I think it was
the wrong one. My
> apologies to all.
>
> Can I send the screen capture to someone and receive
opinions? I am
> running MX
> 2004. Can't afford to buy anything new and I don't do
enough web work to
> invest
> in more software. I don't know how to post an image
here, so if someone
> would
> please tell me how to get the image to them, I'd be more
than glad to send
> it.
> I'm desperate.....I need to get this fixed. Thank you!
Carolyn
>
> -
Client side handling of exceptions thrown by a webservice
I have a webservice that is deployed in Tomcat 5.5 running on Windows XP, Java version is 1.5, using jwsdp 1.5. My client, when run as an applet in a browser (have tried IE 6 and FireFox 1), seems to be unable to parse any exception thrown from the webservice. Instead the following exception is caught by the client:
==========================================================
Checking the security service exception that occurred [Runtime exception; nested exception is:
XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing]
com.irista.security.services.data.SecurityServiceException: Runtime exception; nested exception is:
XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
at com.irista.security.services.webclient.SecurityServiceProxy.removeAuthenticatio nProfile(SecurityServiceProxy.java:1276)
at com.irista.security.ui.applet.AuthenticationProfilesListPanel.deleteAction(Auth enticationProfilesListPanel.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:1 80)
at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:1 51)
at com.irista.ui.webapp.framework.WebAppToolbar$ButtonActionListener.actionPerform ed(WebAppToolbar.java:368)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
==========================================================
If I run the client outside of a browser it catches the exception that is actually thrown by the webservice.
Is there possibly a problem with the java 5 plugin handling exceptions thrown by webservices?
I have not found any bug reports or forumn posts regarding this so any assistance would be greatly appreciated.
thanks,
scottThanks for the reply, here is what the printStackTrace() output:
java.rmi.RemoteException: Runtime exception; nested exception is:
XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
at com.irista.security.services.webservice.SecurityServiceIF_Stub.removeAuthenticationProfile(SecurityServiceIF_Stub.java:1963)
at com.irista.security.services.webclient.SecurityServiceProxy.removeAuthenticationProfile(SecurityServiceProxy.java:1266)
at com.irista.security.ui.applet.AuthenticationProfilesListPanel.deleteAction(AuthenticationProfilesListPanel.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:180)
at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:151)
at com.irista.ui.webapp.framework.WebAppToolbar$ButtonActionListener.actionPerformed(WebAppToolbar.java:368)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:120)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:123)
... 34 more -
ActiveSync With csv ,Exception thrown in log file
I did active Sync with csv with the mapping IDM User target attribute
acountId to email field in the csv
email to email
We are able to get the accounts in to IDM properly but in the log file I see the following exception
com.waveset.util.WavesetException: Unable to diff file because some records do not have a value key: accountId,
the account Id attribute is named as "login" in the csv I tried by changing the 'login' to accountId in the csv file and removed the calready created accounts in IDM,still it says the same Exception in the log and accounts are created.
am I missing anything to be done
Regards
SooriYou can try this simple fix -
Quit DW.
Find this file -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"lotuseducation" <[email protected]> wrote
in message
news:e3a6up$ckl$[email protected]..
> hi
>
> i am facing a strange error in my DW 8,
> the error message is :
>
> while executing onLoad, the following Javascript
error(s) occurred:
> at line 36 of file "E:\Program
files\Macromedia\Dreamweaver
> 8\Configuration\Commands\_afterSave.htm":
> Exception thrown in native function.
>
> what to do now? any idea
>
> i did not find any solution in google search for this
>
> thanks in advance
> ashok sharma
> -
How to add Exception handling in Oracle Business rules Function
Hello,
We use to have good number of business rules in our application. So we need to have some functions in BR Composite.
Can some one let me know how to handle exception in Oracle business rules exception( Regular try catch will not compile)
is there any way please let me know.
Edited by: Network22 on Mar 25, 2013 10:21 AMWhy aren't you using por_custom_pkg.custom_validate_req_line to add extra validations.
Ensure that profile POR: Enable Requisition Line Customization is set to Yes if you were to use po_custom_pkg for Requisition line validations.
OAF calls por_custom_pkg at various points depending upon the values in Profile Options:-
POR: Enable Req Distribution Customization
POR: Enable Req Header Customization
POR: Enable Requisition Line Customization
Thanks,
Anil Passi
Maybe you are looking for
-
Hi, I have a 15" MacBook Pro and today it developed a keyboard malfunction...the keys around the 'w' key (a, s, d, e) also insert a w when pressed with anything but the lightest touch...probably a bit of dirt or something in the keyboard, is there a
-
do not send to that email, I will not be able to verify.
-
ClassCastException while using session bean in OC4J
I am facing the same problem while deploying a stateless session bean in Oracle 9i AS 1.0.2.2.1. The details are given below. The following code snippet is used in the client to prepare for the lookup: Hashtable env = new Hashtable(); env.put(Context
-
JTable column is not displaying in JPanel
I created a JTable with single column like New JTable(celldata, columndata); and added it into JPanel. In this case only table cells are displying but not the column. If I use JScrollPane, table column name does displyed. Any help would be appreciate
-
Dimension Table contents are different after cube copy - why?
To all, I'm doing some work on a cube based on some bad dimensioning in it's original design. We're running BI 3.50 - The original cube is INV_C01 - here is the table contents based upon SAP_INFOCUBE_DESIGNS report - INV_C01 rows: 243,