Exception when trying to create a soap attachment javax.activation. Unsuppo

I am trying to pass an object String [] as a soap attachment.
Reading the docs, if I pass a parameter as type datahandler, it is automatically treated as an Attachment.
I used the constructor DataHandler (Object obj, String mimeType)
where the object was my StringArray, and MIME is the XML representation of
a java type, which according to weblogic docs is NMTOKENS,IDREF or ENTITIES.
It threw the same error for the other two.
Am I using DataHandler correctly, is MIME the SOAP representation of the Java Object in memory.
Thanks for any help
Tony

I am trying to pass an object String [] as a soap attachment.
Reading the docs, if I pass a parameter as type datahandler, it is automatically treated as an Attachment.
I used the constructor DataHandler (Object obj, String mimeType)
where the object was my StringArray, and MIME is the XML representation of
a java type, which according to weblogic docs is NMTOKENS,IDREF or ENTITIES.
It threw the same error for the other two.
Am I using DataHandler correctly, is MIME the SOAP representation of the Java Object in memory.
Thanks for any help
Tony

Similar Messages

  • DataSource CORP_LDAP: Naming exception when trying to create principal

    Using NetWeaver 6.40 SP 15.
    I have configured the UME to use writable LDAP and database. Specifically, for LDAP I'm using the Sun One Directory Server. I'm able to authenticate using one of the LDAP users using a Web Dynpro app.
    When I try to create a user through the NWA web app, I simply get a "Could not create user" error in the application. In the server instance "security.log" I found the following:
    Date : 03/08/2006
    Time : 16:22:59:248
    Message : DataSource CORP_LDAP: Naming exception when trying to create principal ***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Severity : Error
    Category : /System/Security/Usermanagement
    Location : com.sap.security.core.persistence
    Application : sap.com/com.sap.security.core.admin
    Thread : SAPEngine_Application_Thread[impl:3]_22
    Datasource : 1141856104605:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\system\security.log
    Message ID : 000D60DD8A4D00540000001C0000136000040E8333C9FD7C
    Source Name : /System/Security/Usermanagement
    Argument Objs : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Arguments : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Dsr Component : <masked id>_J2E_7234450
    Dsr Transaction : 79521ee0aef011da9168000d60dd8a4d
    Dsr User : Administrator
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : com.sap.security.core.persistence
    Resource Bundlename :
    Session : 200
    Source : /System/Security/Usermanagement
    ThreadObject : SAPEngine_Application_Thread[impl:3]_22
    Transaction :
    User : Administrator
    Where can I find the initial NamingException?

    Hi All,
    Thanks for your replies and SORRY for my late response.
    Now, what I actually want is that though my UME is connected to LDAP i want to the portal admin to be able to create users in the portal DB. I checked my UME configuration and it says
    Microsoft ADS (Deep Hheirarchy) + Database
    and the name of the configuration file is
    dataSourceConfiguration_ads_deep_writeable_db.xml
    Now I could not understand why I am not able to create users in the DB?
    Does the portal has any restriction like at any given point of time only one of the user stores can be active? Doesnt the portal allow both the user stores to be active at a time?
    regards,
    PK

  • Caught Exception when trying to create pool Object

    Hi All,
    When a stateless session bean is looking up the entity bean following 'could not create pool object' exception is throwing.
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5070: Exception creating stateless session bean : [java.lang.reflect.InvocationTargetException]
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5017: Exception while running preinvoke : ejbName = [ConfigSessionBean]
    [14/Jan/2003:09:12:50] SEVERE ( 1048):
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: c
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB:
    java.lang.reflect.InvocationTargetException
    at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(Unknown Source)
    ... 13 more
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    I have also specified the following properties in the sunejbjar.xml for the session bean.
    <ejb>
    <bean-pool>
    <steady-pool-size>2</steady-pool-size>
    <resize-quantity>5</resize-quantity>
    <max-pool-size>200</max-pool-size>
    <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
    </bean-pool>
    </ejb>
    --Muthu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Muthu,
    To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
    Deepak

  • Exception when trying to create pool Object

    I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.
    After the deployment to Sun One I got following exception when I'm using the client:
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO:
    ---------AppClient Container--------
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties
    INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC014: ORB host name: [NOD]
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC013: ORB port number: [3700]
    18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke
    INFO: ACC007: Initiating Login ...
    18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>
    INFO: ACC009: Load Application Class: [CMPClient.SwingClient]
    18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>
    INFO: Application main() finished normally
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at CMPServer._ProductHome_Stub.create(Unknown Source)
    at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)
    at CMPClient.SwingClient.access$100(SwingClient.java:24)
    at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1525)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1582)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
    at java.awt.Container.dispatchEventImpl(Container.java:1568)
    at java.awt.Window.dispatchEventImpl(Window.java:1581)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:33)
    at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:25)
    ... 9 more
    Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)
    ... 15 more
    Any thoughts on why this exception is being thrown?
    Thanks for any help!
    Richard

    this sample has been tested by the SunONE TOOLs QA
    and is working. Please check your deployment descriptors
    and use the cmp samples which come with S1AS to see if your
    descriptors are correct.

  • Exception when trying to create a user

    I am trying to create a unified user profile. I have created my EJB MyEntityPropertyManager,
    modified ejb-jar.xml, weblogic-ejb-jar.xml, application.xml and application-config.xml
    (following the docs and examples). After I have deployed the ejb, I created one
    UUP using EBCC. I sync-ed with the server and then went to admin tools to create
    a user. I am getting the following exception:
    javax.servlet.jsp.JspException: EJB Exception: : Exception[com.bea.p13n.usermgmt.profile.ProfileSystemException:
    The default entity property manager was not found at the ejb-ref java:comp/env/ejb/MyEntityPropertyManager]
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.lookupPropertyManager(ProfileMa
    nagerImpl.java:859)
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyManager(Profil
    eManagerImpl.java:836)
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyManager(Profil
    eManagerImpl.java:816)
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getPropertyNoDefault(ProfileMan
    agerImpl.java:310)
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getProperty(ProfileManagerImpl.
    java:255)
    at com.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl_jvn1jj_EOImpl.getProperty(U
    serProfileManagerImpl_jvn1jj_EOImpl.java:205)
    at com.bea.p13n.usermgmt.profile.internal.ProfileWrapperImpl.getProperty(ProfileWrapperImpl.
    java:102)
    at com.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.getProperty(GetPropertyTag.java:
    147)
    at com.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.doStartTag(GetPropertyTag.java:1
    00)
    at jsp_servlet._tools._usermgmt.__groupuser_property_view_sr._jspService(groupuser_property_
    view_sr.jsp:20)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav
    a:1058)
    Can someone help?
    Thanks in advance.

    Hi Tania,
    I talked to the support engineer who is working on your case and he
    pointed out that you had registered your UUP (MyEntityPropertyManager) as a
    creator in the deployment descriptor for the UserProfileManager. This means
    that a call to UserManager.createUser() will make a call to your UUP's
    createUniqueId() method. However, your implementation of createUniqueId()
    throws UnsupportedOperationException. You should either implement the logic
    you need in createUniqueId() to set up your schema when a user is created or
    do not register your UUP as a creator if you don't want it to be called when
    you create a user (maybe because your schema is already set up or because
    your setProperty methods take care of creation).
    Ture Hoefner
    BEA Systems, Inc.
    www.bea.com
    "Tania" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am trying to create a unified user profile. I have created my EJBMyEntityPropertyManager,
    modified ejb-jar.xml, weblogic-ejb-jar.xml, application.xml andapplication-config.xml
    (following the docs and examples). After I have deployed the ejb, Icreated one
    UUP using EBCC. I sync-ed with the server and then went to admin tools tocreate
    a user. I am getting the following exception:
    javax.servlet.jsp.JspException: EJB Exception: :Exception[com.bea.p13n.usermgmt.profile.ProfileSystemException:
    The default entity property manager was not found at the ejb-refjava:comp/env/ejb/MyEntityPropertyManager]
    atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.lookupPropertyMana
    ger(ProfileMa
    nagerImpl.java:859)
    atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyM
    anager(Profil
    eManagerImpl.java:836)
    atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyM
    anager(Profil
    eManagerImpl.java:816)
    atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getPropertyNoDefau
    lt(ProfileMan
    agerImpl.java:310)
    atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getProperty(Profil
    eManagerImpl.
    java:255)
    atcom.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl_jvn1jj_EOImpl.
    getProperty(U
    serProfileManagerImpl_jvn1jj_EOImpl.java:205)
    atcom.bea.p13n.usermgmt.profile.internal.ProfileWrapperImpl.getProperty(Profil
    eWrapperImpl.
    java:102)
    atcom.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.getProperty(GetProp
    ertyTag.java:
    147)
    atcom.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.doStartTag(GetPrope
    rtyTag.java:1
    00)
    atjsp_servlet._tools._usermgmt.__groupuser_property_view_sr._jspService(groupu
    ser_property_
    view_sr.jsp:20)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.jav
    a:1058)
    Can someone help?
    Thanks in advance.

  • Exception when trying to create standby db through EM

    This is the only error I'm getting.
    Exception
    Index: 3, Size: 3
    Running 10g on windows. Trying to create a standby db on another machine. This error comes up on step 1 of 6.
    thanks.

    this sample has been tested by the SunONE TOOLs QA
    and is working. Please check your deployment descriptors
    and use the cmp samples which come with S1AS to see if your
    descriptors are correct.

  • Iam geting exception when trying to creat sales order using bapi in BSP pro

    hi,
        I am using BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'
    to creat a sales order in BSP program it giving the exception
    An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception Class: CX_SY_DYN_CALL_ILLEGAL_TYPE
    Error Id: 
    Program: CL_O2AXZG4R3LD7CRXUAEKYMRHCDL8CP
    Include: CL_O2AXZG4R3LD7CRXUAEKYMRHCDL8CM007
    Line: 78 
    Long Text
    please help me in solving this  exception

    Hi,
    Are you getting dump?
    I agree with sudhakar. Usually this exception is raised when function is called without proper parameters.
    Please check types of all the parameters you are passing.

  • "Problem Opening Wizard" exception when trying to create new CEP project

    Hi,
    I am using Eclipse 3.5, get this error when I do File -> New Project -> OCEP Application Project. The error details says:
    The selected wizard could not be started.
    Plug-in "com.bea.wlevs.eclipse.tools.ui" was unable to instantiate class "com.bea.wlevs.eclipse.tools.ui.internal.wiz.project.NewOCEPProjectWizard".
    com/bea/wlevs/eclipse/tools/core/internal/Activator
    I was previously able to install the "OCEP Plugins for 3.5" without any problems.
    I noticed that the default eclipse.ini file is pointing to JDK 1.5, whereas the installation pages say we need to use JDK6. I did try tweaking the ini file to point to JDK 6, but got the same error.
    Any ideas?
    Thanks,
    Rahul

    Rahul,
    Please confirm that you have edited the eclipse.ini file according to this:
    http://wiki.eclipse.org/Eclipse.ini
    The formatting is picky, so be sure you got it right. The OCEP plugins definitely won't load correctly unless Eclipse is running on a 1.6 JVM. You can confirm which version of the JVM Eclipse is running on by going to Help > About Eclipse > Installation Details, clicking on the Configuration tab, and looking for this: java.runtime.version
    My suspicion is that you're still not running on a 1.6 JVM.
    If you're sure you are running on a 1.6 JVM and you're still seeing the problem, can you send me the .log file in <workspace-dir>/.metadata/? I'll need to find out more information about what's going wrong.
    Thanks!
    Thomas

  • Exception thrown when trying to create MimeMessage

    Hello,
    I was working on the tutorial for sending SMTP messages using the JavaMail API. I set up the Session using Properties fine, but I begin throwing exceptions when trying to construct a new MimeMessage.
    Properties props = System.getProperties();
    props.put("mail.smtp.host", MAILHOST);
    props.put("mail.transport.protocol", "SMTP" );
    Session session = Session.getInstance(props, null);
    // Exceptions thrown below
    MimeMessage rfc822Msg = new MimeMessage(session);
    The exception error message I receive is:
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: javax/activation/DataSource
    at MailApplet.actionPerformed(MailApplet.java:30)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ton.java:1101)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    :378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    er.java:204)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    at java.awt.Component.processMouseEvent(Component.java:3165)
    at java.awt.Component.processEvent(Component.java, Compiled Code)
    at java.awt.Container.processEvent(Container.java, Compiled Code)
    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2068
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1852)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled
    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
    at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
    at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchTh
    java, Compiled Code)
    at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThre
    va:95)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    If you have any idea what is going on your help will be greatly appreciated.
    I am using the jdk1.2.2 build and the JavaMail1.2 distribution.
    Thanks,
    William Mapp

    Thanks for the help. Sorry I goofed. Now I have a question regarding what addresses you can send mail to. It seems that if I attempt send mail to a server other than the SMPT host I get a javax.mail.SendFailedException: Sending failed. The exception continues by stating that the address was Invalid, Relaying Denied.
    What does this actually mean? Should i be supplying more information?
    Thanks,
    Will

  • Portal runtime error when trying to create new Iviews in EP

    Hi
    Require an Urgent help
    getting portal runtime error when trying to create a new iView in portal. I am unable to create a single iView  in portal.
    It was working before please see this error message
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Component Name : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Error occurs during the rendering of jsp component.
    Exception id: 05:20_12/01/08_0004_17115850
    See the details for the exception ID in the log file
    AM Iworking on NW2004s sp11. I was able to create iViews on this system before
    let me know where to check the log file also. Points will be awarded
    Thank you
    Krishna Kanth
    Edited by: siddi siddi on Jan 13, 2008 12:05 AM

    Krishna Kanth,
    logs can be read from nwa, if you hv the relevant access or get portal admin to pass the defaulttrace file to you. Login to nwa, navigate to Monitoring-Logs and traces and select (either default trace or last 24hrs) to view the logs. hope this helps
    prachi

  • I have an iMac 10.8.2.  When trying to download a photo attachment from an email I received the following : "You can't open application IPhoto because the classic environment is no longer supported."  This occurred on 10/25/12 at about 11PM CST.  The iPho

    I have an iMac 10.8.2.  When trying to download a photo attachment from an email I received the following : "You can't open application IPhoto because the classic environment is no longer supported."  This occurred on 10/25/12 at about 11PM CST.  The iPhoto icon in both the dock and the application folder is grayed out with the no or do not enter symbol.  How can I resolve this so I can access my photos?

    I have two iPhoto icons in applications. One is grayed out and has the no symbol, the date of last modification is Oct 25, 2012 11:07pm.  The size is 110 KB and kind shows Applic…lassie). When I click on with CMD i it shows:
    kind: Application (Classic)
    size: 109,677 bytes (111 KB on disk)
    Where: / Applications
    Created:  Thursday, October 25, 2012 11:07 PM
    Modified: Thursday, October 25, 2012 11:07 PM
    Version:  --
    More info:  --
    Name and extension:  iPhoto.app
    Hide extension is grayed out and checked
    Preview shows a photo I had attempted to save to iPhoto
    The second iPhoto icon is also grayed out, but the symbol is an envelope, the date of last modification is Oct 12, 2012 12:09PM.  The size is 548 KB and kind is shown as an email message.  When I clicked on it with CMD i it shows:
    Kind: Email Message
    Size: 547,665 bytes (549 KB on disk)
    Where:  /Applications
    Created: Friday, October 12, 2012 12:09 PM
    Modified:  Friday, October 12, 2012 12:09 PM
    Version: not listed
    Name & Extension:  iPhoto.eml
    Hide Extension: checked
    Open with:  Mail
    Preview shows a photo I had attempted to save to iPhoto

  • Oracle.jbo.AttrValException: Attribute test in TestEO is required. (When trying to create duplicate Record)

    I am facing an issue when trying to create a Duplicate Record.
    Ist time when I create a record, its created Successfully.
    I have Attribute validations which should not accept duplicate values, So to check that I tried to create the record with same values to display proper warning message.
    After entering all the values (same values which i already entered in 1st record), when I tab out its showing as Red color border for that field, its expecting behaviour so no problem with that...
    Then I click on Submit or Next button, now it's showing pop-up with expected warning message along with unexpected Exception message.
    oracle.jbo.AttrValException: Attribute test in TestEO is required
    The test field is mandatory in EO, VO and .jsff.  Could any body please help me what i missed here.
    My JDEV version: 11.1.17.0
    Regards
    Gowreenath

    Hi Popz,
    Thanks for your reply. 
    I am using fnd:applicationsPanel next button as nextAction="next", so i didn't find immediate property in fnd:applicationPanel. 
    So, I tried 2 things based on your comment.
    1. nextPartialSubmit ="true"... this option is also not worked.
    2. In my Test attribute added immediate="true" this is also not worked.
    If you have any id how to set immediate property or related property in fnd:applicationPanel for nextAction.  Please let me know.
    Thanks
    Gowreenath

  • NotEntitledException when trying to create new potral

    hi all ,
    when trying to create new portal from admin console in weblogic portal it give me this exception "A NotEntitledException occurred trying to create a Portal definition with a title of testportal".
    please any help about this exeption

    Me too.

  • Exception when trying to post to a page

    In NetD we created and submitted a form with JavaScript.
    The form looked something like this
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
    </FORM>
    So now in Jato, we're trying to do the exact same thing,
    except that instead of SPIDERSESSION, we use the three Jato
    variables. Now the form is like this:
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
    <INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
    <INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
    </FORM>
    Notice we're not submitting to a handler, but just to the page itself.
    When we do this, we get an exception:
    [02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
    Error in executing servlet portalServlet:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler
    Exception Stack Trace:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
    st(ApplicationServletBase.java:668)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.processReques
    t(ApplicationServletBase.java:428)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
    ationServletBase.java:296)^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
    at
    com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
    ^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)^M
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
    n Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
    at java.lang.Thread.run(Thread.java:479)^M
    So what are we missing??

    Thanks Kostas, good answer.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, October 02, 2001 4:31 PM
    Subject: RE: [iPlanet-JATO] Exception when trying to post to a page
    Hi Mark
    You are trying to submit to a view bean using java script right ?
    Notice we're not submitting to a handler, but just to the page itself.You are actually submitting the request to your JATO selvlet base, is that
    you intention ?
    The exception is being thrown because there is no request handler found.
    If you are trying invoke a handleBtnXXXmethod then your form action would
    look something like,
    <form method="post" action="../myServlet/pgMyPage?pgMypage.btnMyButton=">
    This adds to the request an appropriate handler as a parameter. Another
    option could be to add a hidden field
    with the same name as your button.
    Attempting to post the form without specifying a request handler will not
    work eg:
    <form method="post" action="../myServlet/pgMyPage">
    This throws a ServletException("The request was not be handled by the
    specified handler")
    because you are doing a post to ViewBean from a form which implies youwant
    to handle some kind web action.
    The way JATO enforces this is to check for the prescence of pageAttributes
    in the request (implemented using hidden fields)
    which you have in your form.
    Kostas
    -----Original Message-----
    From: Mark_Dubinsky@p... [mailto:<a href="/group/SunONE-JATO/post?protectID=174166091163159191130171186101229144026098131198043123114199021239115076086020224">Mark_Dubinsky@p...</a>]
    Sent: Tuesday, October 02, 2001 10:04 PM
    Subject: [iPlanet-JATO] Exception when trying to post to a page
    In NetD we created and submitted a form with JavaScript.
    The form looked something like this
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
    </FORM>
    So now in Jato, we're trying to do the exact same thing,
    except that instead of SPIDERSESSION, we use the three Jato
    variables. Now the form is like this:
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
    <INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
    <INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
    </FORM>
    Notice we're not submitting to a handler, but just to the page itself.
    When we do this, we get an exception:
    [02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
    Error in executing servlet portalServlet:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler
    Exception Stack Trace:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
    st(ApplicationServletBase.java:668)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.processReques
    t(ApplicationServletBase.java:428)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
    ationServletBase.java:296)^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
    at
    com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
    ^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)^M
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
    n Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
    at java.lang.Thread.run(Thread.java:479)^M
    So what are we missing??
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]

  • NI-VISA 5.1.2 exits/closes right after launching it on a Linux CentOS 6.2 PC, also crashes LabVIEW when trying to create VISA ref constant for VISA Open.

    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    system.log.gz ‏621 KB

    MountainMan12 wrote:
    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Hi MountainMan,
    Thanks for attaching the system report log -- I believe I have a solution for you :-) Let's look at a few of the lines:
    890: /proc/meminfo:
    891: MemTotal: 3894712 kB
    1726: /proc/iomem:
    1784: 100000000-12dffffff : System RAM
    1807: /bin/dmesg:
    1820: BIOS-provided physical RAM map: 2576: [nipal] More than 4GB of addressable memory detected.
    1838: BIOS-e820: 0000000100000000 - 000000012e000000 (usable)
    2576: [nipal] More than 4GB of addressable memory detected.
    2577: [nipal] This configuration is not supported. Check the release notes for more information.
    Starting at the bottom at lines 2576..2577, dmesg had more than just the NI-VISA server signing notification. At system boot, the NI kernel modules refused to load because they detected more than 4 GB of addressable memory. But, if you look towards the top at lines 890..891, meminfo says you have less than 4 GB of system memory, which makes it seem like the NI modules don't know what they're talking about. However, if you look at the report from iomem a little further down on lines 1726..1784, system RAM has been re-mapped above the 4 GB boundary. While your system doesn't have more than 4 GB of RAM, some of its memory has addresses above 4 GB, which the NI modules cannot use and so they refuse to load. How did that happen? Your system BIOS provided a physical RAM map with usable addresses above the threshold (line 1838).
    The fix here is simple -- you need to tell the kernel to reserve addresses above 4 GB [1] so that it won't remap the RAM to higher memory. Once all of the RAM has addresses below the 4 GB threshold, the modules should load and VISA/LabVIEW/et al should stop misbehaving.
    It seems to me that LabVIEW is not handling this situation very gracefully, and maybe you can work with Kira to file a bug report.
    [1] Re: Successful SUSE linux and DAQmx install; nilsdev and other utilities missing.
    http://forums.ni.com/t5/Multifunction-DAQ/Successful-SUSE-linux-and-DAQmx-install-nilsdev-and-other/...
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

Maybe you are looking for

  • Advice needed for reinstalling iTunes and restoring my library from backup

    I have some issues with my PC (Windows XP) that are not related to iTunes. But I am about to wipe my machine clean. Here is what I plan to do: 0) Sync iPhone with iTunes 1) De-authorize my computer with iTunes 2) Wipe my hard drive, reinstall XP 3) R

  • Font in flash .swf changes

    Hi, I'm using a Futura font in my flash website. When I open the .swf file to test it out on my computer the font appears as I selected. But on other peoples computers it gets replaced with a Times New Roman font (I'm guessing this is some kinda defa

  • Select count(*) for each row of a table

    Hello All, Following query gives a statistics for each user (how many items he owns, home many tickets authored, how many objects he is subscribed to etc...) select auser.userid, (select count(*) from item where owner like '%' || auser.id || '%') ITE

  • Exit button not functioning in MSS Team - Recruiting - Create new Candidate

    Hello Experts, Exit button not functioning in MSS Team - Recruiting - Create new Candidate Assessment iview Location of exit button :Create new Candidate Assessment iview we have next button when we click on we can see exit button in next iview any i

  • Fpga compile worker error (file not found)

    Hi I try to get started with the FPGA functionality of cRIO and got stuck. This seems to be no issue of the cRIO(9014) but of the Xilinx software together with NI. I am running an English LV 2011 ( many previuos versions installed as well) on  a Germ