Basic Caused by: NullPointerException occured. String headerName in OATS

We are getting basic Caused by: NullPointerException occured. String headerName error while replaying the script in OATS.
we are new to this tool.we are having the delivery . please reply soon if any one knows the answer.
Cheers Tamil & Deepa

we resolved ourselfs

Similar Messages

  • Basic Caused by: NullPointerException occured. String headerName

    Hi,
    We are recording HTTP scripts on our Application for load testing. However during play back, the script throws the following exception :
    "*basic Caused by: NullPointerException occured. String headerName*"
    This behaviour is not consistent, i.e. a successfully play backed script is throwing the exception after certain time.
    Please provide some input, If any body is having any suggestion or solution for this.
    Regards,
    Jeeten.

    we resolved ourselfs

  • ForceLogoffClientUser causes a NullPointerException in PageBuilder.java:893

    Hello,
    this code cause a NullPointerException.
    The url I get with
    final String url =WDURLGenerator.getApplicationURL( wdComponentAPI.getApplication().getDeployableObjectPart(),
                             Collections.singletonMap("sap-locale", dataObject));
    WDClientUser.forceLogoffClientUser(url);
    the dataObject contains the language String e.g. "en" , "de" etc.
    I will use this to switch the language of the Web Dynpro, if the user switches the potal language.
    The following Exceptions is caused
    java.lang.NullPointerException
    at com.sap.portal.pb.PageBuilder.updatePortalHooks(PageBuilder.java:893)
    at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
    at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:830)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
    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:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
    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:160)
    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)
    kind regards
    Gunter

    Hello,
    I have the same problem now when I try to force portal logoff from WD.
    Could you tell me if you solved this problem or how can I fix that, please?
    CODE ********************************
         String hostName = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerName();
                   int port = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerPort();
                   StringBuffer url = new StringBuffer("http://");
                   url.append( hostName );
                   url.append(":");
                   url.append(port);
         WDClientUser.forceLogoffClientUser(url.toString());
    ERROR ***************************
    java.lang.NullPointerException
        at com.sap.portal.pb.PageBuilder.updatePortalHooks(PageBuilder.java:931)
        at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:327)
        at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
    Regards,
    Sonia

  • [svn] 674: LCDS-110: If you don' t specify file type when using DocumentReference, a java.lang. NullPointerException occurs.

    Revision: 674
    Author: [email protected]
    Date: 2008-02-27 09:41:30 -0800 (Wed, 27 Feb 2008)
    Log Message:
    LCDS-110: If you don't specify file type when using DocumentReference, a java.lang.NullPointerException occurs.
    qa: yes
    bug: LCDS-110
    doc: no
    checkintests: passed
    Details:
    modules/common/src/java/flex/messaging/errors.properties
    * new error message
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-110
    http://bugs.adobe.com/jira/browse/LCDS-110
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/errors.properties

    Yes I know that ;) and I fixed it myself too by initializing it like this: private GameObject[] apple = new GameObject[max_apples];But now I get this error instead:
    Exception in thread "Thread-4" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.run(Main.java:35)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.paint(Main.java:134)
         at sun.awt.RepaintArea.paintComponent(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)So now I need help on this... =D CHEERS! :P

  • FPM Error: An internal error occured: String index out of range -4

    Hi All,
    I have imported the SSA BP to my EP (7.0), however, when I tried to create a custom FPM view & FPM Application for my custom WD application....the system will just prompt the error message "An internal error occured: String index out of range -4".
    Can anyone advise what could be the problem? and how to resolve it?
    Thanks in advance!
    Best Regards,
    SY

    Hi,
    You are trying to call the index of the String whose length is 4., but in the code you may have called from 1 to 4.. which should be 0 to 3.
    If you can show the stack trace of the exception, we can pinpoint the code / line.
    Just check the WD code..!!
    Thanks,
    Raags

  • HT5262 Every time i try to back up my 4s it says that it failed cause an error occured... Help me...

    Every time i try to back up my 4s it says that it failed cause an error occured... Help me...

    Troubleshooting Backup Issues
    http://support.apple.com/kb/ts2529

  • Exception java.lang.NullPointerException:  occurred

    Hi All,
    my app is showing this error while start installing oracleu2026.
    can any explain about this??
    Exception java.lang.NullPointerException:  occurred..
    java.lang.NullPointerException:
         at oracle.sysman.oii.oiix.OiixPathOps.directorify(OiixPathOps.java:359)
         at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:379)
         at oracle.sysman.oii.oiii.OiiiInstallAreaControl.getContentsDir(OiiiInstallAreaControl.java:1875)
         at oracle.sysman.oii.oiii.OiiiInstallAreaControl.getXMLCompsFileLoc(OiiiInstallAreaControl.java:1901)
         at oracle.sysman.oii.oiii.OiiiInstallAreaControl.compsOutOfSynch(OiiiInstallAreaControl.java:2800)
         at oracle.sysman.oii.oiii.OiiiInstallAreaControl.getReaderForHome(OiiiInstallAreaControl.java:1987)
         at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:727)
         at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:1184)
         at oracle.sysman.oii.oiii.OiiiAreaInventory.getReplaceCompEntries(OiiiAreaInventory.java:1748)
         at oracle.sysman.oii.oiii.OiiiAreaInventory.getCompatCompInvEntryInAnyHome(OiiiAreaInventory.java:1429)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.checkSOHCompPresentInInv(OiiodDepEngine.java:5408)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.applySelection(OiiodDepEngine.java:3010)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.depModeApply(OiiodDepEngine.java:2505)
         at oracle.sysman.oii.oiif.oiifw.OiifwPostDepModesWCCE.doOperation(OiifwPostDepModesWCCE.java:335)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:137)
         at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:352)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:137)
         at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:605)
         at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:189)
         at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:316)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:702)

    Hi Markus,
    Yes, installation in windows server itanium, below step by step before installation:
    1. Install the following Microsoft HotFixes:
                            924668 (Base/Driver)
                            924672 (Network)
                            924671 (MQ)
                            924670 (MMC)
                            924669 (IIS/Index) 
    copy 5656176\OraInstaller.jar Disk1\stage\Components\oracle.swd.oui.core\2.2.1.8. 0\1\DataFiles\Expanded\jlib 
    rmdir /S Disk1\stage\Components\oracle.swd.jre\1.4.1.0.0o\1\DataFiles\Expanded
    mkdir Disk1\stage\Components\oracle.swd.jre\1.4.1.0.0o\1\DataFiles\Expanded
    xcopy 5656176\Expanded Disk1\stage\Components\oracle.swd.jre\1.4.1.0.0o\1\DataFiles\Expanded /s
    C:\TEMP\OUIIA64\disk1\sapserver.cmd
    PROBLEM: change parameter in oraparam.ini JRE_LOCATION to c:\j2sdk rather than  <DRIVE>:\ORACLE\<SID>\920\jre\1.4.2
    C:\temp\OUIIA64\5656176\setup.exe instead
    choose EPQ920 and path = C:\TEMP\OUIIA64\ora9206\Disk1\stage\products.xml
    if required, stop oracle services (listener and database)
    and than, the first start sapserver.cmd can not running.....

  • Deploying simple SharePoint 2013 feature causing error: "Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process."

    When trying to deploy a sandboxed solution containing only a feature with a simple associated event receiver from VS 2013, I'm getting the following error:
    Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0
    I'm working in Visual Studio 2013, deploying to SharePoint 2013.
    The SharePoint project is very basic. I've only added a feature and an associated event receiver. It works without the event receiver. Then after I simply add the event receiver I get the error.
    I've tried deploying directly from VS 2013 as well as publishing to a .WSP and uploading via web interface. Same error reported using both methods. I'm doing this using an Administrator account that I've confirmed is a site collection administrator.
    Additionally, I've found that if I change Sandboxed Solution to False, deploy it, retract it, then change Sandboxed Solution back to True, then I can successfully deploy it. But this doesn't seem to be a permanent solution as the error will resurface a day
    or two later...

    Hi Steve,
    Are you running your SharePoint 2013 on domain controller? 
    http://www.learningsharepoint.com/2013/08/09/sharepoint-2013-error-an-unknown-exception-occurred-while-executing-a-sandboxed-code-solution-request-in-the-worker-process-rn0/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b7408608-c21b-45d9-bc16-e6afff510cd2/installed-sharepoint-2013-foundation-on-window-2010-server-issues-activating-sandbox-solutions?forum=sharepointadmin
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • NullPointerException on String methods

    All,
    I am trying to get date values on the fly and add them to my sql statement. I have a DateWorker class that provides month, day of month and year.
    When I use the class in another class, I get NullPointerException. These are just plain ol' String methods, why are they giving me problems. When I run the code on its won, it works fine.
    Code:
    package mybeans;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    import java.util.HashMap;
    import java.util.Calendar;
    public class DateWorker {
    public DateWorker dateWorker;
         public DateWorker(){
              dateWorker = new DateWorker()
         public static void main(String[] args){
              String m = dateWorker.getMonth();
              String dm = dateWorker.getDayOfMonth();
              String dw = dateWorker.getDayOfWeek();
              String y = dateWorker.getYear();
              System.out.println("day of week " + dw + "<BR>");
              System.out.println("day of month" + dm + "<BR>");
              System.out.println("month " + m + "<BR>");
              System.out.println("year " + y + "<BR>");
         //get a Calendar instance.
         private Calendar cal = Calendar.getInstance();
         //gets the current month
         public String getMonth(){
         int x = cal.get(Calendar.MONTH) + 1;
         String s = String.valueOf(x);
         return s;
         //gets the current day of month
         public String getDayOfMonth(){
              int x = cal.get(Calendar.DAY_OF_MONTH);
              String s = String.valueOf(x);
              return s;
         //gets the current day of week
         public String getDayOfWeek(){
              int x = cal.get(Calendar.DAY_OF_WEEK) -1;
              String s = String.valueOf(x);
              return s;
         //gets the current year
         public String getYear(){
              int x = cal.get(Calendar.YEAR);
              String s = String.valueOf(x);
              return s;
    Edited by: ink86 on Oct 8, 2007 12:57 PM

    package mybeans;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    import java.util.HashMap;
    import java.util.Calendar;
    public class DateWorker {
         public static void main(String[] args){
              DateWorker dateWorker = new DateWorker();
              String m = dateWorker.getMonth();
              String dm = dateWorker.getDayOfMonth();
              String dw = dateWorker.getDayOfWeek();
              String y = dateWorker.getYear();
              System.out.println("day of week " + dw + "<BR>");
              System.out.println("day of month" + dm + "<BR>");
              System.out.println("month " + m + "<BR>");
              System.out.println("year " + y + "<BR>");
         //get a Calendar instance.
         Calendar cal = Calendar.getInstance();
         //gets the current month
         public String getMonth(){
         int x = cal.get(Calendar.MONTH) + 1;
         String s = String.valueOf(x);
         return s;
         //gets the current day of month
         public String getDayOfMonth(){
              int x = cal.get(Calendar.DAY_OF_MONTH);
              String s = String.valueOf(x);
              return s;
         //gets the current day of week
         public String getDayOfWeek(){
              int x = cal.get(Calendar.DAY_OF_WEEK) -1;
              String s = String.valueOf(x);
              return s;
         //gets the current year
         public String getYear(){
              int x = cal.get(Calendar.YEAR);
              String s = String.valueOf(x);
              return s;
         }

  • Missing connection view in IDE, NullPointerException occuring

    Hi there,
    after starting the SQLDeveloper the Connection-View on the left side of the screen does not appear although it is activated in the options. When i try to open the database connection item in the preferences i do receive the following exception.
    ===
    I can install another version of the developer but i need my old connections! How can i export them, are they stored in some xml file?
    ===
    java.lang.NullPointerException
         at oracle.dbtools.raptor.dialogs.conn.DatabaseInfo.onEntry(DatabaseInfo.java:58)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:926)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:899)
         at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1348)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1216)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1210)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.Dialog.show(Dialog.java:536)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:276)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:597)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:391)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:268)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:552)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:785)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:499)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Do you have the old SQL Developer with the connections working? If so select the Connections node, right mouse click for the context menu and export the definitions. Then in the new build, use the same action to import your connections.
    Sue

  • NullPointerException occurs when calling procedures

    Hi, this is the procedure that i have typed...
    create or replace procedure insert_file (
    p_file_type varchar2,
    p_file_name varchar2,
    p_id out number
    )as
    geor MDSYS.SDO_GEORASTER;
    begin
    insert into nyp_images values( assignByID.nextval, p_file_type, sdo_geor.init('NYP_IMAGES_RDT') )
    returning image_id into p_id;
    select image into geor from nyp_images where image_id = p_id for update;
    sdo_geor.importFrom(geor, NULL, p_file_type, 'file', p_file_name);
    update nyp_images set image = geor Where image_id = p_id;
    end insert_file;
    When i tried to call the procedure using the codes below...
    public void insertFile()
    int ret_code;
    Connection conn=null;
    try {
    //Load and register Oracle driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //Establish a connection
    StrutsUploadForm form= new StrutsUploadForm();
    String filename=form.getTheFile().toString();
    //int p_id=0;
    conn = DriverManager.getConnection("jdbc:oracle:thin:@dbdev.nyp.edu.sg:1521:orcl", "ias_spatial", "ias_spatial");
    CallableStatement pstmt =
    conn.prepareCall("{call insert_file(?,?,?)}");
    //pstmt.setInt(1, p_id);
    pstmt.registerOutParameter(2,Types.VARCHAR);
    pstmt.setString(3, filename);
    pstmt.executeUpdate();
    pstmt.close();
    conn.close();
    } catch (SQLException e) {System.out.println("Error" + e);}
    I have encountered NullPointerException Error...
    Can anyone please advise me on that?
    Thanks and regards,
    Esther

    I have no clue about java but as we have changed the order of the parameters in the PL/SQL procedure, I guess you have to change them also in the java code i.e. your
    //pstmt.setInt(1, p_id);
    pstmt.registerOutParameter(2,Types.VARCHAR);
    pstmt.setString(3, filename);should probably be more like
    pstmt.setString(1,filetype);
    pstmt.setString(2, filename);
    pstmt.registerOutParameter(3, Types.NUMBER);

  • What causes pillarboxing to occur part way through a movie?

    On very few occasions, my canon optura generated video when being imported to iMovie will have a series of clips, pillarbox. The overwhelming majority of all my movies and their clips never pillarbox. I have the camera defaulting to 16:9 and iMovie import preferences set to widescreen.
    I might on occasion have been trying different camera modes/actions during a vacation, etc. and somehow get out of 16:9 or ?????????
    Main question is what causes pillarboxing in the first place and from there perhaps I can figure out what I have done to trigger it.
    Thanks

    Uncheck "iMovie HD/Preferences.../Import/Automatic DV Pillarboxing & Letterboxing".
    Check these out from Matti Haveri:
    http://www.sjoki.uta.fi/~shmhav/iMovieHD_6bugs.html#widescreen
    http://www.sjoki.uta.fi/~shmhav/iMovieHD_6_bugs.html#pillar_letterboxingpref
    Sue

  • Adding Engine component causes: "Compiler errors occurred when generating a Windows Forms wrapper...​"

    I got this error when I tried to drop a TestStand Engine class onto my main form in VisualStudio.NET.
    Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxNationalInstruments.TestStand.Interop.API'
    The error message went on to say that it saved the source in ./obj/AxInterop.TS.cs so I added that to the project. When I try to build it, I get this error:
    The designer must create an instance of type 'System.Windows.Forms.AxHost' but it cannot because the type is declared as abstract.
    I am using TestStand 3.0 evaluation, Version 7.1.3088 of Microsoft Development Environment 2003, and .NET Framework 1.1 Version 1.1.4322 SP1.
    Is this aximp.exe problem?
    Can someone suggest how to fix this?
    Thanks,
    Jeff

    TestStand installs pre-built interop wrappers for the TestStand engine and all the TestStand UserInterface controls. You can find them in \API\DotNet\Assemblies\CurrentVersion\.
    However, the best thing to do is usually to add the ApplicationMgr control to your .NET form and then call form.axApplicationMgr1.GetEngine() to get the engine. Doing this automatically adds references to the interop assemblies to your project. You can find this control in the TestStand tab of your .NET toolbox when you have a form active.
    Ideally, you should start with the .NET simple operator interface examples which are in \OperatorInterfaces\NI\Simple\CSharp\ and \OperatorInterfaces\NI\Simple\VB.Net\
    - James

  • HT1386 I try syncing my ipod to itunes, but its says it cant because there is some kind of error. What would cause this to occur?

    I try syncing my ipod touch to itunes, but it says it cant because there is some error. What would make that occur?

    What is the exact wording of this error message? Knowing this can help us narrow down what sort of troubleshooting suggestions and solutions to offer.
    B-rock

  • Some websites I can save as bookmarks while others will not allow me to save them as bookmarks. I have gone through the scenarios to determine what is causing this to occur to no avail. Can anyone help me?

    Most websites I try to save will NOT save as a bookmark...not sure why? Some sites will work while others will not

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    * http://kb.mozillazine.org/Bookmarks_not_saved

Maybe you are looking for

  • [SOLVED] Macbook 2,1 Intel 945GM: no backlight property custom kernel

    Hi, I just finished compiling a custom kernel for my Macbook and for the life of me cannot figure out which option enables backlight control. I'm suspecting it might be CONFIG_FB_BACKLIGHT, but I can't actually find it via 'make menuconfig.' In other

  • Customer invoice baseline date- VERY URGENT

    User wants partial payment baseline date and credit memo baseline date with reference to customer's original invoice baseline date. E.g.  1. We received customer invoice 01/01/2007 and baseline date is 01/01/2007. 2. We recieved partial payment 06/10

  • Synaptics Touchpad, double finger scroll and tap-to-click

    I've recently lost tap-to-click functionality on my synaptics touchpad, I have no idea why because I haven't changed anything recently. Here's my related xorg.conf file: Section "InputDevice" Identifier "SynapticsTouchpad" Driver "synaptics" Option "

  • List/Menu Form hides Main nav dropdown

    I've created an html page that when you scroll over the main nav bar at the top, the drop down, or 2nd level headers, drop down 'behind' a list/menu form? Any ideas on how to fix this?

  • Distributing Search directories

    In Teststand3.0, testexec.ini is not updated with customised settings while deploying. I know it's possible to add the testexec.ini file in the Workspace but I have problem with the TestStand Adapter. I want to distribute TestSTandLVGUIRTS. If I didn