EJBTransactionRolledbackException with getCausedByException() null

Hi,
I'm using Jdeveloper11 with ADF/EJB.
On my EJB, I'm throwing a RuntimeException("message").
When the UI (or in fact, even the EJB Interceptor) is catching any exceptions, the only exception there is EJBTransactionRolledbackException with no getCause() or getCausedByException().
They are both null.
So, basically, I'm unable to trap simple errors and display only the messages on the UI later. It's actually displaying the whole exception.getMessage, which is something like:
Exception: ; nested exception is: javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.RuntimeException: "message here"
What I need to do is actually only display the "message here" part on the UI not this whole thing.
Session bean code is below:
@Stateless(name = "FilingService", mappedName = "FilingSystem")
@Interceptors(ServiceInterceptor.class)
@TransactionAttribute(value = TransactionAttributeType.REQUIRED)
public class FilingService implements FilingServiceLocal, FilingServiceRemote
<snip>
public List<FilingEntity> queryFilingFindAll(final int... rowStartIdxAndCount)
List<FilingEntity> list = filingMaintenance.queryEntityFindAll(rowStartIdxAndCount);
Collections.sort(list, new FilingEntitySorter() );
return list;
// service interceptor code:
public class ServiceInterceptor
@AroundInvoke
public Object businessServiceInterceptor(final InvocationContext invocation) throws Exception
Object obj = null;
try
obj = invocation.proceed();
catch (EJBTransactionRolledbackException exc)
System.err.println("got EJB exception" + exc.getMessage());
System.err.println("cause by: " + exc.getCausedByException());
System.err.println("cause: " + exc.getCause());
return obj;
Thanks for any help
Jonny

here is a little.
Some more.

Similar Messages

  • SRM MDM, Error, "Table with Code 'null' does not exist in repository"

    Hi experts,
    We has SRM MDM scenario, while doing OCI settings, we are able to connect with MDM repository but getting follwoing error message in portal, "java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema" 
    Can You please suggest,
    Thanks and Regards,
    Munish

    Hi everyone,
    Sudhanshu and Anshuk:- Thanks for your response, let me try and explain the real scenario in details:-
    We have deployed the SRM-MDM Catalog Search UI in Portal.
    We tried accessing the http://<Portal Host>:<Portal Port>/SRM-MDM/SRM_MDM
    Then we got a screen (Search UI App screen), where in we have provided the MDM Server name, then the MDM Server Password, then presses the Connect button, then below this, it displayed the Repository name created in the MDM. We have selected the Repository, then provided the Credentials of a User (Name: T_CORP) in MDM which has "Catalog Manager", and the "UI Configuration Manager" Roles. Please note that these Role names were created by us in MDM. Is it the right procedure or do we have any standard Roles delivered by SAP in MDM to map? If any standard Roles are available, where we need to check these.
    Once the Credentials of MDM User is provided, and then selected the "Login" button.
    Then we are getting the below error.
    "java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema"
    Please clarify; we are not configuring any values in iViews. Where we need to do this, I mean name of the iView, and what values do we need provide generally? We are just running the Search UI App application; I don't think it is an iView, because the URL shows the Application name details, etc...
    Please guide us, how to fix this Error.
    Thanks and Regards,
    Munish

  • Is their a difference between primary key and unique key with not null valu

    What is the difference in having a column as primary key and having unique key with not null for the column.
    vinodh

    SBH wrote:
    For quick review, below is the link
    http://www.dba-oracle.com/data_warehouse/clustered_index.htm
    You appear to have stumbled on a site that is a mine of disinformation about Oracle.
    >
    It would be helpful, if you explain it too..thnx !!
    The site is wrong and makes up its own terminology as it goes along.
    If the value for clustering factor approaches the number of blocks in the base table, then the index is said to be clustered. http://www.oracle.com/pls/db112/search?remark=quick_search&word=clustered+index
    There is no create clustered index in Oracle.
    - Clustering factor affects the efficiency of an index.
    - There can be clustered tables that you can create indexes on.
    - An Index Organized table is a similar concept to the Microsoft SQL Server clustered index, but it isn't the same thing at all.

  • Difference between PRIMARY KEY and UNIQUE KEY with NOT NULL

    What is the difference between PRIMARY KEY and UNIQUE KEY with NOT NULL constraint?
    Message was edited by:
    Nilesh Hole

    Answer for the master!!!
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8743855576462
    Thanks,
    Karthick

  • System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo),

    Dear All,
    I am getting a below error while doing ehp6 installation on sybase (high availbility )
    can any one help me on this..?
    An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
    Regards,
    Letz..

    Hello Mauricio.
    Thanks
    Two Thinks:
    1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
          A.- Execute sapinst
          B.- Installation option is chosen
                SAP NetWeaver CE Production Edition
                        Installation Options
                            High-Availability System
                                  Central Service  Instance (SCS)
           c.- System ID, Next and appear message error
    2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
    Thanks

  • Problem in summation on a column with possible null values

    Hi,
    I want to do summation on a column.
    If I use <?sum(amount)?>, if there is any null value,its giving NaN as output.
    From the forum I got the below syntax
    <?sum(AMOUNT[number(.)!='NaN'])?>
    but it is also not giving me the expected result. Its always displays 0.
    I want some thing like sum(NVL(amount,0)). Could some body please help me out?
    Thanks in Advance,
    Thiru

    If the column has many, many null values, and you want to use the index to identify the rows with non-null values, this is a good thing, as a B*Tree index will not index the nulls at all, so, even though your table may be very large, with many millions of rows, this index will be small and efficient, cause it will only contain index entries for those rows where the column is not null.
    Hope that helps,
    -Mark

  • How does one create a user with a null password in iManager?

    I'm setting up LDAP authentication and need to create a user with a null password.
    If you do not put a password in the password field when creating the user in iManager, a message pops up stating, No password has been defined for this user.
    You are given a choice of:
    Allow user to log in without a password
    - or -
    Do not allow user to log in without a password
    If you choose Do not allow user to log in without a password, there are no complaints.
    When I look at the properties of the newly-created user, however, I note that the "Require a password" checkbox is not filled in.
    That would imply that the answer to the question posed during the user's creation is moot; either answer produces a user that can log in without a password.
    I can then assign the Common Proxy password policy to the user, which does not dictate a minimum length for a password.
    From that point forward, any attempts to leave the password field blank in iManager results in another pop-up message stating:
    "Failure to enter a password will allow the user to login without a password."
    That implies that no password exists for the user, as opposed to a null password.
    Is that correct or are the public and private key for the user object still generated?

    If you do not specify a password, which is what happens when you select
    the 'Do not allow user to log in without a password' option initially, the
    user cannot login. A user with no password (meaning no password exists at
    all, similar to a 'null' in programming) cannot login with a password
    because, of course, they do not have a password.
    If you specify a zero-length string as the password you are effectively
    (and usually) creating a proxy user, for example to be used for the LDAP
    service in eDirectory, and this user can login typing in a password (since
    typing would imply one or more characters) but nevertheless there IS a
    password, but it happens that it is zero-length, so typing nothing for the
    password IS submitting the correct password. This is the option carried
    out by eDirectory when you choose, 'Allow user to log in without a
    password' (the prompt is a little misleading with its "without a password"
    phrase).
    Once you assign a UP policy you are telling the system that there SHOULD
    be a password on the user (and with common proxy there definitely should
    be, probably a strong one at that) so the only option now is whether or
    not the password is zero-length or longer. Obviously longer is the
    correct option for security reasons.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • Nth_value() function with IGNORE NULLS in oracle 10g

    Is there any easy way to mimic ORACLE 11g nth_value() function with IGNORE NULLS clause in 10g or earlier Oracle release?

    SQL> select  ename,
      2          sal,
      3          nth_value(sal,5) over() fifth_min_sal
      4    from  emp
      5    order by sal
      6  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> select  ename,
      2          sal,
      3          min(case rn when 5 then sal end) over() fifth_min_sal
      4    from  (
      5           select  ename,
      6                   sal,
      7                   row_number() over(order by sal nulls last) rn
      8             from  emp
      9          )
    10    order by sal
    11  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> SY.

  • How to stabilize with 1 null containing pos, rot, scale?

    I've manually tracked my characters face, via a null positioned at the bottom of his nose line, and the bottom of his inner ear line. Attaching my mouth shapes to that track works great and demonstrates that it's a good track.
    Now, I want to redo the eye animation. So, I want to stabilize the animation based on my face tracker. However, I need a two point stabilize track, and I've only got 1 null.. I duplicated the null, stripped its animated properties, repositioned it to the tip of the track null, and parented it to the track null.
    I tried setting up an expression on attach point 2, but it's not working correctly.
    toWorld(thisComp.layer"NULL_Diego_End").transform.position)
    I've also tried toComp, fromComp and fromWorld - none of them change the value of the parented null's position.
    Thanks for your help.
    -Dave

    Nope... My nulls are 2d. No 3d... My problem is: how to read out the world coordinates of a layer that is parented... Right now, all the transforms of the child are zeroed, so the child's positional values are different than it's world value. (ie [0,0] as opposed to [200,310]
    I need more than just linking the y positions... I also have rotational and scale values, and dunno how to calculate for that - I'm a bit flakey on my cos & sin math.....
    I've already finished this current project, I'm just wondering for a solution for next time. Rather than stabilizing the original footage and time remapping the animated eyes, I created my own via shape layers.
    Frequently, I use this 1 null method when tracking a character's face and I'm replacing eyes and lipsync - manually track it with 1 null using pos, rot, and scale. Move the null into 1 stationary position (tip of nose is usually good). Then, find another stationary bit (tip of inside ear is usually good for me as well), and rotate and scale the null, so that it reaches that other point. Then you just need to manually adjust the values as the animation progresses. After that, just parent the new mouths and eyes to track and you're done. It's quick and simple.. But it has it's drawbacks, such as this situation, where I'd like to stabilize the original animation based on only 1 null containing pos, rot, and scale (2d). I've had hit and miss success when using AE tracker for facial features...
    -Dave

  • [svn] 3937: FxContainer fix to make sure partRemoved/ partAdded are never called with a null instance.

    Revision: 3937
    Author: [email protected]
    Date: 2008-10-28 17:37:25 -0700 (Tue, 28 Oct 2008)
    Log Message:
    FxContainer fix to make sure partRemoved/partAdded are never called with a null instance. In this case, in clearSkinParts(), we would call partRemoved() on all parts, whether they were there or not. This was causing a Thermo bug.
    ASDoc fixes for Group, FxContainer, and FxDataContainer. Removing content property from ASDocs...this is not the recommended way to add items/remove items to Group/FxContainer. You should use the addItem/removeItem APIs. This is consistent with Flash Player and Halo. Under the hood someone can still set the content array, but it's discouraged because you could set two Groups to the same content array, which is hard to detect. Also, made currentContentGroup in FxContainer mx_internal...this is an implementation detail for us and something we may change later on. I also added some other ASDoc cleanups and fixes.
    QE Notes: Ran checkintests and Mustella tests for gumbo/core/ and gumbo/components/FxDataContainer. Joann is updatating the one test that failed. WHen verifying SDK-17750, please also verify Thermo bug SDK-17800.
    Doc Notes: This change includes ASDoc changes
    Bugs: SDK-17750, SDK-17741, SDK-17756
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17800
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17741
    http://bugs.adobe.com/jira/browse/SDK-17756
    Modified Paths:
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxDataContainer .as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/FxC omponent.as

    Revision: 3937
    Author: [email protected]
    Date: 2008-10-28 17:37:25 -0700 (Tue, 28 Oct 2008)
    Log Message:
    FxContainer fix to make sure partRemoved/partAdded are never called with a null instance. In this case, in clearSkinParts(), we would call partRemoved() on all parts, whether they were there or not. This was causing a Thermo bug.
    ASDoc fixes for Group, FxContainer, and FxDataContainer. Removing content property from ASDocs...this is not the recommended way to add items/remove items to Group/FxContainer. You should use the addItem/removeItem APIs. This is consistent with Flash Player and Halo. Under the hood someone can still set the content array, but it's discouraged because you could set two Groups to the same content array, which is hard to detect. Also, made currentContentGroup in FxContainer mx_internal...this is an implementation detail for us and something we may change later on. I also added some other ASDoc cleanups and fixes.
    QE Notes: Ran checkintests and Mustella tests for gumbo/core/ and gumbo/components/FxDataContainer. Joann is updatating the one test that failed. WHen verifying SDK-17750, please also verify Thermo bug SDK-17800.
    Doc Notes: This change includes ASDoc changes
    Bugs: SDK-17750, SDK-17741, SDK-17756
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17800
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17741
    http://bugs.adobe.com/jira/browse/SDK-17756
    Modified Paths:
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxDataContainer .as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/FxC omponent.as

  • VO trying to load an EO with FK null

    I have a View Object that is made up of Entity Objects. Some of the foreign keys on the root EO can be null, so I have outer joins for those foreign keys.
    The VO returns data on queries just fine, but when I call refresh(int) on a row of the VO, it gives me an oracle.jbo.RowAlreadyDeletedException and tells me it can't find the entity row with key=null in the EO. Apparently, it is trying to load a nonexistant EO, ignoring the fact that the foreign key on the root EO row is null.
    One thing I noticed, which may or may not have something to do with this, is that after the VO's SELECT is performed, I get lots of these messages:
    EntityCache:add WARNING - ignoring row with no primary key
    Could this be the Entity Object that it tries to load?
    Hariolf

    Well, I don't get an exception, my app is running "fine". As you wrote, it is a response time issue... if I run my app with debug enabled, the related forms needs about 10 minutes (!) to start, because JDev writes about 15000 lines of debug messages. If I disable debug output, then the forms needs "only" 10 seconds to open. I tracked these 10 seconds with the following result: 5 seconds are database query and business logic. The remaining 5 seconds are "nothing", this time is taken by the bc4j framework for some internal stuff, I think.
    My question is: how can I prevent this behaviour? It doesn't seem to be a "real" bug, as you saied, but it's quite time consuming...

  • XMLStreamReaderBase tries to create a QName with a null namespace prefix

    Given the following xml:
    <foo>
    <bar type="value"/>
    </foo>
    Calling getAttributeName(index) while on the 'bar' element will cause an IllegalArgumentException as XMLStreamReaderBase tries to create a javax.xml.namespace.QName with a null prefix instead of using XMLConstants.DEFAULT_NS_PREFIX
    java.lang.IllegalArgumentException: prefix cannot be "null" when creating a QName
    at javax.xml.namespace.QName.<init>(QName.java:170)
    at weblogic.xml.stax.XMLStreamReaderBase.getAttributeName(XMLStreamReaderBase.java:339)

    Hi, were you able to solve this issue? I am also facing the same!
    Deepak

  • Problem with fireTableChanged(null)

    HI,
    I'm developing a little calendar.
    My calender is a week calender and shows data from a database.
    Every week the data are different.
    I want the calendar to skip to another week when I press a button.
    All the application works well. The problem is the refresh.
    When I push the button, the new table model is rebuilt correctly (I print the correct informations on the console) , but the view of the JTable stays on the old week.
    Only if I click on another window of my appl and then return on the calendar the view is updated.
    I think there is a problem with fireTableChanged(null) but I don't have well understood how it works.
    Can anybody help me?
    Thanks

    here is a little.
    Some more.

  • What does this Adobe Muse error message mean: MuseJSAssert: Error calling slector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with orign "null" from accessing a cross-origin frame.

    So what is up with this error message in Muse?
    MuseJSAssert: Error calling slector function:SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with orign “null” from accessing a cross-origin frame.

    This is a genuine security error generated by the browser when viewing a page with iFrame content locally.
    Please refer to Zak's reply in the following thread: https://forums.adobe.com/message/6496180#6496180
    Cheers,
    Vikas

  • Generation aborted with error null (java.lang.OutOfMemoryError)

    Hi
    I have model DC  and this DC is giving me error Generation aborted with error null (java.lang.OutOfMemoryError)
    I encounter the error as soon as I open project/DC in navigator.
    Error goes away as soon as I build my DC but reappears if I close and open my DC again.
    Any idea, how to deal with this?
    Regards
    Vineet

    Hi,
    can you please switch on the PDE Error Log View (window -- show view -- other -- PDE) and after error reproduction provide the relevant error here? Check also the ".log" file in the ".metadata" folder of your NWDS workspace.
    Further, please tell the version of your NWDS (help -- about).
    Does this error occur only if you expand the model node? Are other colleagues facing this issue, or reproducible on your end?
    Did you alter the file in your eclipse folder (on 700 this is vm.parameters, as of 7.1 it is SapNetweaverDeveloperStudio.ini) ?
    Thank you!
    Regards,
    Ervin

Maybe you are looking for

  • Enhance 0MATERIAL with Profit Centre

    Hi guys,     Suppose that I have Characteristic ZMAT which gets data from 0MATERIAL_ATTR.    However, now I need to enhance ZMAT to populate Profit Centre which resides in MARC TABLE(Not carried by data source 0MATERIAL_ATTR). Also to note that MARC

  • Java program to receive byte from serial port

    hello everyone, i am recently working one a project which require communication between pic16f877 and PC. My pic continuiously measure a voltage and send the result (a byte ranging from 0 to 255) to the rs232 port. One the pc side, my java program ke

  • Multi tasking with Front Row

    Is there any way to use the Mac for other tasks while Front Row is running? Ideally I'd run Spaces on the Mac and limit Front Row to a single Space and then be able to switch to another Space to use the mac for something else. This is not a CPU speed

  • IFS and security based on custom attributes??

    Is it possible to control the access to documents stored in iFS by cross checking the user's permissions and custom attributes values of files stored in iFS??. Thanks Sankar

  • Computer crashed forcing me to reformat which cost me my files.

    So due to a deadly virus that my computer contracted, I ended up having to completely reformat my computer. I was no longer able to start it up so I had no way to get in there and save any of my files. My iTunes library and my backups were included i