Cannot insert disk into Macbook Pro

Though I was able to watch DVD's earlier this morning I tried to put a new disk into the drive and it will not even go halfway in.

Is there a disk in there already?
Ejecting the stuck disc can usually be done in one of the following ways:
1. Restart the computer and after the chime press and hold down the left mouse button until the disc ejects.
2. Press the Eject button on your keyboard.
3. Click on the Eject button in the menubar.
4. Press COMMAND-E.
5. If none of the above work try this:
Open the Terminal application in your Utilities folder. At the prompt enter or paste the following:
/usr/bin/drutil eject
If this fails then try this:
Boot the computer into single-user mode by hold down ⌘ -S through the boot process. At the prompt enter
/usr/bin/drutil eject
To restart the computer enter reboot at the prompt or shutdown
6.  restart hold down trackpad button

Similar Messages

  • Cannot insert disk into drive. How to fix this problem?

    Hi,
    I have a mac Mini and have had it since August last year. The disk drive has been working fine, until today. Cannot remember the last time I used the disk drive, but it couldn't have been more than two months ago. Anyways, the problem that has occured today is that when I try and insert a disk into the drive, it does not except it. The is no usual sound of the motors being activated by sensors to feed the disk into the drive. maybe the sensors are dirty? If so, how can they be cleaned? Have tried to insert the disk as much as I can into the drive until reaching a point where it will no longer physically go into the drive. This reaches half way on a standard size CD/DVD. Have tried many disks and have checked to see if there is any damage to any of these disks before inserting them into the drive. I am also very careful with taking disks out of th drive as soon as I am done with them as I am a bit cautious of these disk drives as it is the first time I have used them since August rather than a tray disk drive. I have also checked Finder to see if there are any disks curently in the drive to which there are none. Under the heading 'DEVICES' are the following:
    Machintosh HD (Hard disk, as I am sure you all know)
    iDisk (Am not sure what this is and haven't used it before)
    Remote Disc (Again, not sure what this is and haven't used it)
    BackUPHDD (This is my TimeMachine Hard Drive)
    Film Work (This is my film Hard Drive with my work on)
    Time (This is just another back up Hard Drive as my Mac Mini gets full quickley)
    If you would like any more detail then feel free to ask.
    Thank you for your time and effort to reading this post and hopefully responding.

    Sorry for the late reply. Have been out of the country. Have figured an App for the iPod touch/iPhone/iPad and for Macs called 'iTeleport'. Am sure there are many others like this out there but it is amazing and lets one control the mac from their iPod touch/iPhone/iPad. Am still under warranty with about 60 days left apparently. Have been to the genius bar and they think that there is a small square object stuck inside the disk drive. =s Have no idea how that would have got in there. We tried fishing it out with a credit card but no luck. They advised to book the Mac in so that they can fix the problem. It will take 5-7 days but maybe sooner. Am currently moving everything from the Mac onto another HD just in case. Thank you for your responce towards this thread. <3 Apple and everyone on these forums for helping out with our problems. Thank you.

  • Cannot insert disc into Mac Pro

    Cannot insert disc in drive on Mac Book Pro. Have pressed eject button but no reaction. No disc present inside - or at least not shown as being present

    If you have suspicions that there might be a disk inside your MBP, try these options just to make certain.  It certainly will not hurt.
    Credit Kappy
    Ciao.

  • Cannot eject the start-up disk from my PowerBook G4 (laptop). Can anyone help me? My screen is blank too, that's why I'm using the start-up disk. MacBook Pro (17-inch 2.4 GHz), Mac OS X (10.7.4)

    Cannot eject the start-up disk from my PowerBook G4 (laptop). Can anyone help me? My screen is blank too, that's why I'm using the start-up disk.
    MacBook Pro (17-inch 2.4 GHz), Mac OS X (10.7.4)

    Try holding down the trackpad button while starting up the PowerBook.  Holding down mouse button during start up ejects the disc in the optical drive, so I'm guessing it would work the same with the button the the trackpad.

  • Cannot print wirelessly from MacBook Pro OSX Mavericks

    I cannot get my new MacBook Pro (using OSX Mavericks) to communicate with my HP Officejet4500 Wireless.  I can print when I use a connecting USB cable, but cannot print wirelessly.  All of my Mac software updates are current as of 4/20/2014, which included an update for HP printers.  When I used the disk to install the printer software, it did not have a screen for entering my wireless router ID or passcode.  In the Mac System Preferences for Print and Scan, my Officejet 4500 G510n-z is listed, but to no avail.  What do I have to do to get my Mac to print wirelessly?  Thanks.

    OK, thanks for that.  It may indeed may be the problem, but let's check a couple of things first.
    1. On the printer: Setup > Network > Print Network Test.  Is the printer connected to the network?  If it is not:
         a. In the Network menu, Restore Defaults
         b. In the same Network menu, run the Wireless Setup Wizard to connect the printer to your network.
    2. On your Mac, download and install this: http://support.apple.com/kb/DL907
         Restart your Mac.
    3. Reset the printing system:
    - Go to System Preferences > Print & Scan
    - Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add a printer. Select the Defualt tab on the top of the window. Look for the printer, select it and then next to the "Use" pulldown, select the printer model (not AirPrint). Wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • I cannot shut dow my MacBook Pro using the apple icon (as it was suppose to be), actually I have to press and hold the on/off buttom. I have taken twice for Mac dealer and they did not solve the problem. What must I do?

    I cannot shut dow my MacBook Pro using the apple icon (as it was suppose to be), actually I have to press and hold the on/off buttom. I have taken twice for Mac dealer and they did not solve the problem. What must I do? I would to remark that I have installed 2 antivirus and uninstalled one of them. Since then I have facing this troublesome issue. Thanks

    Uninstall the other AV software. They are not needed. All they do is cause trouble like you are having now.
    If you have been forcing the Mac to shut down with the power switch you may nave corrupted your disk. You should repair it with disk Utilty to remove any corruption the shutdwons may have cased.
    Allan

  • Trying to transfer LP into MacBook Pro using ADVC300

    Using MacBook Pro OSX10.6.8. Just hooking it up for first time in a few years. Panasonic SA-HT70 Audio-Out into ADVC300 Audio-In. Set for analog in.Firewire cable from ADVC300 into Firewire INto MacBook Pro-no sound transfer. I've tried importing sound into Garage Band, Audicity, Analog Ripper, but nothing has worked so far. The Mac apparently isn't reading the Firewire connection from the ADVC 300. Suggest alternatives please. I've used ADVC 300 for Video-AV transfers before using "Capture" on Final Cut, but this time all I'm wanting to transfer is the LP---no video. Thanks.

    akl8806,
    If you have a 6-pin male-to-male Firewire cable the easiest way is target disk mode.
    Start up your MBP holding down the "T" key until you see the firewire logo.
    Connect the Firewire cable to the MBP and then the iMac.
    The MBP will show up as a external hard drive on the iMac. Go to MBP's Drive/Users/Your username/Music/
    Copy the iTunes Library to the same place on your iMac's drive.
    Hope this helps,
    Nathan C.

  • Error Message:    Insert disk into drive   \Device\Harddisk1\DR1

    With Premier 11, when I use the Instant Movie "Outdoor Adventure", after it is created I receive the following error message, locking up the program:
                       (NO problem with some other Instant Movies)
                Insert disk into drive   \Device\Harddisk1\DR1.
    What does the error message mean and how do I fix it?
      Thanks.

    Did you install the "patch" for SmartSound?
    Perhaps this ANNOUNCEMENT will be helpful, if you have not done the installation, or the patch:
    ANNOUNCEMENT: SmartSound Sonicfire Pro Issues In PrE 11
    Hide Details
    If one is having issues with SmartSound's Sonicfire Pro music creation plug-in, a likely cause is the lack of a recent patch from SmartSound. One should follow the instructions at http://www.smartsound.com/support/link.php?id=308 to update your smartsound version to v5.7.5.
    Good luck,
    Hunt

  • ORA-01400: cannot insert NULL into

    hi to all
    when i try to insert into a table i get an error message like
    ORA-01400: cannot insert NULL into
    but if i see in the session status i see that the value of the element that will be inserted on the column is not null
    and i haven't make mistakes on my insert query so how can it be possible
    can you help me please

    What is the source used and the source type of your columns having trouble? Is it all not nullable columns on a table that are having problems? Are other columns inserting fine?
    Can you post up on apex.oracle.com your app?
    Do you want to send me your app and I can install it and look at the page in question?

  • Error when cloning a AD connector (cannot insert NULL into ("OIMUSER"."OIU"

    I am getting below error when trying to clone AD connector (new resource). I Imported/Exported AD resource Object, Process form and the dependent lookup tables.
    I can see the new resource object, process definition, process forms and Recon rule, when i tried provision a the new resource i see this error in logs.
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Importing ProcessAdministrator(XMLCREATED)
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Object is being created
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Creating data object
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT],Creating data object with params: com.thortech.xl.dataobj.tcDataBase@14d388c,41,null,[B@9355bd
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Resolving dependency to {UserGroup=SYSTEM ADMINISTRATORS}
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Dependency resolved with key: 1
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Saving data object
    INFO,23 Dec 2010 02:34:46,256,[XELLERATE.DDM.STATS],Purging 6 prepared statements
    ERROR,23 Dec 2010 02:35:52,663,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.insertImplementation(Unknown Source)
    Please let me know if you have any idea..
    Thanks..
    Edited by: IDMuser19 on Dec 29, 2010 2:21 PM

    After Setting Database to DEBUG mode i see below errors in the log
    DEBUG,27 Dec 2010 16:26:44,850,[XELLERATE.DATABASE],select ost_launch_dependent, ost_key, ost_status from ost ost, obi obi where ost.obj_key=obi.obj_key and obi.obi_key=181
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    INFO,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],insert into oiu (OIU_KEY, OBI_KEY, USR_KEY, OIU_SERVICEACCOUNT, OIU_CREATE, OIU_CREATEBY, OIU_UPDATE, OIU_UPDATEBY, oiu_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select OIU_seq.nextval from dual
    ERROR,27 Dec 2010 16:26:44,928,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    INFO,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
    INFO,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
         at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    Thanks .... Please reply if you have any idea..

  • Cannot authorize my new macbook pro on iTunes.  I de-authorized my previous computers.  What is going on?

    I cannot authorize my new macbook pro on itunes.  I de-authorized all my previous accounts.  I tried following the directions given for authorizing a computer, but I do not see this option when I open itunes.  Any help is much appreciated.

    Move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    (83534)

  • I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct.

    I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct. I have re-set both router and all laptops - no joy. They can all see the network but cannot connect.

    This is extraordinary. I have moved the router and also tried resetting it to its factory strings.  We have had this router for over a year and all our devices have always worked. Now all four laptops will not connect to the internet. Only one oMac and our phones and iPad.
    I have had far more devices running at once before but now all laptops are timing out on connection. Some say this iIP address is already being used but if I manually set to a slightly different IP address it does not help, noir if I manually set to the correct IP address. Why would all our laptops (four) suddenly be unable to connect?

  • How do I share a hard drive with the new iMac to load a disk from macbook pro

    How do I share a hard drive with the new iMac to load a disk from macbook pro. I want to install office for Mac from a disk but dont know how to share har drive from macpro
    thanks

    The new iMac's don' t have DVD drives however almost all have a disk drive. The easiest method of installing MS Office for Mac on your new iMac is to download it from Microsoft and then input the code you received when you purchased your original license. Otherwise you can use the DVD drive on your MBP to install on your iMac, that feature is called Remote Disc. Instructions for Remote Disc can be found at:http://support.apple.com/kb/ht5287

  • Java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."DESCRIPTION"."TYPE")

    insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('','','',41)
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."DESCRIPTION"."TYPE")
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:112)
    at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:474)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1125)
    at com.event.struts.InsertDetails.doPost(InsertDetails.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source
    and i my
    Action class is
    public class InsertDetails extends HttpServlet{
    protected void doPost(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException {
    // TODO Auto-generated method stub
    Connection conn = null;
    try{
    List list = (List) req.getSession().getAttribute("listbean");
    InputBean ib = (InputBean) list.get(0);
    InputBean ib1 = (InputBean) list.get(1);
    InputBean ib2 = (InputBean) list.get(2);
    InputBean ib3 = (InputBean) list.get(3);
    InputBean ib4 = (InputBean) list.get(4);
    InputBean ib5 = (InputBean) list.get(5);
    InputBean ib6 = (InputBean) list.get(6);
    InputBean ib7 = (InputBean) list.get(7);
    conn = ConnectionUtils.getConnection();
    Statement stmt = conn.createStatement();
    String sql1 = "select seq.nextval from DUAL";
    ResultSet rs1 = stmt.executeQuery(sql1);
    rs1.next();
    int event_id = rs1.getInt(1);
    //Advanced and general info
    String sql2 = "insert into EVENT_INFO (EVENT_ID,EVENT_NAME,SHORT_NAME,EVENT_START_DATE,EVENT_END_DATE,EVENT_START_TIME,EVENT_END_TIME,event_LOCATION,ADDRESS1,ADDRESS2,CITY,STATE,ZIP_CODE,COUNTRY,event_COMMENT,EVENT_OVERVIEW,EXTRA1,EXTRA2,MEMBERSHIP_OPTION,EXTRA3,EXTRA4,EXTRA5,KID,TEEN,ADULT,SENIOR,SENILE,EVENT_TYPE1,EVENT_TYPE2,DETAILED_DESCRIPTION,IS_DETAILED_DESCRIPTION_HTML,ADDITIONAL_URL,BYPASS_INFORMATION_PAGE,CANCELLATION_POLICY,ADDTIONAL_INFO) values("+event_id+",'"+ib.getName()+"','"+ib.getShortname()+"','"+ib.getStartdate()+
    "','"+ib.getEnddate()+"','"+ib.getStarttime()+"','"+ib.getEndtime()+"','"+ib.getLocation()+"','"+ib.getAddress1()+"','"+ib.getAddress2()+"','"+
    ib.getCity()+"','"+ib.getState()+"','"+ib.getZip()+"','"+ib.getCountry()+"','"+ib.getComment()+"','"+ib.getTextarea()+"','"+ib.getExtra1()+"','"+
    ib.getExtra2()+"','"+ib.getExtra3()+"','"+ib.getExtra4()+"','"+ib.getExtra5()+"','"+ib.getExtra6()+"','"+ib.getExtra7()+"','"+ib.getExtra8()+"','"+
    ib.getExtra9()+"','"+ib.getExtra10()+"','"+ib.getExtra11()+"','"+ib.getExtra12()+"','"+ib.getExtra13()+"','"+ib1.getTextarea()+"','"+ib1.getExtra1()+"','"+
    ib1.getName()+"','"+ib1.getExtra2()+"','"+ib2.getCancellation_policy()+"','"+ib2.getTextarea()+"')";
    stmt.executeQuery(sql2);
    //Description
    List list1 = (List) ib2.getList();
    DescriptionBean db = (DescriptionBean) list1.get(0);
    DescriptionBean db1 = (DescriptionBean) list1.get(1);
    DescriptionBean db2 = (DescriptionBean) list1.get(2);
    DescriptionBean db3 = (DescriptionBean) list1.get(3);
    DescriptionBean db4 = (DescriptionBean) list1.get(4);
    DescriptionBean db5 = (DescriptionBean) list1.get(5);
    DescriptionBean db6 = (DescriptionBean) list1.get(6);
    if(db.getDescription()!=" "){
    String s1 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db.getDescription()+"','"+db.getTextarea()+"','"+db.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s1);
    if(db1.getDescription()!=" "){
    String s2 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db1.getDescription()+"','"+db1.getTextarea()+"','"+db1.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s2);
    if(db2.getDescription()!=" "){
    String s3 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db2.getDescription()+"','"+db2.getTextarea()+"','"+db2.getHtmlbutton()+"',"+event_id+")";
    System.out.println(s3);
    stmt.executeQuery(s3);
    if(db3.getDescription()!=" "){
    String s4 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db3.getDescription()+"','"+db3.getTextarea()+"','"+db3.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s4);
    if(db4.getDescription()!=" "){
    String s5 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db4.getDescription()+"','"+db4.getTextarea()+"','"+db4.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s5);
    if(db5.getDescription()!=" "){
    String s6 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db5.getDescription()+"','"+db5.getTextarea()+"','"+db5.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s6);
    if(db6.getDescription()!=" "){
    String s7 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db6.getDescription()+"','"+db6.getTextarea()+"','"+db6.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s7);
    //Activity
    String sql3 = "insert into ACTIVITY (ACTIVITY_NAME,ACTIVITY_START_DATE,ACTIVITY_END_DATE,ACTIVITY_START_TIME,ACTIVITY_END_TIME,TYPE,CAPACITY,EVENT_ID) values('"+ib3.getName()+"','"+ib3.getStartdate()+"','"+
    ib3.getEnddate()+"','"+ib3.getStarttime()+"','"+ib.getEndtime()+"','"+ib3.getExtra1()+"',"+event_id+")";
    stmt.executeQuery(sql3);
    i put condition for null .But if i dont fill the fields,even then the executeQuery is executing without checking the condition.
    wht is the problem
    what i want to change in my code.

    1. Use code tags when you post code.
    2. Use prepared statements.
    3. If you have a field that requires a non-null entry then you must provide a non-null value. And for Oracle that means non-empty as well.

  • Autconfig error : ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")

    Good day,
    I am running EBS 11.5.10  with DB 10.2.0.4. I applied patch 7429271 following the steps in  Doc Id. 233044.1.
    After restarting the application, I got a "node id does not exist for the current application" when the forms started.
    After purging fnd nodes (exec fnd_conc_clone.setup_clean) I ran autoconfig successfully on the dbtier but got the error below in the apps tier.
    I also noticed that the contents of my dbc file has been erased and replaced with the template data (all values are default). I tried restoring it but it just got over written again with default data.
    Hope my explanation was clear enough.
    Any suggestions?
    ---error from adconfig.log-----------
    Unique constraint error (00001) is OK if key already exists
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")
    ORA-06512: at "APPS.FND_CONCURRENT", line 1504
    ORA-06512: at "APPS.FND_APP_SERVER_PKG", line 163
    ORA-06512: at line 1
    - Database error modifying the server

    Logs after autoconfig and services started - not connection attempted to the application yet.
    -----access log--------
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    ----error log--------
    [Fri Oct 25 13:28:59 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    ----error log_pls----
    [Fri Oct 25 13:29:00 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    Logs after a connection attempt to the application
    -----access log-----
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    192.168.50.80 - - [25/Oct/2013:13:34:32 -0500] "GET / HTTP/1.1" 200 2589 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /apptitle.html HTTP/1.1" 200 1015 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /applist.html HTTP/1.1" 200 1602 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appdet.html HTTP/1.1" 200 1009 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
    192.168.50.80 - - [25/Oct/2013:13:34:36 -0500] "GET /aplogon.html HTTP/1.1" 200 1953 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/US/ICXINDEX_PROD_mobay.htm HTTP/1.1" 200 417 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 200 411 0
    **the error logs remain unchanged.
    Regards,
    Shridath.

Maybe you are looking for

  • Portrait oriented thumbnail becomes Black Exclamation error when clicked on

    After loading in pix from my new Canon G9 (12 megapixel), I can click on landscape oriented photos (from their thumbnails) and they come to full screen display as expected, however all the portrait oriented thumbnails flash up to full screen and then

  • Apple 3.01 Streaming Issues.  Why?

    Just did a scientific experiment: Setup: iMac Core Duo with 2 gigs ram. Connected by 802.11G (no N on the non core2duo). iTunes library is stored on external 1Tb drive over USB2. 80 gigs of music. Apple TV 3.01 40 gig connected to DLINK 802.11 G/N ro

  • Backup 3.2 Trial Mode

    Ok Apple how about supporting Backup 3 in 10.8.2. This program which was orginally affiliated with MobilMe worked fine until the 10.8.2 upgrade. May not have been a popular program but i liked it for it's ease of use. Yes I use Time Machine also, but

  • Creating Layer Problem

    Yesterday when I was creating layers in Flash, every new layer was full of empty frames. Today when I create a layer it only has one frame at the start, and it doesn't change to a keyframe until I draw in it. I don't understand why the program is doi

  • Fmt:formatDate not formatting to the set Locale

    I have the following code in my jsp: <fmt:setLocale scope="page" value="fr_CA" /> <fmt:formatDate dateStyle="long"  value="${Params.fullBirthDate}" />where fullBirthDate is a Date object. The date should be formatted in the french pattern however it