Create Record  nullpointer exceptions

Hi,
I m new in OAF,
I wanna insert a record but Apply buttons gave error code below,
at xxyt.oracle.apps.ak.magaza.webui.XxytMagzPrimDonemCreateCO.processFormRequest(XxytMagzPrimDonemCreateCO.java:79)
createCO object's processFormRequest code :
OAViewObject vo = (OAViewObject)am.findViewObject("getXxytMagzPirimDonemVO1");
(Line:79) int Id = (Integer)vo.getCurrentRow().getAttribute("DnmId");
and XxytMagzPirimDonemAMImpl code:
public class XxytMagzPirimDonemAMImpl extends OAApplicationModuleImpl {
/**This is the default constructor (do not remove)
public XxytMagzPirimDonemAMImpl() {
public void createMagazaPrimDonem()
OAViewObject vo = (OAViewObject)getXxytMagzPirimDonemVO1();
if (!vo.isPreparedForExecution()) {
vo.executeQuery();
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
/**Container's getter for XxytMagzPirimDonemVO1
public XxytMagzPirimDonemVOImpl getXxytMagzPirimDonemVO1() {
return (XxytMagzPirimDonemVOImpl)findViewObject("XxytMagzPirimDonemVO1");
/**Sample main for debugging Business Components code using the tester.
public static void main(String[] args) {
launchTester("xxyt.oracle.apps.ak.magaza.server", /* package name */
"XxytMagzPirimDonemAMLocal" /* Configuration Name */);
Why has this error?

I solved the problem,
correct VO object name,
OAViewObject vo = (OAViewObject)am.findViewObject("XxytMagzPirimDonemVO1");

Similar Messages

  • How to create a nullpointer exception

    i have a question i want to create a code that can generate an nullpointerexception. what code can be used to create a nullpointerexception other than throw new nullpointerexception

    daft wrote:
    i have a question i want to create a code that can generate an nullpointerexception. what code can be used to create a nullpointerexception other than throw new nullpointerexceptionDepends on what you mean by "generate a NullPointerException".
    You can create an instance of NullPointerException via new, but I don't think this is what you mean.
    To throw a NullPointerException, either you must explicitly throw it, or execute a statement that causes the JVM to throw it for you.

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.

    Hi Guys,
    I am a beginner in Oracle apps and have been trying to setup receivables module. I have completed all necessary setups such as system options, transaction types, transaction sources, Auto accounting etc.
    Now, when I try to open transaction window, I am getting the following error
    FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
    RDBMS : 11.2.0.2.0
    Oracle Applications : 12.1.3
    Thanks in advance.. :-)

    Please see these docs.
    Repair Orders Form Error: 'FRM-40735: When-Create-Record Trigger raised unhandled exception ORA-06502' For Instances With Alphanumeric Instance Numbers [ID 580147.1]
    FRM-40735:WHEN-CREATE-RECORD Trigger Raised Unhandled Exception ORA-06502 [ID 125204.1]
    Attempt To Open IGIPAPPF Approval Profile Form Fails With Error: FRM-40735 WHEN-CREATE-RECORD Trigger raised unhandled exception ORA-06502 [ID 418546.1]
    Transactions Workbench Error: ORA-06502 [ID 1295626.1]
    Transactions Workbench Error: Listing of FRM Errors [ID 1321612.1]
    Forms Error: FRM-40735 [ID 1295620.1
    Credit Transactions Form Errors Out With FRM-40735 [ID 1079945.1]
    Thanks,
    Hussein

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01403

    hi
    when i am searching AP module and
    Payables Manager - > Oracle Payable - > Setup -> Invoice-> Distribution Set
    i am getting this FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01403.
    what to do?
    RHEL 5.3
    EBS 12.0.0 RUP 6
    1)I have tried adadmin compling forms
    2)generating trace and tkprof but still found none.
    what to do?
    Regards
    Edited by: new2appsdba on Jul 16, 2010 1:33 AM
    Edited by: new2appsdba on Jul 16, 2010 1:37 AM

    hsawwan wrote:
    Hi,
    Please see if (Note: 1074119.1 - R12. APXINWKB: When Trying To Change Invoice Distribution Line Type Get Error: FRM-40735:PRE-RECORD Trigger Raised Unhandled Exception.ORA-01403) is applicable.9747677:R12.AP.B patch which is for 12.1 and made the SR.
    >
    If this does not help, obtain the FRD file and see if more details are collected in the logs.
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10gwatching
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    Note: 867943.1 - Steps To Take FRD Trace in 11.5.10 & R12
    Thanks,
    Hussein

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422

    when i am searching AR module and
    Receivables - > Transactions - > Transactions
    i am getting this FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422.
    what to do?

    user9095240 wrote:
    Hi,
    1. This form was working fine until patch 8407693 has been applied.
    2. Yes, I'm getting this error in every responsibility or user
    3. No, no personalizations
    I've read another time docs Hussein linked and as in "Troubleshooting Transaction Types In Oracle Receivables (Doc ID 1090878.1)" Patch Related paragraph, seems like I need  Patch 8302210:R12.AD.B cause my admorgb.pls  version is 120.21.12010000.2 instead of 120.21.12010000.3. I think replicate seed data program duplicated something in db. Is it possible?
    Regards
    With the information you have provided so far, it's hard to say that the cause of the issue is because of this file (version). However, if this is a test instance you may proceed and apply the patch and see if it helps.
    Thanks,
    Hussein

  • Nullpointer exception... any help would be appreciated

    In advance, I apologize for any ignorance which I may obviously have... I'm in the process of learning Java, and am used to C/C++... In any case, I'm running into a nullpointer exception while 'compiling', which I'm having trouble figuring out... I'll list everything below, but this message will be rather long, as I will try to include everything I can. For this reason, I will ask my questions here, at the top:
    1) A null pointer exception, I believe, is generated when something is being referenced which is currently null, for example "a=null; a.b;" yields a null pointer exception. However, is there any other way that one is generated?
    2) Are there methods to figure out what/why something is null other than simply looking at it? As shown below, it seems that just looking at it runs you in a circle from line to line, file to file, which leads you back to the beginning where nothing is actually null... (I'm probably just not seeing it, but that seems to be what's happening to me)
    So now, on to the actual code:
    The following is a printout of the debugging info:
    ~/bin/jdk*/bin/java -classpath classes jamie.Main
    java.lang.NullPointerException
    at jamie.Main.Sys_Log(Main.java:110)
    at jamie.Main.Setup(Main.java:142)
    at jamie.Main.main(Main.java:54)
    Exception in thread "main" java.lang.NullPointerException
    at jamie.Main.Sys_Log(Main.java:110)
    at jamie.Main.Shutdown(Main.java:182)
    at jamie.Main.main(Main.java:92)And a short excerpt of each. (*) indicates line which error originates:
    20    )   private static Log                sys_log;
    108  )   static void Sys_Log(String msg)
    109  )   {
    110*)        sys_log.Log(msg);
    111  )   }
    142*)   Sys_Log("Server warming up...");
    182*)   Sys_Log("Server shutting down...");
    50  )     public static void main(String[] args)
    51  )     {
    52  )          try
    53  )          {
    54*)                Setup();
    85  )     catch(Exception e)
    86  )     {
    87  )          e.printStackTrace(System.out);
    88  )          err_log.Log(e.toString());
    89  )     }
    90  )     finally
    91  )     {
    92*)            Shutdown();
    93  )      }Now, various things that I have tried, and their result (you can probably skip this section, as these were mostly futile efforts):
    What seems odd to me is that the initial error is on line 110, which is the logging function Sys_Log. Since it's a null pointer exception, I would assume that sys_log is null? and thus in calling Log we're generating that error... I'm not entirely sure that that makes sense, though. Additionally, and what I find odd, is that if I change it to what I will list below, I get a slew of other seemingly unrelated problems:
    20    )   private static Log                sys_log;
    108  )   static void Sys_Log(String msg)
    109  )   {
    110#)        if (sys_log!=null)
    111  )        sys_log.Log(msg);
    112  )   }This results in a problem with function Err_Log, which I change the same way, resulting in the following:
    java.lang.NullPointerException
            at jamie.Area_LUL.Load(Area_LUL.java:23)
            at jamie.Main.Setup(Main.java:161)
            at jamie.Main.main(Main.java:55)
    Exception in thread "main" java.lang.NullPointerException
            at jamie.Main.Shutdown(Main.java:186)
            at jamie.Main.main(Main.java:93)In Main.java the following lines are generating the error:
    160  )   lul = new Area_LUL();
    161*)   lul.Load();And in Area_LUL.java I also have the following:
    14  )class Area_LUL implements LoaderUnloader
    15  ){
    16  )    public void Load()
    17  )    {
    18  )        try
    19  )        {
    20  )            areadir = new File("./areas/");
    21  )            SAXParser p = SAXParserFactory.newInstance().newSAXParser();
    22  )
    23*)            for(File curr : areadir.listFiles(new Area_Filter()))
    24  )            {
    25  )                p.parse(curr, new XMLParser());
    26  )            }
    27  )        }Where in the above, the for statement is generating the null pointer exception... which would tell me that areadir is null, however it is defined as new File("./areas/"); Also, lul (defined as new Area_LUL(); is generating the same error, though it is clearly defined in Area_LUL.java at the top of the last excerpt.
    Also, LoaderUnloader is defined in another file as follows:
    interface LoaderUnloader
        void Load();
        void Unload();
    }which are defined in Area_LUL in Area_LUL.java .
    A major theory which I currently have is that the compiler is beginning with my main.java file, and not seeing the class definition in another file, and thus attributing the class obj I create as null, which is causing the error, but I also am not sure if this is possible...
    My imports for Main.java are as follows:
    package jamie;
    import java.io.*;
    import java.util.*;I'm not entirely sure what the package is including, however I do have a jamie.jar file in another directory (../../dist) (could be referencing that?). Also, to compile the source I am using the following command:
    ~/bin/jdk*/bin/java -classpath classes jamie.MainHowever my classpath (I believe) isn't set to include all my files in the given directory. I wouldn't believe that this would be an issue, however if it could possibly be causing this, I can figure out how to set it properly. Also, this should mean I'm starting with Main.java, and perhaps I am right in concluding that it isn't referencing Area_LUL in another file properly, which is setting it as null?
    In any case... Any help would be greatly appreciated. This has been a bit of a struggle for about a month now, trying various resources, moving things around, etc... Thanks so much for your time in reading,
    -Jess

    I'm not able to follow the program flow from your post. Please create a small standalone program that exhibits the problem and post that back here.
    Your assumption re a NPE is correct, that's the only way they're generated.
    There are no "canned" methods to resolve NPEs. The best solution is to put System.out.println statements for all of the involved objects and variables immediately preceeding the error line (in this case, 110) and something will show null. Usually that's enough info to backtrace to the real cause.

  • "Error in the application" while creating Records Center

    I get "Error in Application" error every time I try to create Record Center. The error is the same for every Web App in the farm. Can I please know what all are the pre-requisites for successful creation of Record Center?
    or else, what might be causing this error?

    Thanks Dennis!
    I know how to configure Record center. Issue is I am getting error while doing it. This is what I see in ULS logs.
    Email Routing: Failed to activate email routing feature. Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High Feature receiver assembly 'Microsoft.Office.Policy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver', method 'FeatureActivated' for feature 'd44a1358-e800-47e8-8180-adf2d0f77543' threw an exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High ...Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543'). Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High ...Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543') at URL http://dev-apps/sites/testing.). Execution Time=3114.78742409999 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8l36 High Failed to activate site-scoped features for template 'OFFILE#1' in site 'http://dev-apps/sites/testing'. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Fields bn3x High Failed to activate web features when provisioning site at url "http://dev-apps/sites/testing" with site definition "OFFILE#1". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72h9 High Failed to apply template "OFFILE#1" to web at URL "http://dev-apps/sites/testing". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72k2 High Failed to apply template "OFFILE#1" to web at URL "http://dev-apps/sites/testing", error Error in the application. 0x0c59ba00 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected Exception attempting to ApplyWebTemplate to SPSite http://dev-apps/sites/testing: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ....SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPF... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDelet... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) Attempting to delete the site collection. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8e11 High Deleting the site at http://dev-apps/sites/testing and not deleting AD accounts. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection pr... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ...ops, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ....SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) ... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ... at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) at Microsoft.SharePoint.ApplicationPages.CreateSitePage.BtnCreateSite_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://dev-apps:5555/_admin/createsite.aspx)). Execution Time=18570.3916978275 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf))
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf) 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf)). Execution Time=7.04174692593612 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    Nothing in the Event viewer.

  • Help with nullPointer exception

    Hi,
    I would like some help identifying and error in the code below. Im getting a nullPointer exception at the location specified in the code. Im adding elements to a tableModel. What puzzles me is that the strings I add to the model does contain values. And it does not complain about adding them. Perhaps this is just a simple error, and you more experinced programmars are probably loughing at me ;)
    void getTests() {
          String[] idNummer = getDirectory(); //gets filenames from a directory
          for (int i = 0; i < idNummer.length; i++) {
             idNummer[i] = idNummer.substring(idNummer[i].lastIndexOf(dataSeparetor) + 1, idNummer[i].length());
    // just sorts out specific parts of the filenames
    for (int i = 0; i < idNummer.length; i ++) {
    System.out.println(idNummer[i]); //I print the sorted filenames and they not null
    testModel.addElement(idNummer[i]); //I add them to the table model
    testNr.setModel(testModel); //and gets a nullPoint exception here??

    I'm sorry, you mean testNr. Don't pay any attention to the above post. it is also declared directly in the class:
    public class GUI extends JFrame implements EventListener  {
      JList testModel;
    }and creates an instance here:
    public GUI {
    testModel = new DefaultListModel();
    getTests();
    testNr = new JList(testModel);
          testNr.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
          testNr.setLayoutOrientation(JList.VERTICAL);
          testNr.setPreferredSize(new Dimension(80, 80));
          testNr.addListSelectionListener(new ListSelectionListener() {
             public void valueChanged(ListSelectionEvent event) {
          leftPanel.add(testNr, BorderLayout.EAST);
    }

  • ArrayList nullpointer exception

    I'm creating a game called bubblebreaker in Java, with the principle off model, view and controller classes.
    In my model class I create a list of bubble objects. In the view I make these bubbles visible and in the controller class I react on external events (mouseclicks, ...)
    My design is almost finished but I'm having some troubles removing my selected bubbles.
    When I have selected my bubbles I want to remove them with another click on that bubble.
    In the method deleteBub(Bubble delete) I will use the "set" method from the arraylist and make the bubble object "null":
    protected void deleteBub(Bubble delete) {
            bubbleList.set(delete.getNumber(), null);
    }This is the error:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    +     at Model.deleteBub(Model.java:69)+
    It also points to this method:
    In the view class I check if the object is null:
    protected void drawBub(Bubble bubb, Graphics g) {
                if(bubb!=null) {
                    g.setColor(bubb.getColor());
                    g.fillOval(20*bubb.getX(), 20*bubb.getY(), 20*model.getRadius(), 20*model.getRadius());
                else System.out.println(bubb.getNumber() + " is null");
    }There are no compilation errors. I just get a nullpointer exception when I click the second time on a bubble, so when it should be made null.
    Edited by: Lektroluv on May 5, 2009 2:22 AM

    I think I'm not on the same level as you.
    The set command replaces the original bubble object with null, wright?
    So for example the list changes from this:
    new Bubble(.....)
    new Bubble(.....)
    new Bubble(.....)
    new Bubble(.....)
    ...to this:
    new Bubble(.....)
    null
    new Bubble(.....)
    null
    new Bubble(.....)
    new Bubble(.....)
    ...The second list isn't good, because it has "nulls" in it?!?!? --> nullpointer exception?
    What I've done next is in stead off replacing it with null, replacing it with new Bubble(BLACK ...)
    new Bubble(.....)
    new Bubble(BLACK ...)
    new Bubble(.....)
    new Bubble(BLACK ...)
    new Bubble(.....)
    new Bubble(.....)
    ...Edited by: Lektroluv on May 5, 2009 8:37 AM
    Edited by: Lektroluv on May 5, 2009 8:37 AM

  • Create Records through OData using Jquery

    Hi All,
    I have created a OData Service in SAP ECC system in format
    http://hostname:portno/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection
    I am trying to create a record from front end using JQuery.   I am able to retrieve all the records, but creation of records using Method "POST" fails.
    For creating records, using the method "GET", i fetch the token "X-CSRF-Token" and then pass the token to the "POST" method.
    I am getting an Exception "No Handler for Data" error is coming.   I am accessing the OData Service using the datajs framework.
    (datajs-1.1.1.min.js).
    Please help me in resolving this issue.
    Thanks,
    Divya

    Thanks for the reply Jamie.
    Code:
    OData.request({
                   "http://host:port/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection",     
                    method : "GET",
                    user: Customer_Username, 
                    password: Customer_Password,
                    headers :
                           "X-Requested-With" : "XMLHttpRequest",
                            "Content-Type" : "application/XML",
                           "DataServiceVersion" : "2.0",
                           "X-CSRF-Token" : "Fetch"
              function(data, response)
                            var header_xcsrf_token = response.headers['x-csrf-token'];
                            OData.request(
                                    requestUri :    "http://host:portno/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection",                     
                                    method : "POST",                 
                                    user: Customer_Username, 
                                    password: Customer_Password, 
                                    headers :
                                           "X-Requested-With" : "XMLHttpRequest",
                                          "Content-Type" : "application/XML",
                                          "DataServiceVersion" : "2.0",                      
                                          "X-CSRF-Token" : header_xcsrf_token
                                  data: 
                                     PONumber:"4500000091",
                                     CompanyCode:"TVSC",
                                     PurchaseDocCategory:"F",
                                     PurchaseDocType:"NB",
                                     PurchaseDocStatus:"9", 
                                     CreatedBy: "", 
                                     VendorAccountNumber:"V1",
                                     PurchaseOrganization:"PO01",
                                     PurchaseOrgGroup:"101",                      
                                     TotalValueAtRelase:"0.00",
                                      POItem: "00010",
                                      Material:"",
                                      MaterialNumber: "000000000000000011",
                                      Plant: "PL01",
                                      MaterialGroup: "01",
                                      TargetQuantity: "0.000",
                                      Quantity: "5.000",
                                      Unit: "ST",
                                      OrderPriceUnit:"ST",
                                      NetPrice: "10.0000",
                                      PriceUnit:1,
                                      GrossValue:"0.0000",
                                      NetValue:"0.0000",
                                      NetWeight:"0.000",
                                      WeightUnit:"",
                                     MaterialType:"",
                                     PurchaseOrderHeaderPONumber:"",
                                     PurchaseOrderHeaderPONumber1:""
                      function(data,response)
                           alert('Success. Created New Record');
                      function(err1)
                          alert('Error in Create Record...'+err1.message);
                     function(err)
                            alert('error....'+err.message);
    Output
    I get an error message "Error in Create Record. "No Handler for Data".
    I tried entering the header  details alone and also by entering the line items. Still the same error is thrown.
    Please Help.
    Thanks,
    Divya

  • Java.Lang.NullPoint.Exception in OWB Mapping

    Hello Everybody
    We are building Data Warehouse using OWB Repository 9.2.0.2.0. When we are validating or deploying the created map we are getting Java.Lang.NullPoint.Exception. This leads to blank screen. We are unable to recover the map. Sometimes, synchronization works to recover the map, but not all the times.
    Is there any solution to it?

    Mark
    Is it possible to solve the problem without migrating? I have the details of error as follows --
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.wh.service.impl.mapping.metadata.WBMappingGraphImpl.<init>(WBMappingGraphImpl.java:43)
         at oracle.wh.service.impl.mapping.metadata.WBMappingGraphHelper.createMappingGraph(WBMappingGraphHelper.java:31)
         at oracle.wh.ui.mapping.MappingGraphNew.drawStage(MappingGraphNew.java:2660)
         at oracle.wh.ui.mapping.MappingGraphNew.setStage(MappingGraphNew.java:484)
         at oracle.wh.ui.mapping.MappingEditorCanvas.refresh(MappingEditorCanvas.java:287)
         at oracle.wh.ui.common.WhFolderEditor.refreshCanvas(WhFolderEditor.java:951)
         at oracle.wh.ui.common.WhFolderEditor.refresh(WhFolderEditor.java:604)
         at oracle.wh.ui.common.WhFolderEditor$1$MyRefresh.run(WhFolderEditor.java:424)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    I appreciate your feedback.
    Cheers, Bana

  • SLD - Create JCO - nullpointer

    Hello,
    When i try to create a jco destination in my SLD (2004s SP13), i get a nullpointer exception (see below). The sld is configured correctly, and technical systems too, because when i use the SLD from my CE 7.1 i can create a JCO for the technical systems...
    It's just something in the webdynpro for creating JCO's in my SLD that triggers the nullpointer exception. Is it possible to redeploy the SLD applications for creating JCO destinations?
    Kind regards,
    J.
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:285)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:250)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:157)
         at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:236)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi,
    If your SLD is configured correctly (try the test SLD connection in webdynpro content administration), you can try the following things:
    1. in the SLD -> technical Systems -> Web AS Java , choose the JCO Destinations tab, there u can remove some jco destinations if you want.
    2. In the  visual administrator, where u did the configuration, send the data again to your SLD (this will remove outdated applications in the SLD)
    This solved the issue for me.
    Kind regards,
    Joren

  • In GP i  am getting Nullpointer Exception

    i created on develpment component in web dynpro.
    In that one comp is created.
    //@@begin others
      private IGPExecutionContext executionContext;
      //@@end
    In that execute is not running.
    public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )
        //@@begin execute()
         this.executionContext = executionContext;
         IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
         GPWebDynproResourceAccessor resourceAccesor =new GPWebDynproResourceAccessor(textAccessor);
         try{
              //wdComponentAPI.getMessageManager().reportSuccess("Execute");
         catch(Exception er){}
        //@@end
    if call complete
    public void complete( )
        //@@begin complete()
         wdComponentAPI.getMessageManager().reportSuccess("Enter");
         try{
              <b>IGPStructure output = executionContext.getOutputStructure();</b>
         catch(Exception ex1){
              wdComponentAPI.getMessageManager().reportSuccess("exce in complete:"+ex1);
    in that bolded line i am getting nullpointer exception.
    Please slove the probelm

    Hi Satya,
    a) you are in the wrong forum
    b) you forgot to "bold" the relevant errornous line
    Regards Mario

  • CLOB.createTemporary gives Nullpointer Exception

    Hello,
    I'm trying to create a temporary clob in my java code, but when I run the program I get the following exception.
    java.lang.NullPointerException
         at oracle.sql.LobPlsqlUtil.plsql_createTemporaryLob(LobPlsqlUtil.java:1354)
         at oracle.jdbc.dbaccess.DBAccess.createTemporaryLob(DBAccess.java:997)
         at oracle.sql.LobDBAccessImpl.createTemporaryClob(LobDBAccessImpl.java:240)
         at oracle.sql.CLOB.createTemporary(CLOB.java:527)
         at org.tennet.utils.bc4j.ApplicationModuleImpl.createClob(ApplicationModuleImpl.java:278)
         at org.tennet.utils.bc4j.ApplicationModuleImpl.createClobDomain(ApplicationModuleImpl.java:299)
         at org.tennet.nevada.loader.ResultLoader.executeProcedure(ResultLoader.java:243)
         at org.tennet.nevada.loader.ResultLoader.process(ResultLoader.java:77)
         at org.tennet.nevada.broker.processor.RequestProcessor.processResult(RequestProcessor.java:374)
         at org.tennet.nevada.broker.processor.LoadFlowVAProcessor.process(LoadFlowVAProcessor.java:132)
         at org.tennet.nevada.broker.RequestHandler.processRequest(RequestHandler.java:289)
         at org.tennet.nevada.broker.RequestHandler.run(RequestHandler.java:137)
    This error started when I began using Data Sources instate of direct JDBC Connections.
    The problem is there is no source available for this class so I can’t look what is causing the Nullpointer Exception.
    Can someone tell me what is causing this problem?
    Regards,
    Dennis Labordus

    Hi Dennis,
    I have had the same problem as this. I am going to get onto Oracle via Metalink about it.
    However - there is a work around.
    We are using OC4J with its data sources.
    There is a method on the OC4J Connection called getCoreConnection(Connection). This returns the underlying Oracle connection.
    If you then pass this underlying oracle connection to CLOB.createTemporary() it works.
    We had to use reflection to call the method as I couldn't seem to cast it statically.
    Paul McHugh
    * getOracleConnection
    * Derive oracle connection from DataSource connection
    private static OracleConnection getOracleConnection (Connection connection) throws SQLException
    System.err.println ("UserTypeImpl.getOracleConnection: " + connection);
    * Check for an existing oracle connection
    * This should be the case in a database deployment
    if (connection instanceof oracle.jdbc.driver.OracleConnection)
    System.err.println (" Connection is already the base Oracle Connection" + connection);
    return (OracleConnection) connection;
    * Check for an OC4J deployment
    else
    System.err.println (" Searching for core connection ...");
    Object conObj = (Object) connection;
    Class conclass = conObj.getClass();
    OracleConnection coreCon = null;
    Method meth = null;
    // Locate method getCoreConnection on Orion data source
    try {
    Class[] parameterTypes = new Class[] {java.sql.Connection.class};
    meth = conclass.getMethod("getCoreConnection", parameterTypes);
    } catch (NoSuchMethodException e)
    e.printStackTrace();
    throw new SQLException ("UserTypeImpl.getOracleConnection: No such method: getCoreConnection: " + e);
    // Invoke method getCoreConnection on orion data source
    try {
    Object[] args = new Object[] {connection};
    coreCon = (OracleConnection) meth.invoke(conObj, args);
    catch (InvocationTargetException e)
    e.printStackTrace();
    throw new SQLException ("UserTypeImpl.getOracleConnection: Invoke: getCoreConnection: " + e);
    catch (IllegalAccessException e)
    e.printStackTrace();
    throw new SQLException ("UserTypeImpl.getOracleConnection: Invoke: getCoreConnection: " + e);
    if (coreCon != null)
    System.err.println (" Core connection found: " + coreCon);
    return coreCon;
    } else
    System.err.println (" Unable to locate core connection.");
    throw new SQLException ("UserTypeImpl.getOracleConnection: Unable to locate core oracle connection.");

  • Problem while createing record using plsqlEO

    Hi,
    I called API in insertRow() method of plsqlEO to create record and the primary key person_profile_id is the out parameter of this API and it'll generate by the API.
    But while submitting the page its throwing an error message as
    the attribute person_profile_id is required.
    So I couldn't able to create record. What might be the reason behind this?
    The insertRow method is given below,
    protected void insertRow()
    Diagnostic.println("Inside insertRow!!!!");
    Object obj = null;
    HzPartyV2Pub hzpartyv2pub = new HzPartyV2Pub();
    oracle.apps.ar.hz.v2api.HzPartyV2Pub.PersonRec personrec = new oracle.apps.ar.hz.v2api.HzPartyV2Pub.PersonRec();
    BigDecimal[] x_party_id = new BigDecimal[1];
    String[] x_party_number = new String[1];
    BigDecimal[] x_profile_id = new BigDecimal[1];
    String[] x_return_status = new String[1];
    BigDecimal[] x_msg_count = new BigDecimal[1];
    String[] x_msg_data = new String[1];
    Diagnostic.println("Before calling initializePersonRec");
    initializePersonRec(personrec);
    Diagnostic.println("After calling initializePersonRec");
    try
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getOADBTransaction();
    OracleConnection oracleconnection = (OracleConnection)oadbtransactionimpl.getJdbcConnection();
    Diagnostic.println("Before calling createPerson");
    HzPartyV2Pub.createPerson(oracleconnection, "T", personrec, x_party_id, x_party_number,
    x_profile_id, x_return_status, x_msg_count, x_msg_data);
    Diagnostic.println("After API Call Return Status is:" + x_return_status);
    catch(Exception exception)
    Diagnostic.println("Inside Catch Exception: " + exception);
    checkErrors();
    How to solve this issue? please suggest.
    Thanks & Regards,
    Sagarika

    The SQL statement generated by TopLink is as follows -
    UPDATE PR_SUPP SET CNTC_PRSN_NAME = ''
    , REMK = 'Remark 123 !', LAST_CHNG_DTTM = {ts '2002-11-29 10:59:56.0'} WHERE ((S
    UPP_CODE = 'A0001') AND (LAST_CHNG_DTTM = {ts '2002-11-29 10:46:01.0'}))
    The coloumn name in the generated statement conform to the coloumn names in the table. The exception is being thrown for all 'update' queries for all objects in the application.

Maybe you are looking for

  • How can I change the order of photos in my fotostreams?

    When selecting photos for a fotostream to share with friends the exported files appear in the order they were taken. If I add more pictures later, they are added at the end of the stream as if they were ne lastest taken pics. How can I change that? E

  • Report with predetermined number of frame

    I have to produce a report which has three repeating frames (1,2,3) with master /slave relationship i.e. frame 1 is master frame for frame 2 ,3 and frame 2 is a master frame for frame 3. Each page of the report has to have one instance of frame 1 & 2

  • Cannot found url error when i try to play my camera recorded video from my iphone 4S running ios 5.01

    I got an error cannot Find url when i attempt to play my camera recorded video from my iphone 4S 32 gig. I try to restart my phone but still no luck. There was no problem previously, but suddenly i got this problem with no reason. I also unable to co

  • How do you remove single click delete from mail?

    I accidentally delete emails when cleaning out my inbox and was wondering if there is anyway to remove this single click delete function. I remember setting up mail and being asked if I wanted to remove the warning popup. Anyone know how to add this

  • Urgent: Barcode does not rotate

    Hi, I've created a sapscript formular with logo and barcode. This works fine. Afterwards  I've tried to rotate the barcode because the label printer prints in a different direction. I changed the alignment of my barcode created with the new barcode t