Issue with self reference on ManyToOne relationship

Hi,
I have a scenario where one of the columns on a table refers to the ID of the same table for a @ManyToOne relationship. Here is an example class below to better explain the situation:
@Entity
@Table(name = "DEPARTMENT")
public class Department implements java.io.Serializable
@Id
private int ID;
@ManyToOne(targetEntity = Department.class, fetch = FetchType.EAGER)
@JoinColumn(name = "PARENT_ID")
private Department parent;
@OneToMany(mappedBy = "parent", targetEntity = Department.class, fetch = FetchType.LAZY)
private Set<Category> children = new HashSet<Category>(0);
Here if you notice the parent is the ID of another Department. When I use this during a create it seems to be trying to update the ID of an existing Department record, which is causing an exception as follows:
SEVERE: Error processing request from 127.0.0.1 for <anon>: javax.persistence.RollbackException: Exception [TOPLINK-7251] (Oracle TopLink Essentials - 2.0 (Build b41d-beta2 (04/24/2007))): oracle.toplink.essentials.exceptions.ValidationException
Exception Description: The attribute [ID] of class [Department] is mapped to a primary key column in the database. Updates are not allowed.
Any thoughts on what I might be doing wrong. Appreciate your help.
Thanks,
Sharanya

Thanks for the help.
It turns out the problem was related to executing a SELECT query on the entities prior to committing the transaction. Essentially, there were entities which were being created and persisted (but not committed), and these records were being retrieved via a SELECT query. At the point the query was executed, an attempt was made to flush, and since the record hadn’t been updated in the persistence context, TopLink saw the SELECT query execution as an update and thus threw the exception.
/* simplified for brevity */
@Entity
class Record {
    @Id
    @GeneratedValue(…)
    private Integer id;
    @ManyToOne(…)
    private Record parent;
    @OneToMany(…)
    private Collection<Record> children;
class RecordService {
    void addRecords(Record records…) {
        for (Record record : records) {
            addRecord(record);
    void addRecord(Record record) {
        // Execute a SELECT to get related record(s).
        // Update the record(s).
        em.persist(record);
To resolve this, I simply persist the records before executing the SELECT query, and then after the records are updated, execute a merge:
    void addRecord(Record record) {
        em.persist(record);
        // Execute a SELECT query to get related record(s).
        // Update the record(s).
        em.merge(record);
I'm not completely clear as to what point TopLink thought that the ID had been updated (it could be related to the previous post?), but this resolution seems to be working.

Similar Messages

  • Synching Issues with Self-Paced Learning and Embedded Flash Files

    Hi Everyone,
    I'm having some issues with my files not properly synching or displaying when Self-Paced Learning is active.
    Here is my set-up:
    Captivate 5
    5 separate Captivate files combined using the Aggregator
    Each Captivate file is about 15 slides
    Each slide contains an audio file (for closed-captioning) and a single SWF file - the content is all created with Flash and then inserted into Captivate using Insert > Animation
    Each SWF file is back 1/10 of a second from the beginning of the Cap timeline (otherwise there are rewind issues when the user selects the slide they are currently viewing from the ToC)
    Each embedded SWF has the beginning and ending fade built into it; Captivate is not doing any fading
    Synch to Project is selected for each embedded SWF (although it doesn't seem to work all the time)
    Self-Paced Learning is active, as well as, Enable Navigation
    It is not being loaded to an LMS or using any built-in Captivate quiz features.  These are instead custom built AS3 Flash files that are embedded.
    Windows 7, 4GB RAM, 1GB Video Card, High-end Processor, etc... a beast.
    The Issue:
    When the user opens the course, views it for a while and then closes it and returns it will display the first slide of the course for a moment before jumping to the bookmarked slide.  This slight timing misstep causes the bookmarked slide to get out of synch.  It will sometimes not display the bookmarked slide at all or it will cut-off a small bit from the end of the slide (even with Synch to Project active).  It sometimes works fine but randomly will break.  The course is set to 100% preload and nothing is being loaded from an external location.  It seems to work fine until Self-Paced Learning is activated.
    I don't think this is a common development approach for Captivate but it has been very successful with some clients.  Has anyone encounted similar issues or does anyone have some suggestions that might resolve this problem?
    Thanks!
    Greg

    It's been mentioned many times on this forum that nesting Captivate SWFs inside other Captivate SWFs gives rise to all kinds of strange issues.  Captivate was not designed to work this way. If you choose to do it, and you encounter issues (as you have done) there's usually NOT a lot you can do.  There are just too many ways the SWFs can get into bun fights over which one does what.
    I suggest you rethink your approach to avoid nesting.

  • Issue with self paced online training.

    I am have an issue with the Self Paced Online Training classes.  It is telling me that progress can't be saved.  If you have having this issue please let me know.  If you have solved this problem can you tell me what you did to fix it.
    Thanks for your time.

    I remember using it with Chrome and it worked but there was some goofyness with the interface.  I think after each module I needed to exit, go back to the main menu for module selection and refresh, then pick the next one.  I couldn't just go to the next module.  But it definitely saved progress.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Anyone having issues with Self-Signed SSL-certs on mail servers?

    Can't get it to allow connecting via SSL to outgoing mail servers with self-signed certificates. Problem did not exist in earlier versions of OSX as far as I know.

    YES. I have a cert from lunarpages, where my accounts are hosted. I'm seeing two issues, and they are different for the different servers at lunarpages:
    1. Multiple logins from different machines --> problem
    2. Multiple accounts accessing same server --> problem
    So, with 1 account on one of lunarpages machines, I can have several machines running Mail with ssl on at the same time and get no problem (that is, once I've saved the certificate and marked it trusted). But as soon as another account (my wife's email on the same domain, for example) tries to access the same server, it gives me an ssl error, a choice to save that cert. and if I do then my account will generate the ssl error. Seems like only one account can have the certificate.
    On another account on a different lunarpages machine, I can't have several machines running Mail at the same time, only the first will get through and the rest will give an SSL error.
    Lunarpages says they can't find a problem, though my last email with them told me to use TLS rather than SSL. Of course, there's no way to specify that in Mail anyway, but I'd thought Mail automatically used TLS anyway, and I'm running the right ports (587 for smtp, 993 for incoming).
    Feels like it's an issue with Mail or the OS's handling of certificates. Any clues on a fix will be most appreciated as this is getting annoying. I've had to turn off SSL on my wife's and daughter's accounts just so that I can use it. And I have to quit Mail so that on the other account I can get my mail on my iPhone. Having to quit Mail on my main work machine is frustrating -- if I forget to do it I can't get mail.

  • Issue with self-signed Extensions

    I am packaging my extension with self signed cert that is created with the ZXPSignCmd executable.
    It functions correctly and the -verify command confirms the ZXP is good to go.
    When a user install the extension, however, it only functions once the first time they open Illustrator after installing it. Every time after that, when Illustrator is opened, the panel is completely blank.
    This issue can be resolved by enabling PlayerDebugMode on the end-user's .plist file (as outlined for developers in the blog) but obviously this is something I do not want the end user doing. Does anyone have insight as to why the extension panel only loads once, and then breaks? Enabling PlayerDebugMode addresses the issue, but I can't figure out why. I assume is has something to do with the the way it is signed, but I would like confirmation/clarification if anyone knows what is going on.

    Ok, I've validated my html and I'm getting a few errors related to Angular. They're all one of two types of errors
    Error 1:
    <div ng-controller="ExampleController">
    Gets the following error:
    Attribute ng-controller not allowed on element div at this point.
    Error 2:
    <my-directive></my-directive>
    Gets the following error:
    Element my-directive not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
    Error 1 is for any Angular related thing...ng-click, ng-controller, ng-show, etc.
    Error 2 appears where all my custom directives are.
    I did a comparison between the not-working extension and a working one that also uses Angular (without any custom elements). When I validated the working extension, it returned a bunch of Error 1's but no Error 2's (this is expected, seeing as there are no custom elements).
    To your question about dynamic HTML - there is none. All of the files are static after they're installed. I double checked this by running a diff-merge between the extension before and after it has been run once. They are exactly the same, so no files are changing.
    There are known issues with custom directives in older browsers like IE8 - http://www.befundoo.com/blog/angularjs-directives-in-ie8/
    Out of curiosity, I tried adding elements in the head, as described in the above blog, inside my extension. This did not have any effect, and the extension still fails.
    I'm considering rewriting my directives as attributes instead of elements, and seeing if that does it. That would take some time though, so if the above info helps narrow down the problem or raises other questions of yours, I'm all ears! Thanks again for all the replies!

  • Issue with self signed certificates on jetdirect J7949E

    I'm having a baffling issue with certificates generated internally for use with some HP printers. I can create certificates and install them on J8003E model jetdirect cards and they work fine. When I try to install certs on any of the J7949E cards they fail with an invalid file message. This applies to the root cert as well.
    I'm using the Microsoft cert. authority to generate the files.
    The printers with the problematic jet direct cards are 4700 Color laserjets and the working models are 4015x monochrome laser printers. Has anyone had this problem and what was done to resolve it? I'm running the latest version of the firmware on the jetdirect cards but the problem existed with older versions as well.

    Ok, I've validated my html and I'm getting a few errors related to Angular. They're all one of two types of errors
    Error 1:
    <div ng-controller="ExampleController">
    Gets the following error:
    Attribute ng-controller not allowed on element div at this point.
    Error 2:
    <my-directive></my-directive>
    Gets the following error:
    Element my-directive not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
    Error 1 is for any Angular related thing...ng-click, ng-controller, ng-show, etc.
    Error 2 appears where all my custom directives are.
    I did a comparison between the not-working extension and a working one that also uses Angular (without any custom elements). When I validated the working extension, it returned a bunch of Error 1's but no Error 2's (this is expected, seeing as there are no custom elements).
    To your question about dynamic HTML - there is none. All of the files are static after they're installed. I double checked this by running a diff-merge between the extension before and after it has been run once. They are exactly the same, so no files are changing.
    There are known issues with custom directives in older browsers like IE8 - http://www.befundoo.com/blog/angularjs-directives-in-ie8/
    Out of curiosity, I tried adding elements in the head, as described in the above blog, inside my extension. This did not have any effect, and the extension still fails.
    I'm considering rewriting my directives as attributes instead of elements, and seeing if that does it. That would take some time though, so if the above info helps narrow down the problem or raises other questions of yours, I'm all ears! Thanks again for all the replies!

  • MBAM 2.5 Issue with Self Service Portal

    I have recently set up an MBAM 2.5 server to test with for a potential roll out of encryption to all laptops in our enterprise.  All seems well.  I have tested the recovery using the Drive Recovery option on the HelpDesk page and that works just
    fine.  I enter in the first 8 characters of the recovery key from the laptop and get back the 48 digit code.  I enter in the 48 digit code and I am in.
    The problem arises when I attempt using the SelfService Recovery option.  Once I put in the 8 characters in the Recovery Key ID box, select a reason and hit the Get Key button, it gives me a response of Invalid Key ID.  
    These are all laptops that I have already logged into with my account and it is the same account that I am using in the Self Service Portal.
    I had another user attempt it from his laptop with the same results.
    Any help would be appreciated.
    Thanks,
    Patrick

    - I've verified that the user attempting to get the Recovery Key ID from SSP has logged into the machine before (and the database confirms that).
    - Had another user from the device try the SSP - same issue. 
    - Verified that the Recovery Key ID can be used and get a Recovery Key from the HelpDesk portal - works. 
    - Pulled logs from the client and the server - no errors related to issuing recovery keys. 
    - The Recovery Audit Report shows that the two users (myself and the actual owner of the laptop) show "Failed" on the attempt, but the HelpDesk recoveries work (depicted). 
    Do the user's have to be in a specific group or anything to be able to get recovery keys from SSP? 
    What's even more weird is that my company is using MDOP MBAM as well and this is not a problem - Self Service works like a charm. This feels like there's some kind of permissions issue - especially since I was able to verify with a custom query that my user
    account was assigned to this machine and that I should be allowed to do this.
    Michael B Courville

  • Issue with path reference in apex.min.css file using Theme 25

    Hi all.
    I upgraded recently to Apex 4.2.1.00.08 and my existing applications had been working fine. I then thought I'd changed the theme to Theme 25 as it was a new one available to me. This was fine and the application works well however I wanted to test a change to the css so I copied the apex.min.css file and renamed it as apex.min_copy.css. I made my small change, which was just a change to the background colour of the table in apexir.WORKSHEET. I then uploaded this through the shared components and referenced it in my header using
    #WORKSPACE_IMAGES#apex.min_copy.cssI also commented out the referenced to #APEX_CSS# in the header so it would use my uploaded copy and not be overridden.
    When I then ran the application again, it prompted me for the xdb username and password. I tracked this down to lines in the css file where the relative path to an image in the file was like ../ws/image_name
    For example:
      background-image : url(../ws/report_bg.gif);I took these lines out, uploaded again and it was fine and my change was visible, meaning that the #WORKSPACE_IMAGES#apex.min_copy.css was being read correctly. I can also browse the location of these files on the xdb database using a browser connected a system and I can see the files where i expect them to be.What I cannot understand is how other references to images in this css file such as
    background : url(../apex/builder/dev-bar.png) 0 0 repeat-x transparent;
    background-image : url(../htmldb/builder/builder_find_bg.png);do not cause an issue but the one mentioned earlier(/ws) does
    I hope someone has an idea .
    Thanks,
    Colm Dickson

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • FCP 7 issue with exporting reference movie?

    I've used FCP 6 to export reference movies -- no problem.  Now, using FCP 7.0.3 , I can't seem to export a reference movie period.  On old projects, where I've done reference movies, no luck.  On newer ones created in FCP 7, I render everything -- I mean everything, no luck.  The 'not self-contained box' is unchecked.  I even tried making a brand new project, importing a 10 second clip requiring no rendering.  FCP still won't  export a reference movie; it keeps making a regular movie clip.  I really need this function to make DVDs.  Any suggestions as to what I'm doing wrong?

    First, let me correct myself regarding the QT reference movie.  My movies show a poster frame rather than a preview as I mentioned in my previous post.
    It's important that all of the items from the Sequence menu are checked.

  • Fwd.Eng issue with self-relation and subtypes.

    This issue can be a bug as well. I'm not sure what to expect from FE when acting in this case:
    - a logical model
    - 1 entity
    - 1 subtype.
    - a self-relation, 1-1, optional-optional. Models the concept of "revision of"
    - FE
    - download the model here: [http://www.filesavr.com/HEZ551R6P4HUZXB|http://www.filesavr.com/HEZ551R6P4HUZXB]
    what went wrong
    - the relation has given birth to 2 FK.
    - both a self-FK,
    - both insisting on same column.
    what should happen.
    - I dunno what's right in this context. In my mind, and optional-optional 1-1 => 1 FK.
    - Arises only in presence of subtypes, even if subtypes aren't involved in relations.
    Consideration.
    If one of the ends on the relations is changed to non-optional, the issue disappear.
    The box "dominat role" can be used, due to subtyping. It makes the issue disappear. NB: the combo box list is a little weird.
    Edited by: T. on May 27, 2011 5:19 AM
    Edited by: T. on Jun 1, 2011 12:28 AM

    Here is the odd listing under DominantRole [http://postimage.org/image/2e8qxtls4/]

  • Issue with Self Signed Certificate Web Sites

    I tried searching, but wasn't really getting the answer or help I needed so I figured I would just start a new topic. At my work we have a test server that we use for development and we have a couple of Web Services on there that use Self Signed Certificates. At work, I have a PC (Windows 7) and a Mac Mini (OS X) both of which can connect to the Web Services just fine. But at home, I can't access any of the Web Services at all, my browsers and Xcode keep timing out. I know the Web Service is public, I've accessed it before from other machines outside of work it's just at home I can't. I have an iMac at home, with a linksys router and I don't know if it's a setting on my home computer or network that could be causing it but I don't even get the message in Safari, Chrome or Firefox that the site has a self signed or bad certificate so I know something isn't letting me communicate. Any help would be great (all of the answers I have found suggested to purchase a certificate, which in this case isn't appropriate since they are used for Development until we feel they are ready for production in which case we purchase the certificate). Thanks.

    new information:
    I tried an other lumia800, the https page worked.
    The difference of the two phone was only the language
    My phone language was english (US), the other was hungarian.
    After that, I switched my phone language settings to hungarian, and tada... the self signed https page worked.
    I switched back to english(US) and stopped working.
    than I tried english(GB) and worked again.
    I did not try other languages, but it looks, if I use english-US language, I cannot see any invalid certificated page
    In other language settings, there is no problem.

  • Eclipselink log levels issue with weak references

    Hi all,
    Is it possible to get null pointer exceptions if the log level in eclipselink is set to FINEST and you are logging a weak reference probably in a IdentityWeakReferenceMap and getting a null pointer exception because the weak ref has been garbage collected ?
    -Prashanth.

    I am getting Nullpointer exception when I set log level to FINER or FINEST in persistence.xml.
    DisRootEntityRef entity which is seen in below log has week reference in erml.
    Here is the exception full trace:
    EL Warning: 2010-05-31 17:06:52.328--UnitOfWork(19025200)--Thread(Thread[)--java.lang.NullPointerException
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getRootEntity(DisRootEntityRefDAO.java:300)
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getToString(DisRootEntityRefDAO.java:591)
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.toString(DisRootEntityRefDAO.java:584)
    at java.text.MessageFormat.subformat(MessageFormat.java:1246)
    at java.text.MessageFormat.format(MessageFormat.java:836)
    at java.text.Format.format(Format.java:140)
    at java.text.MessageFormat.format(MessageFormat.java:812)
    at org.eclipse.persistence.internal.localization.EclipseLinkLocalization.buildMessage(EclipseLinkLocalization.java:77)
    at org.eclipse.persistence.internal.localization.TraceLocalization.buildMessage(TraceLocalization.java:30)
    at org.eclipse.persistence.logging.AbstractSessionLog.formatMessage(AbstractSessionLog.java:801)
    at org.eclipse.persistence.platform.server.ServerLog.log(ServerLog.java:71)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:2571)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3664)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3636)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3612)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3534)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.logDebugMessage(UnitOfWorkImpl.java:5397)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3874)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3844)
    at org.eclipse.persistence.queries.ObjectBuildingQuery.registerIndividualResult(ObjectBuildingQuery.java:362)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:588)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:549)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:489)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:441)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
    at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
    at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
    at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:670)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
    at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2858)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
    at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:85)
    at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:75)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:161)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:230)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at org.eclipse.persistence.indirection.IndirectList.buildDelegate(IndirectList.java:237)
    at org.eclipse.persistence.indirection.IndirectList.getDelegate(IndirectList.java:397)
    at org.eclipse.persistence.indirection.IndirectList$1.(IndirectList.java:525)
    at org.eclipse.persistence.indirection.IndirectList.listIterator(IndirectList.java:524)
    at org.eclipse.persistence.indirection.IndirectList.iterator(IndirectList.java:488)
    at oracle.communications.platform.persistence.impl.PomsArrayList.iterator(PomsArrayList.java:598)
    at oracle.communications.platform.entity.impl.DisResultGroupDAO.getRootEntities(DisResultGroupDAO.java:765)
    at oracle.communications.integrity.scanCartridges.sdk.RootEntityLoaderImpl.(RootEntityLoaderImpl.java:37)
    at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.init(BaseDiscrepancyDetectionController.java:71)
    at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.invoke(BaseDiscrepancyDetectionController.java:41)
    at oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean.onMessage(CiscoDiscrepancyDetectionSampleMessageDrivenBean.java:109)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy343.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean
    java.lang.NullPointerException
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getRootEntity(DisRootEntityRefDAO.java:300)
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getToString(DisRootEntityRefDAO.java:591)
    at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.toString(DisRootEntityRefDAO.java:584)
    at java.text.MessageFormat.subformat(MessageFormat.java:1246)
    at java.text.MessageFormat.format(MessageFormat.java:836)
    at java.text.Format.format(Format.java:140)
    at java.text.MessageFormat.format(MessageFormat.java:812)
    at org.eclipse.persistence.internal.localization.EclipseLinkLocalization.buildMessage(EclipseLinkLocalization.java:77)
    at org.eclipse.persistence.internal.localization.TraceLocalization.buildMessage(TraceLocalization.java:30)
    at org.eclipse.persistence.logging.AbstractSessionLog.formatMessage(AbstractSessionLog.java:801)
    at org.eclipse.persistence.platform.server.ServerLog.log(ServerLog.java:71)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:2571)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3664)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3636)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3612)
    at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3534)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.logDebugMessage(UnitOfWorkImpl.java:5397)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3874)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3844)
    at org.eclipse.persistence.queries.ObjectBuildingQuery.registerIndividualResult(ObjectBuildingQuery.java:362)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:588)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:549)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:489)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:441)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
    at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
    at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
    at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:670)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
    at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2858)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
    at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:85)
    at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:75)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:161)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:230)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at org.eclipse.persistence.indirection.IndirectList.buildDelegate(IndirectList.java:237)
    at org.eclipse.persistence.indirection.IndirectList.getDelegate(IndirectList.java:397)
    at org.eclipse.persistence.indirection.IndirectList$1.(IndirectList.java:525)
    at org.eclipse.persistence.indirection.IndirectList.listIterator(IndirectList.java:524)
    at org.eclipse.persistence.indirection.IndirectList.iterator(IndirectList.java:488)
    at oracle.communications.platform.persistence.impl.PomsArrayList.iterator(PomsArrayList.java:598)
    at oracle.communications.platform.entity.impl.DisResultGroupDAO.getRootEntities(DisResultGroupDAO.java:765)
    at oracle.communications.integrity.scanCartridges.sdk.RootEntityLoaderImpl.(RootEntityLoaderImpl.java:37)
    at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.init(BaseDiscrepancyDetectionController.java:71)
    at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.invoke(BaseDiscrepancyDetectionController.java:41)
    at oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean.onMessage(CiscoDiscrepancyDetectionSampleMessageDrivenBean.java:109)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy343.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • FEBA posting-  issue with transaction reference field

    Hello Friends ,
    we have an issue while performing FEBAposting , One fo the user exist is using thefield -  VWEZW(Note to  Payee ) from the table FEBRE . This has a data issue as  a result of which we are getting a DUMP .
    I suppose  there is a standard transaction to modify the entries.
    please advice if you are aware.
    thanks
    Raghu V

    Hi Ryan,
    Please check if you are getting any error like below in the logs.
    "statement is closed at the index 501 Transaction ID"
    If yes, then this issue was fixed in SP08. Please check the SAP note: 1168183.
    Regards,
    Shweta,

  • Sizing issue with self webcamsubscriber

    i'm stumped, this could be simply a flex container behavior that i'm not understanding, but i can't see why this is happening.  i have a WebcamSubscriber displaying my own webcam.  it's "selfWebcamSubscriber" as seen below. when i log into LCCS directly, the WebcamSubscriber properly stretches to fill the entire width and height of its container.
    however, when i log in using external authentication first, the WebcamSubscriber seems to have an aspect ratio forced on it, looks like a 2/3rds ratio.  it does not stretch to fit the width and height of the container.  for example, if the width/height of the container of WebcamSubscriber is 200px/200px, the height of WebcamSubscriber gets forced to 120px.  
    i'm very confused as to why this is happening only when i do external auth.  is there a maintainAspectRatio flag somewhere? or am i using containers improperly?  an obscure question i know, but i'm totally stumped on this one. 
    <rtc:ConnectSessionContainer id="connectSessionContainer" autoLogin="false" width="100%" height="100%">
    <s:VGroup width="100%" height="100%">
    <s:HGroup id="webcamsHGroup" width="100%" height="70%">
    <view:WebcamsView id="webcamsView" width="50%" height="100%"/>
    </s:HGroup>
    <view:TimerView id="timerView" height="20" visible="false"/>
    <s:Label id="appURLLabel" width="100%" height="16" />
    <s:HGroup width="100%" height="200">
    <rtc:WebcamSubscriber id="selfWebcamSubscriber" width="20%" height="100%"/>
    <s:HGroup width="100%" height="100%">
          <rtc:SimpleChat height="100%" width="100%" sessionDependent="true" />
         <rtc:Roster id="userRoster" width="200" height="100%" />
    </s:HGroup>
    </s:HGroup>
    </s:VGroup>
    </rtc:ConnectSessionContainer>

    I remember using it with Chrome and it worked but there was some goofyness with the interface.  I think after each module I needed to exit, go back to the main menu for module selection and refresh, then pick the next one.  I couldn't just go to the next module.  But it definitely saved progress.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Goods Issue with reference to Material document

    Hello,
    I would like to create Goods Issue with reference to material document (Transfer Posting document) , but the following message appears :
    "Selected material document does not correspond with action to be executed".
    Is it possible to create Goods Issue with reference to Transfer Posting (mov.type 311 - from stor.loc. to stor.loc.)  ?
    Thanks

    Thanks,
    probably I'll have to find another way to solve this business requirement of copying the transfer document data in GI.
    We have an auto created transfer postings via interface from another system and the main idea was to use already entered fields in transfer posting document such as material , quantity , text , goods recepient , etc. and not to enter them twice when GI should be created. In our case (it's a case for certain materials) it's always 1:1 relationship, so the idea was to facilitate the job of creating the GI, because GI should contain the same data as in transfer posting document.

Maybe you are looking for