DataCache NPE with generation strategy=IDENTITY

When I try to persist an entity whose ID is generated with the JPA IDENTITY strategy, everything works fine except a NPE is thrown when trying to cache the newly persisted entity. Disabling the DataCache fixes the problem.
java.lang.NullPointerException: null keys not allowed
at com.solarmetric.apache.commons.collections.map.AbstractReferenceMap.put(AbstractReferenceMap.java:248)
at com.solarmetric.util.EfficientEmptyReferenceMap.put(EfficientEmptyReferenceMap.java:43)
at com.solarmetric.apache.commons.collections.set.MapBackedSet.add(MapBackedSet.java:110)
at com.solarmetric.util.ReferenceSet.add(ReferenceSet.java:59)
at kodo.datacache.ClassRefCacheMap.entryAdded(ClassRefCacheMap.java:136)
at kodo.util.CacheMap.put(CacheMap.java:402)
at kodo.datacache.DataCacheImpl.putInternal(DataCacheImpl.java:109)
at kodo.datacache.AbstractDataCache.putAllInternal(AbstractDataCache.java:420)
at kodo.datacache.AbstractDataCache.commit(AbstractDataCache.java:98)
at kodo.datacache.DataCacheStoreManager.updateCaches(DataCacheStoreManager.java:222)
at kodo.datacache.DataCacheStoreManager.commit(DataCacheStoreManager.java:66)
at kodo.kernel.DelegatingStoreManager.commit(DelegatingStoreManager.java:98)
at kodo.kernel.BrokerImpl.endStoreManagerTransaction(BrokerImpl.java:1484)
at kodo.kernel.BrokerImpl.endTransaction(BrokerImpl.java:2536)
at kodo.kernel.BrokerImpl.afterCompletion(BrokerImpl.java:2182)
at kodo.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:85)
at kodo.kernel.BrokerImpl.commit(BrokerImpl.java:1546)
at kodo.kernel.DelegatingBroker.commit(DelegatingBroker.java:1250)
at kodo.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:451)
at figbird.cms.application.DAO.getRootItem(DAO.java:160)
The stack trace shows that the entity is INSERTed and it's id fetched, but it seems that somehow this identity is not being set property:
FINEST: <t 2791549, conn 26179329> [2 ms] executing prepstmnt 10891966 INSERT INTO FB_PRIVILEGES (comment, inheritable, level, role, type, username, item_uuid) VALUES (?, ?, ?, ?, ?, ?, ?) [params=(null) null, (boolean) true, (int) 200, (String) *, (String) *, (String) *, (long) 1] [reused=2]
Jun 30, 2006 11:38:48 AM com.solarmetric.log.CommonsLogFactory$LogAdapter trace
FINEST: <t 2791549, conn 26179329> [47 ms] executing prepstmnt 21849501 SELECT CURRVAL('FB_PRIVILEGES_id_SEQ') [reused=2]
Ninth Avenue Software
http://www.ninthavenue.com.au

I can reproduce this behaviour with application-identity and autoassign value-strategy. Disabling the DataCache fixes the problem here, too.
however, calling the getter of a newly persisted Objekt's id, or doing a query, both BEFORE i commit the transaction, fixes the problem also.
This happens both for kodo 4.0.0 and 4.0.1

Similar Messages

  • SAP WM: Mixed pallet with putaway strategy "P"

    Dear Experts,
    I am using putaway strategy P for a storage type and I have given X for Mixed storage field.
    I am not able to put multiple batches of same material in one bin, is it possible with putaway strategy P
    I am not using SU management.
    Thanks in advance,
    Amit Kumar

    This is from a WM colleague:
    First it will always look at same bin as a material is stored
    with put away strategy “I”. 
    This scenario is completely wrong, if I understand it right.
    He/she needs to look at the bin strategy for the SU types
    defined in the LE qty. / SUT types for bin type.
    Strategy “I” is for addition to stock like they said.
    Capacity check 2 only works if it is SUT active, which they say it is
    not.  Not the check flag, but the SUT.
    The strategy for SUT type allowed to bin type only works if it
    is SUT managed, which they say it is not.
    The strategy just doesn’t seem right.  If they do not use
    SU’s, the only capacity check that works is max from the material master (WM-1
    view) weight “1”.
    The bin type / SUT strategy will not work unless they are using
    SUT’s for storage.  Not just the LE qty. in the SUT defined.
    If they aren’t using SUTs for storage, it is only a quant.
    Noting is configurable for strategy of quant to storage bin type.

  • Send purchase order e-mail with release strategy

    Hi!!
    I have a problem with sending e-mails in purchase order that are blocked with release strategy.
    I create a purchase order that is block for the release strategy, then I release it. This is working OK, but I can't send an e-mail with this released puchase order, to do it, I have to modify something in the purchase order.
    Somebody knows what is happening?
    I would like to send e-mails without previous modification of the purchase order.
    Thanks for your help.

    Hi,
    Purchase order via e-mail in SAP sys,the configurations and pre-requisites are follow:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    For more details, check SAP note:191470
    Regards,
    Biju K

  • TS2776 Outlook cannot open the file because it is not associated with the default identity.

    Outlook cannot open the file because it is not associated with the default identity.

    I've had the same problem. Even though you check the box to save it as Keynote '08, it does not open in ')8 (I get the same message)...you need to reopen it in '09.
    I have even changed the name of the file in '08 and eventually get the same message.
    I believe that once you open it in '09, you're committed to that.
    Let me know if you have better luck.

  • No network boot-- lot of problem even with generation 2

    Hi All,
    I have hyperv 2012 hypervisor and i have created some vms on it. I need one of my win7 vm to boot over network. It is created with generation 1. As generation 1 has some problem to boot vms over network, i thought of creating a generation 2 vm. I have downloaded
    valid win8 evaluation edition iso from microsoft site. That iso is working fine for me, but when I use the same iso for my vm, it stucks at 22%. i tried almost 40-50 times. Everytime it stucks at 22% only. I am also sure that I have put it in generation 2.
    I also thought to create a vm with generation 1 and convert it to generation 2 (OS is win 8). But unfortunately, when i use generation 1, vm stops at 10%. getting files ready for installation (10%). In none of the generations, with none of my ISO files, it
    crossed 23%. Am I missing something? Please guide.
    Chaitanya.

    Hi,
    Base on my experience, your issue typically caused by the disk space have not enough free space, please select which partition have the enough disk space.
    More information:
    Planning for Disks and Storage
    http://technet.microsoft.com/en-us/library/dd183729(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • JPA cascade with  @GeneratedValue(strategy=GenerationType.IDENTITY)

    If anyone has got cascading persistance working in JPA with database generated primary keys I'd be much obliged if you could let me know how.
    Am attempting to use tables with database auto generated primary keys (MySQL AUTO_INCREMENT), and using the JPA cascade features. But I can't see how to make it work.
    The problem is that if you cascade persist a series of entities, you need to know the database primary keys before you persist to the database.
    If I remove all the cascades in my @entity's, and explicitly persist entities in the correct order so the primary keys are set before them being needed, then all is ok.
    When I put the cascades in, my JPA implementation (Toplink) attempts to create the entities with foreign keys to tables with the yet to be generated primary keys all null. I was hoping JPA/Toplink would be clever enough to persist the entities in order, setting the database generated primary keys as it went.
    Has anyone tried this in Hibernate?
    Sampe code exerts that does not work:
    @Entity
    public class Address implements Serializable {
       private long id;
       private Collection<Contact> contacts = new ArrayList<Contact>();
       @OneToMany(cascade = { CascadeType.ALL })
       public Collection<Contact> getContacts() {
          return contacts;
    @Entity
    public class Contact implements Serializable {
       private long id;
       @Id
       @Column(updatable = false)
       @GeneratedValue(strategy = GenerationType.IDENTITY)
       public long getId() {
          return this.id;
    CREATE TABLE address (
           id BIGINT NOT NULL AUTO_INCREMENT
         , address_line_1 VARCHAR(64)
         , address_line_2 VARCHAR(64)
         , address_line_3 VARCHAR(64)
         , suburb VARCHAR(64)
         , postcode VARCHAR(16)
         , state VARCHAR(64)
         , country_code CHAR(2)
         , PRIMARY KEY (id)
    CREATE TABLE contact (
           id BIGINT NOT NULL AUTO_INCREMENT
         , address_id BIGINT
         , contact_type CHAR(10)
         , value VARCHAR(255)
         , PRIMARY KEY (id)
         , INDEX (address_id)
         , CONSTRAINT FK_contact_address FOREIGN KEY (address_id)
                      REFERENCES address (id)
    );

    The way I have it, the contact does need annotations as it is a bidirectional link. The contact defines the link and the address has a mappedBy="address".
    If you remove the annotations on contact, I think you will need to set up a unidirectional one-to-many link and my 'text book' says you need to have a join table to implement this. I tried all kinds of ways to have a unidirectional one-to-many link without a join table, but never succeeded.
    I found if a persist failed it would still use up sequence numbers (Hibernate and MySQL), but I did not come accross your problem. I found it useful to look on the SQL Database logs to see exactly what SQL was getting to the server.
    My code - so far working fine, am in mid development though.
    Address.java:
    @Entity
    @Table(name = "address", schema = "z")
    public class Address implements Serializable {
       private static final long serialVersionUID = 1L;
       private long id;
       private String addressLine1;
       private Collection<Contact> contacts = new ArrayList<Contact>();
       public Address() {
          super();
       @Id
       @Column(updatable = false)
       @GeneratedValue(strategy = GenerationType.IDENTITY)
       public long getId() {
          return this.id;
       public void setId(long id) {
          this.id = id;
       @Column(name = "address_line_1")
       public String getAddressLine1() {
          return this.addressLine1;
       public void setAddressLine1(String addressLine1) {
          this.addressLine1 = addressLine1;
       @OneToMany(mappedBy="address", cascade={CascadeType.ALL})
       public Collection<Contact> getContacts() {
          return contacts;
       public void setContacts(Collection<Contact> contacts) {
          this.contacts = contacts;
    Contact.java:
    @Entity
    @Table(name = "contact", schema = "z")
    public class Contact implements Serializable {
       private static final long serialVersionUID = 1L;
       private long id;
       private Address address;
       private String value;
       private String contactType;
       public Contact() {
          super();
       @Id
       @Column(updatable = false)
       @GeneratedValue(strategy = GenerationType.IDENTITY)
       public long getId() {
          return this.id;
       public void setId(long id) {
          this.id = id;
       @ManyToOne (cascade={CascadeType.ALL})
       @JoinColumn(name="address_id", referencedColumnName="id", nullable=false, updatable=false)
       public Address getAddress() {
          return this.address;
       public void setAddress(Address address) {
          this.address = address;
       public String getValue() {
          return this.value;
       public void setValue(String value) {
          this.value = value;
       @Column(name = "contact_type")
       public String getContactType() {
          return this.contactType;
       public void setContactType(String contactType) {
          this.contactType = contactType;
    }

  • How SAP Risk Management may be interfaced with SAP Strategy Management?

    Hello,
    Any document, any customer experience around integration between SAP BusinessObjects Strategy Management and SAP BusinessObjects Risk Management would be very appreciated.
    Best regards
    Jean-Luc

    Hi Renaud,
    where you able to create your webservice and use it from GRC RM?
    If yes, I would be interested in - 'How do i connect SAP RM 3.0 with that web service'
    Regards
    Holger

  • Need help with backup strategy

    So my 2 TB backup drive failed this morning.  I'm using a Seagate drive in an OWC external enclosure.  I plugged it in and the drive didn't pop-up on the desktop, nor is it visible in Disk Utility.
    I know that all drives eventually fail, but it seems like I've had more than my fair share of problems lately.  This is of course making me think hard about my backup strategy.  Here's what I'm doing now - I'd appreciate your thoughts on how to make it even more "bulletproof".
    > TimeMachine back-up of boot drive and media drive (with photos, documents, movies, etc.)
    > External clone of boot drive and media drive (on two partitions) - this is the one that failed
    I suppose I could add a third external clone for redundancy, but an offsite backup would probably be even better.  Not quite sure what the best option is there, though.  Any ideas?

    I too love automation. However, an automated backup requires the backup drive to be always connected (and maybe powered) in order to perform the backup. Also, the computer you speak of must remain on (by the sounds of it) 24/7 in order to do a nightly back up at midnight.
    First of all, it probably is not the best to leave your puter on 24/7. I won't go into all the OS reasons why. But here are 2 other reasons to think about:
    1) Your internal HD will always be powered, bad on drives
    2) You are constantly using power to run your system. Not good for your power bill or the greater environment
    As for the always connected Backup HD- I only connect, and power on my backup when I go to do a backup. This leaves it disconnected in case of virus infection. And powered down/disconnected removes some of the risk of damage from power surges/spikes (yes I use a UPS, but these can/have failed)
    So to sum up: I back up everyday. What I do is after I am done working in LR for the day I shut it down, and than start it back up (ugh) so that I can back up my Library with all the work I just did (wish Adobe would do a back up upon closing!!!)
    Than I close down LR AGAIN..... Than I connect my Back up HD. Via usb, once connected it automatically powers up and fires up the back up software. All I do is hit start. Since this is an incremental back up it only takes a short while. I go use the "John" grab a drink, and come back unplug the Back up HD, and turn off the system for the day.

  • Purchase Order E-mailing with Release Strategy

    Hello,
        We are experiencing an issue when e-mailing a Purchase Order which has a release strategy. When the order is released, the confirmation e-mails are going to the person who releases it when it is supposed to go to the person who has created the P.O. We are using a Smartform P.O. based on /SMB11/BL_MM_PO_L and print program /SMB40/FM06P. I must note that there was a bug found in the aforementioned print program and before that was fixed e-mailing would not work at all.
      We have also attempted to use all combinations of standard unmodified print programs and standard unmodified smartforms and have had no luck at getting the confirmation e-mail to send to the correct person this way either.
      SAP has recommended that we use program SAPFM06P with form Medruck. While this combination does work correctly, Medruck is not a Smartform. Has anybody here used a smartform Purchase Order with a release strategy and had the confirmation e-mail send to the created and not the releasor?
      Below is a list of the print programs and forms we have tried in various combinations. We are running ECC6/Basis 7
    Print Programs:
    /SMB11/FM06P
    /SMB40/FM06P
    SAPFM06P (Sapscript Only)
    Forms:
    /SMB11/BL_MMPO_L
    /SMB11/MMPO_L
    /SMB40/MMPO_L

    Hi,
    Purchase order via e-mail in SAP sys,the configurations and pre-requisites are follow:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    For more details, check SAP note:191470
    Regards,
    Biju K

  • MS SQL Server 2014: Error inserting into Temp table with index and identity field

    In this thread, I mentioned a problem with SQL Server 2014:
    SQL Server 2014: Bug with IDENTITY INSERT ON
    The question was answered, it is a bug. To keep you informed on this issue, I open this discussion.
    Problem:
    The code below works perfectly fine on MS SQL Server 2008 R2 and MS SQL Server 2012, but gives an error every second time the proc is executed on MS SQL Server 2014. If I do not define any index on the temp table, the problem disappears. Defining the index
    after the insert, does not help.
    SET NOCOUNT ON
    GO
    IF EXISTS (SELECT 1 FROM sys.procedures WHERE name = 'usp_Test') DROP PROC dbo.usp_Test;
    GO
    CREATE PROC dbo.usp_Test AS
    BEGIN
    SET NOCOUNT ON
    CREATE TABLE #Source(ID integer NOT NULL);
    INSERT INTO #Source VALUES (1), (2), (3);
    CREATE TABLE #Dest (ID integer IDENTITY(1,1) NOT NULL);
    CREATE INDEX #IDX_Dest ON #Dest (ID);
    PRINT 'Check if the insert might cause an identity crisis';
    SELECT 'Source' AS SourceTable, * FROM #Source;
    SELECT 'Destination' AS DestTable, * FROM #Dest;
    SET IDENTITY_INSERT #Dest ON;
    PRINT 'Do the insert';
    INSERT INTO #Dest (ID) SELECT ID FROM #Source;
    PRINT 'Insert ready';
    SET IDENTITY_INSERT #Dest OFF;
    SELECT * FROM #Dest;
    DROP TABLE #Source;
    DROP TABLE #Dest;
    END;
    GO
    PRINT 'First execution of the proc, everything OK';
    EXEC dbo.usp_Test;
    PRINT '';
    PRINT 'Second execution of the proc, the insert fails.';
    PRINT 'Removing the index #IDX_Dest causes the error to disappear.';
    EXEC dbo.usp_Test;
    GO
    DROP PROC dbo.usp_Test;
    GO

    There is some progress. Communication from a former Microsoft employee tells us this:
    Shivendra Vishal
    Engineer at Microsoft
    I am no longer with MS, and I do not have code access, however from the public symbols, I could make out following:
    sqlmin!SetidentI2I4+0x1f3:
    000007fe`f4d865d3 488b10 mov rdx,qword ptr [rax] ds:00000000`00000000=????????????????
    ExceptionAddress: 000007fef4d865d3 (sqlmin!SetidentI2I4+0x00000000000001f3)
    ExceptionCode: c0000005 (Access violation)
    ExceptionFlags: 00000000
    NumberParameters: 2
    Parameter[0]: 0000000000000000
    Parameter[1]: 0000000000000000
    Attempt to read from address 0000000000000000
    This is a read AV and from registers it is clear that we were trying to move the value of location pointed by qword of register rax which is not valid:
    rax=0000000000000000 rbx=0000000000000038 rcx=0000000000001030
    rdx=0000000000000006 rsi=00000001f55def98 rdi=00000000106fd070
    rip=000007fef4d865d3 rsp=00000000106fcf40 rbp=00000000106fcfe9
    r8=0000000000000000 r9=00000001f55def60 r10=00000001f55defa0
    r11=00000000106fcd20 r12=0000000000000000 r13=0000000000000002
    r14=00000001f49c3860 r15=00000001f58c0040
    iopl=0 nv up ei pl nz na po nc
    cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
    The stack is:
    # Child-SP RetAddr Call Site
    00 00000000`106fcf40 000007fe`f30c1437 sqlmin!SetidentI2I4+0x1f3
    01 00000000`106fd050 000007fe`f474e7ce sqlTsEs!CEsExec::GeneralEval4+0xe7
    02 00000000`106fd120 000007fe`f470e6ef sqlmin!CQScanUpdateNew::GetRow+0x43d
    03 00000000`106fd1d0 000007fe`f08ff517 sqlmin!CQueryScan::GetRow+0x81
    04 00000000`106fd200 000007fe`f091cebe sqllang!CXStmtQuery::ErsqExecuteQuery+0x36d
    05 00000000`106fd390 000007fe`f091ccb9 sqllang!CXStmtDML::XretDMLExecute+0x2ee
    06 00000000`106fd480 000007fe`f08fa058 sqllang!CXStmtDML::XretExecute+0xad
    07 00000000`106fd4b0 000007fe`f08fb66b sqllang!CMsqlExecContext::ExecuteStmts<1,1>+0x427
    08 00000000`106fd5f0 000007fe`f08fac2e sqllang!CMsqlExecContext::FExecute+0xa33
    09 00000000`106fd7e0 000007fe`f152cfaa sqllang!CSQLSource::Execute+0x86c
    0a 00000000`106fd9b0 000007fe`f152c9e8 sqllang!CStmtExecProc::XretLocalExec+0x25a
    0b 00000000`106fda30 000007fe`f152a1d8 sqllang!CStmtExecProc::XretExecExecute+0x4e8
    0c 00000000`106fe1e0 000007fe`f08fa058 sqllang!CXStmtExecProc::XretExecute+0x38
    0d 00000000`106fe220 000007fe`f08fb66b sqllang!CMsqlExecContext::ExecuteStmts<1,1>+0x427
    0e 00000000`106fe360 000007fe`f08fac2e sqllang!CMsqlExecContext::FExecute+0xa33
    0f 00000000`106fe550 000007fe`f0902267 sqllang!CSQLSource::Execute+0x86c
    10 00000000`106fe720 000007fe`f0909087 sqllang!process_request+0xa57
    11 00000000`106feee0 000007fe`f2bf49d0 sqllang!process_commands+0x4a3
    12 00000000`106ff200 000007fe`f2bf47b4 sqldk!SOS_Task::Param::Execute+0x21e
    13 00000000`106ff800 000007fe`f2bf45b6 sqldk!SOS_Scheduler::RunTask+0xa8
    14 00000000`106ff870 000007fe`f2c136ff sqldk!SOS_Scheduler::ProcessTasks+0x279
    15 00000000`106ff8f0 000007fe`f2c138f0 sqldk!SchedulerManager::WorkerEntryPoint+0x24c
    16 00000000`106ff990 000007fe`f2c13246 sqldk!SystemThread::RunWorker+0x8f
    17 00000000`106ff9c0 000007fe`f2c13558 sqldk!SystemThreadDispatcher::ProcessWorker+0x3ab
    18 00000000`106ffa70 00000000`775d59ed sqldk!SchedulerManager::ThreadEntryPoint+0x226
    19 00000000`106ffb10 00000000`7780c541 kernel32!BaseThreadInitThunk+0xd
    1a 00000000`106ffb40 00000000`00000000 ntdll!RtlUserThreadStart+0x21
    Unassembling the function:
    000007fe`f4d8658e 4c8b10 mov r10,qword ptr [rax]
    000007fe`f4d86591 4533e4 xor r12d,r12d
    000007fe`f4d86594 410fb7d5 movzx edx,r13w
    000007fe`f4d86598 4533c9 xor r9d,r9d
    000007fe`f4d8659b 4533c0 xor r8d,r8d
    000007fe`f4d8659e 488bc8 mov rcx,rax
    000007fe`f4d865a1 4489642420 mov dword ptr [rsp+20h],r12d
    000007fe`f4d865a6 41ff5230 call qword ptr [r10+30h]
    000007fe`f4d865aa 8b5597 mov edx,dword ptr [rbp-69h]
    000007fe`f4d865ad 4c8b10 mov r10,qword ptr [rax]
    000007fe`f4d865b0 4489642438 mov dword ptr [rsp+38h],r12d
    000007fe`f4d865b5 4489642430 mov dword ptr [rsp+30h],r12d
    000007fe`f4d865ba 458d442401 lea r8d,[r12+1]
    000007fe`f4d865bf 4533c9 xor r9d,r9d
    000007fe`f4d865c2 488bc8 mov rcx,rax
    000007fe`f4d865c5 c644242801 mov byte ptr [rsp+28h],1
    000007fe`f4d865ca 4488642420 mov byte ptr [rsp+20h],r12b
    000007fe`f4d865cf 41ff5250 call qword ptr [r10+50h]
    000007fe`f4d865d3 488b10 mov rdx,qword ptr [rax] <=================== AV happened over here
    000007fe`f4d865d6 488bc8 mov rcx,rax
    000007fe`f4d865d9 4c8bf0 mov r14,rax
    000007fe`f4d865dc ff5268 call qword ptr [rdx+68h]
    000007fe`f4d865df 488d55e7 lea rdx,[rbp-19h]
    000007fe`f4d865e3 4c8b00 mov r8,qword ptr [rax]
    000007fe`f4d865e6 488bc8 mov rcx,rax
    000007fe`f4d865e9 41ff5010 call qword ptr [r8+10h]
    000007fe`f4d865ed f6450a04 test byte ptr [rbp+0Ah],4
    I remember few issues with scan2ident function, I am not sure if they have fixed it however it appears that this is intoduced to SQL 2014 and we need help from MS to get this resolved as it needs code analysis.
    It is not getting simulated for other versions of SQL apart from SQL 2014.
    Also to add, interestingly, the value of rax is not visibly changed and it was successfully passed on to rcx, which has a valid value, so something should have changed the value of rax inside call to function using call qword ptr [r10+50h], and looking at this
    it appears that it might be a list of functions and we are going at particular offset [50h]. So, bottom line is that the call to function qword ptr [r10+50h], should be changing something in rax, and debugging/analyzing this code might give us some more idea.

  • LT10 "Immediate confirmation" of TO with Putaway strategy "C" Doesn't Work

    Hi ,
    We have WM with HU implemented for a Plant/ Sloc Combination.In Warehouse we have multiple storage types.
    Putaway strategy "C' (Open storage) is implemented with SU in one of the storage type of warehouse.
    If we try to make internal movement within this storage type using LT10 with option "Immediate Confirmation" (of TO) , it doesn't work and we have to use LT12 to confirm transfer order seperately.
    This is happening only if we are opting QUANT VIEW in LT10.If we use STORAGE UNIT view in LT10 and transfer the material with IMMEDIATE confrimation , TO gets confirmed immediately.
    Further , functionality of "Immediate confrimation" works perfectly if we use storage type with other put-away strategy like "NEXT EMPTY BIN"
    Need your immediate help on this
    Regards
    Sandeep Marwha

    Hi Sandeep,
    In open storage , you have only one bin per storage section. You are also having SU. So quant view will not work, thats why Storage unit view is working. Moreover, please check if mixed storage is enabled. If not then it will not allow multiple SU to accomodate. Thats where the Next empty bin will work.
    Thanks,
    Mono
    Edited by: Monodeep Sarker on Dec 28, 2010 8:46 PM

  • Essbase JAPI maxl session gives NPE with import statement

    Anybody know why I get a NPE from the Java API when trying to use the IEssMaxlSession to do an import? Here's my code snippet. I've verified the session work using the simpler maxl command commented out below. I also know the import syntax is OK at the maxl prompt. Essbase Error(0) isn't the most helpful diagnostic I've come across.
    Thanks
    IEssMaxlSession maxlSess = null;
    try {
         maxlSess = olapSvr.openMaxlSession("Maxl Test");
                   try {
                        String maxl;
    //                    maxl = "display database \"184_r\".rep";
                        maxl = "import database \"184_a\".agg dimensions connect as \"admin\" identified by \"password\" using server rules_file '/TmpltRFs/RFs/Plan.rul' on error write to \"errlog.log\"";
                        logger.debug(maxl);
         maxlSess.execute(maxl);
         printMessages(maxlSess.getMessages());
                   } catch (EssException e) {
                        printMessages(maxlSess.getMessages());
                        logger.debug(e.getMessage());
                        e.printStackTrace();
    } catch (EssException e){
         logger.debug(e.getMessage());
    14:47:40 DEBUG (essbase.RunMaxl 109): Cannot execute maxl statement. Essbase Error(0): java.lang.NullPointerException
    com.essbase.api.base.EssException: Cannot execute maxl statement. Essbase Error(0): java.lang.NullPointerException
         at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
         at com.essbase.server.framework.EssOrbPluginDirect.executeMaxlStatement(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMaxlMethod(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source)

    This is due to the unpublished Bug 12661416: MAXL STATEMENT IMPORT DB DIMENSIONS FROM RELATIONAL DATABASE FAILS WITH JAPI. This error is not fixed in next release.
    However, there is one workaround.
    "As a workaround we installed Essbase client 9.3.1 on the epm11 test box, copied native libraries from 9.3.1 admin server and connected to maxl shell from the v 9.3.1 maxljni interface. This seems to work fine."
    Edited by: Karthik_P on Apr 9, 2012 1:12 PM

  • Chek budget in PO with release strategy

    Hi
    When i created a PO with a release strategy and the comand need it, the budget are not checking at the save, only when i release the PO.
    Is it possible to check the budget (on a PM order or on WBS element) at the PO save.
    Thank's
    serge

    Normally checks like those happen once the PO is released ( example  - output is not allowed etc)...
    You may need to add something in the PO release strategy user exit to do the check before release (after save), Look into the below to see if this works.
    Name of the Enhancement: - M06E0004
    Name of the function module: - EXIT_SAPLEBND_002
    Hope this helps

  • Workflow with release strategy

    Hi All,
    Can anyone tell me if it is necessary when using workflow to help with the PR release that it be first released by the requisitioner, then the approver, then the buyer. Then it will be ready to process the PO.  We are configuring workflow into the system and it is my understanding that this is the way it has to be in order for workflow to work properly. Can someone please tell me if this is right? Does the requisitioner and the buyer have to be part of the release strategy in order for this to work?

    Hi Gregory
    Requistioner and then further approvers are required but there is no need to have buyer as one of the approver. because any how he is going to invoilve in PO release.
    Regrds
    Yogesh

  • Why PO is automatically assigned with release strategy?

    I created a PO with PO document type NB and NB is not assigned with any release strategy.
    But the PO with NB type is automatically assigned with release stragety when I save it as a completed PO.  Why?
    And only when the PO is in held status, there is no release strategy assigned to NB PO.
    Is the normal ERP behavior?
    I only assigned a release strategy to PO document type DB, which means dummy document type.

    Please check the release strategy of PO, whether document type NB is assigned to it. May be you are checking the wrong release strategy. Look up the release strategy under CLASSIFICATION button, may be if multiple release strategies are used, your document type is assigned to some other strategy.
    Easier way to check which strategy is getting applied, is in PO release strategy look up rel. strat No. which will come under release group, look up in spro with this release strategy no. in spro which will shorten your search.
    Edited by: Afshad Irani on Jun 3, 2010 1:58 PM

Maybe you are looking for

  • HOw to find the BAPI function module

    Hi all, I have a field called IEVER in table EIKP. How to find the related BAPI function module and BAPI structure for this filed. Thanks in advance KP

  • SQL Query in C++ and Boost matrix libray

    Hi all, Suppose that one manages to query a series of 250 prices in c++ for 3 IDs such as: ID1(1) | 1.0  ID1(250) |3.2 ID2(1) | 2.0 ID2(250)|4.0 ID3(1) |4.1 ID3(250) | 3.9 Does anyone know how to build a (250 * 3) price matrix for those IDs using Boo

  • Re: Screen is clipped on LG L246WP via HDMI on H97M-G43.

    It looks like the EDID information from the monitor causes some trouble with some video card and driver combinations. I'm wondering if Intel would mitigate it in the future driver releases. http://forums.anandtech.com/showthread.php?t=172961

  • Help with resizing rectangles

    I am very new to adobe and have been struggling with a project that I need to do. I have one rectangle the size of 8.5 x 11 and I need to copy the rectangle and then reduce it to 80% of the orginal rectangle. Can anyone help me with this, I have been

  • Is there a free trial for flash professional CS6??

    I need flash professional CS6 for a school assignment and only want a trial...pls help!!