JOptionPane Won't Display When ResultSet = null

I wrote the following method to connect to an Access database via JDBC. Everything works properly except for the dialog box. It doesn't show up when the SQL query doesn't return anything. I've tried using the JOptionPane as an if, an else if, and an else without any luck. I know the syntax of the JOptionPane statement is correct, as it works in other parts of the program. Can anyone help? Thanks, Scott
P.S. I know I should use a do while loop to populate the text fields...this is just a quick and dirty beta program.
     public void database(String query)
          try
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          String dataSourceName = "testdatabase";
          String dbURL = "jdbc:odbc:" + dataSourceName;
          Connection con = DriverManager.getConnection(dbURL,"","");
          Statement s = con.createStatement();
          s.execute(query);
          ResultSet rs = s.getResultSet();
               if (rs != null)
               while ( rs.next() )
               field2.setText(rs.getString(2));
                    field3.setText(rs.getString(3));
                    field4.setText(rs.getString(4));
                    field5.setText(rs.getString(5));
                    field6.setText(rs.getString(6));
                    field7.setText(rs.getString(7));
                    field8.setText(rs.getString(8));
                    field9.setText(rs.getString(9));
                    field10.setText(rs.getString(10));
                    field11.setText(rs.getString(11));
                    field12.setText(rs.getString(12));
               if (rs == null)     JOptionPane.showMessageDialog(null, "UPC not found!");
               s.close();
          con.close();
     catch (Exception err)
          System.out.println("ERROR: " + err);
     }

I changed the line to:
if(! rs.next()) JOptionPane.showMessageDialog(null,
"UPC not found!");
...and now the dialog box pops up every time, even if
there is data. Did I do something wrong with the
syntax?Well no.. except that by the time you check you have already iterated through the result set and next returns false.
I was thinking about something like this (and please in future use the code tags for pretty formatting like below... it makes it easier to read and the forum software will "eat" some of your code without it sometimes)
boolean hasResults = false; // new line
while ( rs.next() )
    hasResults = true; // there was at least one row
    field2.setText(rs.getString(2));
    field3.setText(rs.getString(3));
    field4.setText(rs.getString(4));
    field5.setText(rs.getString(5));
    field6.setText(rs.getString(6));
    field7.setText(rs.getString(7));
    field8.setText(rs.getString(8));
    field9.setText(rs.getString(9));
    field10.setText(rs.getString(10));
    field11.setText(rs.getString(11));
    field12.setText(rs.getString(12));
if (!hasResults) JOptionPane.showMessageDialog(null, "UPC not found!");

Similar Messages

  • Value "null" is displayed when retrieving null values from database

    Hi,
    I'm retrieving a record from Oracle database using a ResultSet rs and displaying the values on screen. Some of the columns do not have any data.
    The statements are:
    ResultSet rs
    st=con.createStatement();
    rs=st.executeQuery(............)
    out.println("<input name='punch_line' type='text' value='"+rs.getString(7)+"'>");
    The problem is that there is no value in the database column rs.getString(7). Ideally when the value is null, the field should not display anything. But in my case it is displaying the text "null".
    Can anyone let me know how can I display a blank value instead of displaying the text "null"?
    Thanks,
    Sridhar

    api >
    String getString(int columnIndex)
    Gets the value of the designated column in
    column in the current row of this ResultSet object as
    a String in the Java programming language.
    so null is returned as string object..NO.
    http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html
    Returns:
    the column value; if the value is SQL NULL, the value returned is null
    The Java literal null is returned, not the String "null". The JDBC API provides a method wasNull() to detect if the previous accessed column returned a SQL NULL.

  • Layered text and graphic in Word won't display when converted to PDF

    I have several simple shapes with text layered in front in my Word document. After they are converted to PDF using Acrobat XI, only the shape will display. I can tell the text is still there, because I can use my cursor tool to select it, but it won't display visually. It looks like it isn't there but it really is. One bit of text is even an internal link, and the link still works but I can't see the text I'm clicking on.
    If anyone has any suggestions I'd appreciate it.
    Thank you,

    Hi Lori - this was perfect! It was an issue with the layers being misordered. I used the Edit Text & Images tool listed under Tools > Content Editing, found the layers, then by right-clicking I was able to bring the text to the front and it all looks great now.
    I would like to know why this happened, or if not why, how I could make sure it doesn't happen again. If there's a check box or other setting I could use to remove this problem that would be fantastic.
    Thank you so much for pointing me in the right direction!
    -Scott

  • SSRS 2008 R2 Map doesn't render (won't display when you preview it)

    I'm trying to create a map where it displays the count of people in my DB for each state. There are 126,000 records in the dataset.  I've looked at a dozen videos and gone through step by step instructions to make sure I'm not missing something. 
    The map will never render when I preview it.  It stays gray and no data displays.  I can't for the life of me figure out what is wrong!!  Can anyone point me in the right direction?    I'm using the Map Gallery and doing a Color
    Analytic map.  I'm trying to display count(state) - but have also tried counting the id of the person.  It's driving me nuts!

    Hi Cfiller,
    According to your description, you create a Color Analytic map using Map Gallery. When previewing the report, the map stays gray and no data displays.
    In Reporting Services, a Color Analytic map must include the spatial data and the analytical data. In your scenario, since you design a Color Analytic map using Map Gallery, the spatial data is already embedded in reports located in the map gallery, then
    you should add analytical data to the map. As you mentioned the analytical data for count of people comes from the database, you must specify match fields to relate the spatial data and the analytical data when designing the map. If there is no match fields
    in the map, it’s expected that no data will display when previewing. So please check if you specify the match fields correctly.
    Reference:
    Maps (Report Builder and SSRS)
    SSRS R2 Map Control Item Does Not Render in Preview
    or when Deployed to Report Server
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Hp monitor 2207h won't display when tower is turned on

    When tower is turned on the monitor will not display.  I know it's on as it flashes the pictures & goes competely black. Even
    then Iit makes the usual sounds.

    Try hooking up the monitor to a different computer to establish if the problem is with the monitor or the computer's graphics card.
    I work on behalf of HP (But this isn't my job)
    Mark my post as “Accept as Solution" if you feel my post solved your issue, so that others with the same question can find the answer.
    Please give me Kudos if I wrote something that helped you.

  • Marker Won't Display When Y Axis in Descending Order

    I'm using an RTF to create charts.  I'm using bi-publisher desktop version 11.1.1 and have Office 10 loaded.
    If I add markerDisplayed="true" to my line chart, the markers display on the line and in the legend.  But, when I add
    <Y1Axis axisMinAutoScaled="false" axisMinValue="1" majorTickStepAutomatic="false" majorTickStep="2" ascending="false" />
    the markers disappear from the lines but stay in the legend.
    For instance, this works (displays markers on lines and legend):
    <Graph markerDisplayed="true" depthAngle="50" depthRadius="8" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS"><LegendArea visible="true" /><LocalGridData colCount="{count(xdoxslt:group(.//G_2,  'PERIOD'))}" rowCount="{count(xdoxslt:group(.//G_2,  'BRAND'))}"><RowLabels><xsl:for-each-group select=".//G_2" group-by="BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/BRAND" /></Label></xsl:for-each-group></RowLabels><ColLabels><xsl:for-each-group select=".//G_2" group-by="PERIOD" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/PERIOD" /></Label></xsl:for-each-group></ColLabels><DataValues><xsl:for-each-group select="//G_2" group-by="./BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:variable name="G1" select="current-group()" /><RowData><xsl:for-each-group select="//G_2" group-by="./PERIOD"><Cell><xsl:value-of select="sum($G1[(./PERIOD=current()/PERIOD)]/RANKING[.!=''])" /></Cell></xsl:for-each-group></RowData></xsl:for-each-group></DataValues></LocalGridData></Graph>
    Add the code to sort the Y axis in descending order and start at 1, not o, and the markers disappear from the lines but still show up in the legend:
    <Graph markerDisplayed="true" depthAngle="50" depthRadius="8" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS"><LegendArea visible="true" /><Y1Axis axisMinAutoScaled="false" axisMinValue="1" majorTickStepAutomatic="false" majorTickStep="2" ascending="false" /><LocalGridData colCount="{count(xdoxslt:group(.//G_2,  'PERIOD'))}" rowCount="{count(xdoxslt:group(.//G_2,  'BRAND'))}"><RowLabels><xsl:for-each-group select=".//G_2" group-by="BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/BRAND" /></Label></xsl:for-each-group></RowLabels><ColLabels><xsl:for-each-group select=".//G_2" group-by="PERIOD" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="current-group()/PERIOD" /></Label></xsl:for-each-group></ColLabels><DataValues><xsl:for-each-group select="//G_2" group-by="./BRAND" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:variable name="G1" select="current-group()" /><RowData><xsl:for-each-group select="//G_2" group-by="./PERIOD"><Cell><xsl:value-of select="sum($G1[(./PERIOD=current()/PERIOD)]/RANKING[.!=''])" /></Cell></xsl:for-each-group></RowData></xsl:for-each-group></DataValues></LocalGridData></Graph>
    I'm new to bi-pub so please excuse anything that might seem obviously right or wrong to you !
    Krys

    the kext may have gone funky on the Mac. see:
    iPod Updater reports iPod nano or Fifth Generation iPod must be connected using FireWire
    iTunes: No Photos or Videos tab in the iPod preferences pane in Mac OS X
    iPod does not appear in iPod Updater or iTunes in Mac OS X

  • Settings won't display when opened

    Hi all
    When trying to pen 'settings' app. It opens but only displays a blank white screen. No information is seen.
    Thanks

    Press home button twice quickly, then slide the window panes upwards to delete from background memory, all of them. Then try the Settings App again. If still problem, Reset, hold both home and power buttons for about 10 seconds until the iPhone restarts itself.

  • The jigsaw widget won't display when project is published

    Hi all,
    I am having trouble with the jigsaw widget. It will run when I just preview 5 slides but when I publish my project or preview in a browser it doesn't work. I just see the time and reset button but the puzzle pieces do not appear. I am using Captivate 7.
    Thanks in advance for any help.
    Chris

    Thanks for the quick responce. I have tried deleting all of the opjects on the page just incase they were hindering it and that did not make a difference unfortunately. I should add that my project was created by importing slides from PowerPoint. Not sure if that makes a difference or not. I am new to this so I couldn't find any animation accordion or alpha settings. Here is a screen shot of my timeline though. As I said it works fine when I just preview 5 slides but but when published it doesn't seem to start playing and I just get the Reset button and the table with the time and score at the bottom of the screen.

  • Flash files won't display when using DW CS3

    Anyone else have this problem? The source shows there's a
    flash file on my html page but it doesn't appear at all. When I
    made a new page using Dreamweaver MX, I added a flash file,
    uploaded it, and all was fine (except there was that annoying 'you
    must click to activate' message in IE). When I open that same html
    page in Dreamweaver CS3, it says that DW will fix the 'object tag'
    (to get rid of that message). So it adds the code, then when I look
    at the page on the Web, there's no Flash file there at all. Is
    there something else I need to do when inserting a .swf file in
    CS3? Thanks.

    Sure it does. You forgot to upload the Scripts folder that DW
    alerted you
    to do.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "skimmin" <[email protected]> wrote in
    message
    news:f3nn2s$oio$[email protected]..
    > Placement of the files isn't a problem, as the different
    pages I've tested
    > are all in the same directory, and I'm linking to the
    same Flash file. It
    > makes no sense, really. .

  • On screen diagnostic logs are not displayed when there NULL pointer excep

    I am trying to debug a java.lang.NullPointerException on the web page in EBS under "Demand Planning System Administrator Self Service" responsibility. I have enabled the On screen log at statement level but still am not getting any logs on the screen.
    Please help me as soon as possible.

    Complete exception stack trace...
    UNEXPECTED_OA_EXCEPTION: user name = GCSSMC.TEST239: responsibility name = GCSS-MC Logistics Chain Planning Administrator â APS roo
    t region = /oracle/apps/msd/plans/webui/DemandPlansPG transaction id = 1319982722
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.lang.NullPointerE
    xception;
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:620)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    at RF.jspService(_RF.java:225)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    UNEXPECTED_OA_EXCEPTION: user name = GCSSMC.TEST239: responsibility name = GCSS-MC Logistics Chain Planning Administrator â APS roo
    t region = /oracle/apps/msd/plans/webui/DemandPlansPG transaction id = 1319982722
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
    at oracle.apps.msd.plans.webui.DemandPlansCO.getPluginInfoFromHTML(DemandPlansCO.java:190)
    at oracle.apps.msd.plans.webui.DemandPlansCO.PluginVersion(DemandPlansCO.java:301)
    at oracle.apps.msd.plans.webui.DemandPlansCO.processRequest(DemandPlansCO.java:80)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    at RF.jspService(_RF.java:225)
    at com.orionserver.http.OrionHttpJspPage.se
    UNEXPECTED_OA_EXCEPTION: user name = GCSSMC.TEST239: responsibility name = GCSS-MC Logistics Chain Planning Administrator â APS roo
    t region = /oracle/apps/msd/plans/webui/DemandPlansPG transaction id = 1319982722
    rvice(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    fnd.framework.OAException
    java.lang.NullPointerException
    Edited by: Manikanda Prabhu on Mar 13, 2013 10:23 PM
    Edited by: Manikanda Prabhu on Mar 13, 2013 10:24 PM

  • Mail Messages won't display on iphone 4

    I have a .mac and a gmail account set up on my phone. I can see the messages in my inbox for all accounts but the individual emails won't display when I go to read them, the message portion of the email is blank. I can see the "from" an "to" and just the message is missing! Any thoughts?

    Rebooting the phone seems to have solved this for the time being. I will let everyone know if it recurs.

  • Photos won't display

    I recently bought a refurbished 80g iPod classic. Everything appeared to be in working order except that photos won't display when clicked on. When I click on a photo the screen just goes black like the photo won't load. I don't really want to return it and go through all the warranty ordeals so if anyone knows how to fix this problem please let me know.

    To create and populate a new library:
    *Note this will give you a working library with the same film rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.*
    Move the iPhoto Library Folder to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library Folder on your desktop and find the Originals folder. From the Originals folder drag the individual rolls to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library Folder on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Webhelp topics won't display on servername with multiple hyphens

    Hi
    I have several webhelp topics generate with RoboHelp 8 whose html topics won't display when launched from servers whose hostnames contain more than one hyphen. We have multiple servers in the test environment. The servers with zero or one hyphens can launch the help project or individual topics with not problem. The servers with two or more hyphens can launch the project and display the nav pane, but the topics show a File Not Found error. The topics also show this error when launched independent of the frameset. Can anyone help?

    William,
    I have gone thru my project now and, as I stated in my May 1 mail to you, I have made duplicates of all of the "bad" topics and all of these new topics are now displaying correctly.
    Now I have a related, but different issue.
    Only one topic is causing that same error msg to display (refer to my original April 27 post: IE script error/syntax error; Line 13, character 1).
    The only topic that throws that error msg is the initial topic that displays when the .chm file is opened (i.e., the topic that is specified as the "Default Topic" in the HTML Help Options window when I click the Generate Layout button in the SSL pod.)
    Furthermore, the topic that throws the error message will only do so if it is the one specified as the Default Topic.
    As an example, if I have the topic Apple specified as the Default Topic, when the .chm file is opened the error msg window will display; when the user clicks either Yes or No to the "Do you want to continue running scripts?" query, the Apple topic will display normally. Each time that topic is selected it will throw the same error msg. window.
    If I go back to my project in RH and change the Default Topic to the Pear topic, re-compile the project, when the .chm file is opened the error msg will display; when you click Yes/No the Pear topic will display normally (until it's selected again). The Apple topic now displays fine at all times.
    This tells me that the problem seems not to be with the Apple topic, as I'd suspected, but with something that's going on with RH and how it displays the initial topic in a compiled project. I think.
    Any ideas on how I can remedy this issue?
    Thanks in advance.
    Dennis

  • Hp 110-a04 won't display video when my 5670 is plugged in.

    So here's the dealio. Bought a myself an hp 110-a04, threw in the sapphire 5670, doesn't display anything and I get a 6 long beeps beep code. Kill me.
    So, I take out the original PSU (it's only 180 watts), throw in a 400 watt power supply,  toss in the GPU aaaaannnnnnd... still won't display anything and the beep code is back (in the old PC it was in worked fine with the 250 watt psu).
    The computer works perfectly fine without the card, boots up, actaully displays stuff when plugged by VGA. Why it won't display anything is absolutely beyond me. Everything is hooked up to the new PSU, it's just that nothing works with that graphics card in.
    Halp me.

    Hello @HAIRSHAMENSTUFF,
    I understand that you are having issues getting the sapphire 5670 to work with your HP 110-a04 Desktop PC. I suspect that you will have to enable legacy devices in your BIOS. Unfortunately, I do not have access to the BIOS for your computer to provide you with step by step instructions, but if you tap F10 on startup and enter the BIOS you can browse through until you find a way of enabling legacy support or mode.
    I hope this helps. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Pages with auto update features such as live scoreboards won't autoupdate when displayed in Firefox.

    Pages with autoupdate features (e.g. live scoreboards) won't update when displayed in a Firefox tab. Firefox recently installed replacing IE as default browser, several add-ons installed (e.g. Flashblock, AdBlock Plus, CoolPreviews, Real Player Plugin, Shockwave Flash, US English Dictionary, Move Media Player, Adobe Acrobat Reader, WPF, Veetle TV, Silverlight) no other problems observed.
    == URL of affected sites ==
    http://scores.espn.go.com/mlb/scoreboard

    Hmm. Have you tried selectively disabling some of your extensions (e.g. Adblock Plus, Flashblock) to see if they were interfering with the autoupdate?
    If you start up Firefox in [[Safe mode]], you should be able to start Firefox with all extensions disabled. If that works, then you could try some detective work with activating extensions to see which one is the culprit.
    Is Javascript enabled? under Tools > Options Content

Maybe you are looking for

  • What are the different iPhone 5 model numbers?

    What do the different model numbers mean for the iPhone 5?  I see some that start with an "A" and some that start with "MD"?  Which model is for what?

  • Unable to open Pages document after emailing to colleague

    I need to send a Pages document to a work colleague, where the document must be in pages format (not pdf or other). We both use G4 powerbooks, latest tiger and iwork. But when I email the pages document (via apple mail), two odd things happen: - the

  • LMS 4.0 initial configuration issues

    Hi Experts , I am installing LMS 4.0 in my site newly  . I have nearly 1000 devices in network .When i had tried the autodiscovery mode using ping sweep method  the devices are getting discovered but showing us unreacheable . All the devices are goin

  • Print to JPEG File

    For enlargements to be sent to a photo lab, I mostly use the option "Print to JPEG file" because this alows me the have wider borders than the photo lab's own, small borders. However, exporting to a JPEG file requires that a name be entered each and

  • SERIAL NUMBER EMAIL

    Using the student and teacher edition of Lightroom.  I have been able to check the status, and it was approved, however never received the email regarding the serial number.