Blank Frame After Switching to Java 6

I've been behind the times for quite a while, and I only just today switched from Java 5 to Java 6 (the latest revision). I have a couple little GUI programs I use occasionally for things. Nothing fancy. They just stick some text fields and buttons on the screen and spit out results into another text field. I haven't had any problems with them in the past.
Now that I install Java 6, though, when the JFrame pops up, all I see is a big gray area on it. All the components are located directly on the JFrame's content pane, and they're layed out using SpringLayout. I've printed out the some sizes and locations, and they're all what they're supposed to be. The components are indeed visible. The JFrame is the right size (as opposed to a tiny title bar with nothing underneath when you forget to set the layout or something). The content pane's layout is the SpringLayout it's supposed to be. Any ideas on what's causing this or how to fix it?

Sorry for the double post, but I don't see an edit field up on the first post.
I should clarify. I actually have a few JPanels on the content pane, and the JPanels do have some components on them. Every single component has a non-zero size and is set to visible. Furthermore, everything is a lightweight component. Does anyone know what issues might be causing this?
EDIT_:
I have come up with a sample that reproduces my bug. (Yeesh. That was a pain.)
import javax.swing.*;
import java.awt.*;
public class FrameTesting
     public static void main(String[] args)
          JFrame frame = new JFrame("Testing for blank");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          Container cp = frame.getContentPane();
          JPanel row1 = buildRow(new JLabel("Test Label:"), new JTextField(8), new JButton("Test Button"));
          cp.add(row);
          frame.pack();
          frame.setVisible(true);
     private static Spring ZERO = Spring.constant(0);
     private static Spring FIVE = Spring.constant(5);
     private static JPanel buildRow(Component... components)
          JPanel row = new JPanel();
          SpringLayout layout = new SpringLayout();
          row.setLayout(layout);
          SpringLayout.Constraints cons;
          Spring nextX = ZERO;
          Spring east = ZERO; //Initialize so correct if components.length == 0
          Spring rowHeight = ZERO;
          for (Component c: components)
               row.add(c);
               cons = layout.getConstraints(c);
               cons.setX(nextX);
               cons.setY(ZERO);
               east = Spring.sum(cons.getX(), cons.getWidth());
               nextX = Spring.sum(east, FIVE); // The FIVE acts as a spacer.
               rowHeight = Spring.max(rowHeight, cons.getHeight());
          cons = layout.getConstraints(row);
          cons.setWidth(east); //east is the east of the last Component
          cons.setHeight(rowHeight);
          return row;
}If you'd like to convince yourself that the components actually have the correct sizes and positions, insert these two methods (and see below them)
     private static void printVisibility(Component c)
          printVisibility(c, "");
     private static void printVisibility(Component c, String indent)
          System.out.println(indent + c.getBounds() + " Visible: " + c.isVisible());
          if (c instanceof Container && ((Container)c).getComponentCount() > 0)
               String nextIndent = indent + "   ";
               for (Component c1: ((Container)c).getComponents())
                    printVisibility(c1, nextIndent);
     }...and insert this call at the end_ of the main method (after the pack()).
printVisibility(cp);Based on what I've been doing trying to track down the bug, it looks like it's in the buildRow(Component...) method. Perhaps something has changed with SpringLayout?
Edited by: Legend_Keeper on Oct 7, 2008 11:56 PM
Fixed a stupid typo in the code, but it didn't fix the problem at hand.
Edited by: Legend_Keeper on Oct 8, 2008 3:19 AM
Okay, so now it looks like it might be a problem where the children are off of the JPanel's drawing area (in other words, outside its bounding box) This is the output from printVisibility:
java.awt.Rectangle[x=0,y=0,width=263,height=26] Visible: true
   java.awt.Rectangle[x=0,y=0,width=263,height=26] Visible: true
      java.awt.Rectangle[x=26,y=26,width=62,height=26] Visible: true
      java.awt.Rectangle[x=67,y=26,width=92,height=26] Visible: true
      java.awt.Rectangle[x=164,y=26,width=99,height=26] Visible: trueAs you can see, the height of the panel (first indentation) is only 26, but for some reason the y positions of its children are 26. This is particularly strange since you can see I explicitly set the y Spring in the Constraints object to be 0. o_O Any help would be appreciated.
Edited by: Legend_Keeper on Oct 8, 2008 6:07 AM

Similar Messages

  • Blank Screen after switching HDMI

    I've been using and enjoying ATV2 for at least a month now. My TV has only two HDMI ports so I share one of them for DVD and ATV2. Last night for the first time I switched back to DVD and this morning switched the cable back to ATV2 again and now I get a blank screen. I've read through the manual and tried the suggestions and they didn't help. The situation is this:
    When I force a reset from the remote the ATV2 status light blinks rapidly after 6 seconds and when I release the buttons it blinks slowly for about 15 seconds and then stays on. The screen stays blank (except for Sony telling me which input is enabled, of course).
    The light responds to any remote button with a single blink but the screen stays black.
    I can press the Menu button over and over but the screen stays blank
    I have checked the HDMI cable and removed it and reconnected it and it is definitely connected between the TV and ATV2 properly.
    The TV is definitely turned on and set to the input for DVD/ATV2.
    My iMac has iTunes open and there are no complaint messages on iTunes.
    Does anyone have any ideas?

    I'm humiliated to report that I had the cables switched btw TV and DVD/ATV2. How dumb.

  • Buttons in JToolbar look different after switching from java 1.4 to 1.5

    Hi *,
    after we've switched from jdk1.4 to the current 1.5 version, the buttons in the JToolbars of my gui application look a little bit different. Under 1.4 they look quadratic, under 1.5 they gained width. As well the spaces between the buttons increased noticable.
    What's the problem? What can I do to fix it?
    Any ideas?
    Thanks in advance for your suggestions!
    Best regards,
    Patrick

    Java 1.5 updated some look and feels. That is probably what is causing the difference.

  • 3rd gen iPod touch. I just get a blank screen (after a few secs of the apple symbol) when it is switched on or when connected for charging. I know the connections are OK. Suggestions/help please

    3rd gen iPod touch. I just get a blank screen (after a few secs of the apple symbol) when it is switched on or when connected for charging. I know the connections are OK. Suggestions/help please

    I took the iPod to the local Apple shop. The guy put the iPod onto a docking station and checked it - answer "connections are OK". I have used the link before but have not gone through all its suggestions (although picked on the most relevant ones). I may have to go back. Thanks again for your suggestions

  • Illustrator CS6 doesn't open after installing Yosemite (Java issue)

    Illustrator CS6 can't open and gives  message "need to install the legacy Java SE6 runtime" and gives Apple link to Java program. But even after installing latest java CS6 doesn't work. What can I do? ?

    Claudia,
    Here is a direct download link that should work:
    http://support.apple.com/kb/DL1572
    Some have found that the page may turn up blank to start with, so it may be necessary to reload the page.
    Others have found that it may depend on browser. Specifically, a switch from Safari has solved it in one case.

  • Why have many of my add-ons and extensions been disabled after switching to firefox 6

    Many of my add-ons and extensions have been disabled after switching to Firefox 6.
    None of the Java extensions can be used;
    my Microsoft frame is disabled;
    my media player is gone;
    and my google toolbar with all of my important bookmarks is missing.
    How can Firefox 6 be considered an "upgrade"?
    How can I '''retrieve Firefox 4 or 5'?''--there's no point in using a browser that limits so many necessary add-on sites!

    Hi, mhaoo7--
    Tried your plugins updating suggestion; no go.
    Then tried updating to FF7.
    This time the Yahoo! toolbar was no longer compatible with FF.
    Scoured sites discussing problems with versions 6 & 7
    and decided to retire to version 3.6.19.
    Now both Google and Yahoo! toolbars are re-installed and
    working....Only deficit may be that FF no longer supports or
    soon will not support this version.
    I have stashed all of my necessary bookmarks on Google's toolbar;
    I like its drop-down menu as it doesn't change the page/window I'm
    in the process of using;
    I don't want to see that menu listed separately in a new window (too chaotic).
    Same for the Google dictionary and Thesaurus, which are straightforward
    and easy to use, again requiring nothing more complicated than a drop-down menu
    to search for words and concepts.
    --I checked Firefox 6 and 7's Dictionary/Thesaurus options but unfortunately
    found none.
    So if Firefox continues to upgrade with diminished returns, I'll likely have to go
    to Google Chrome.
    Would rather not do that.
    Maybe I can keep FF 3.6.19 without incurring nasty repercussions.
    Hope so.
    Have enjoyed being with Firefox for a few years.
    Thank you for your attention.
    marlem388

  • How do I go frame to frame after a few seconds?

    Hello,
    I'm new here so forgive any mistakes or lack of knowledge.
    (Brief history: I have programmed in Pascal before, currently learning Java and Flash)
    So my question is i want to be able to move from frame to frame after X amount of seconds. I have searched online for coding on how to do this with the action script and managed to get the first frame working. The problem occurs with my 5th frame as frame 1 goes to frame 5 in 5 seconds but when i want frame 5 to go to frame 10 in 10 seconds it decides not to work.
    Below is the code i used in order to accomplish the first frame:
    stop();
    var myTimer:Timer = new Timer(5000, 1);
              myTimer.start();
        myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, function(e:TimerEvent)
            play();
    If there is a problem with the code or if there is an alternative way for better practice please do let me know.
    My 5th frame code:
    stop();
    var myTimer2:Timer = new Timer(5000, 1);
      myTimer2.start();
        myTimer2.addEventListener(TimerEvent.TIMER_COMPLETE, function(e:TimerEvent)
            play();
    Thanks in advance. If anyone is struggling to understand my question, apologies because i am really bad when it comes to structuring sentences.

    You should not have to create more than one timer for this.  Also, you should not be building the event handler function into the listener, keep it as a separate function.
    In frame 1 you could have...
         stop();
         var myTimer:Timer = new Timer(5000, 1);
         myTimer.start();
         myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, moveOn);
         function moveOn(e:TimerEvent):void {
               play();
    and all you would need in frame 5 would be....
         stop();
         myTimer.start();

  • Blank Screen after Hibernate

    Hi,
    On my DV6-3085 I sometimes power up by opening the lid and get a blank screen after a few seconds.
    The screen will say Starting Windows, flash and then go blank. At this point the finger print scanner is still working and responds but you cannot obliviously see anything.
    I fairly suspicious this happens after the laptop has not been used for a little while (overnight) after a lid close, so the Sleep light has stopped flashing and the laptop is in hibernate mode.
    My guess is it is something to do with switching graphics adapters. I've not yet decided if plugging the power in first does or does not make a difference or being on battery or AC when the lid was closed.
    I've got the latest drivers according to the HP driver update utility.
    Anyone with the same problem or have a solutions?
    Thanks,
    Dean.

    Hi,
    On my DV6-3085 I sometimes power up by opening the lid and get a blank screen after a few seconds.
    The screen will say Starting Windows, flash and then go blank. At this point the finger print scanner is still working and responds but you cannot obliviously see anything.
    I fairly suspicious this happens after the laptop has not been used for a little while (overnight) after a lid close, so the Sleep light has stopped flashing and the laptop is in hibernate mode.
    My guess is it is something to do with switching graphics adapters. I've not yet decided if plugging the power in first does or does not make a difference or being on battery or AC when the lid was closed.
    I've got the latest drivers according to the HP driver update utility.
    Anyone with the same problem or have a solutions?
    Thanks,
    Dean.

  • Remove blank frame in swf file?

    Hi. I made a simple swf file in flash lite 1.1 with clock. But when i open it after publishing, it has that ''blank frame'', which is refreshing constantly and flikrers between my image and white background. Does anyone know how to remove it, and/or how to insert my image into the stage without being that blank frame visible? I use macromedia flash 8... In case someone wants to look at it, heres the code i used to create the clock, and my swf:                                                                                                                                                                                                                                                                                                

    Ok, i'll try to explain. When you open Macromedia Flash, it automatically creates white stage/document. But i dont need it, so i import my own image to the stage, then i make that clock and publish swf file. Then when i open swf it blinks between white frame and my image. So im pretty sure this white frame is that white stage, created at the beginning. I just dont know how to get rid of that whit stage before i open my image, or maybe i just import my image in the wrong way, i dont know. And, no, it doesnt affect the clock, its working fine, except that it never shows the right font (if i create clock with lets say Verdana, when i open swf its always Arial). About code, i found tutorial by google, that tutorial gives me that code. I have no idea how its made and whats wrong with it, im just a beginner and trying to learn all that stuff. I attached swf in my first post. Thank You.

  • Blank page after submitting.

    Hi all the Java Geeks can any one help me with this,<br>
    <br>
    I am getting a blank page after hitting the submit button. can you help me finding a solution for this in the JSP page or tell me where the error is.
    <br>
    <br>
    <br>
    <br>
    <br>
    <%@page contentType="text/html;charset=UTF-8" %><br>
    <%@page import="oracle.portal.provider.v2.render.*" %><br>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %><br>
    <%@page import="oracle.portal.provider.v2.PortletDefinition" %><br>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %><br>
    <%@page import="java.sql.*, javax.sql.*, java.util.*, oracle.jdbc.*, oracle.jdbc.pool.*, oracle.jdbc.oci.*" %><br>
    <br>
    <%<br>
    PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);<br>
    RenderContext rc = portletRequest.getRenderContext();<br>
    PortletDefinition pd = portletRequest.getPortletInstance().getPortletDefinition();<br>
    %><br>
    <br>
    <%!
         String tree_descrip;<br>
         String tree_descrip_long;<br>
         String     curr_Scheme;<br>
         String     overl_gif;<br>
         String     curr_css_path;<br>
    // page param<br>
         String     p_number_val= "1";<br>
         String     p_period_val= "Day";<br>
    %><br>
    <br>
    <%<br>
         String     long_desc = "LONG";<br>
         String     Descrip = "SHORT";<br>
         String     treeDescrip= "%SUBMISS%OLDER%";<br>
         String     curr_treeCateg = "SUB";<br>
    <br>
    try<br>
    {<br>
              curr_Scheme = getInfo.getSchem.getSchem();<br>
              overl_gif = "/images/smmj_page_obj/" curr_Scheme "images/prefreshdefault.gif";<br>
              curr_css_path = "/images/smmj_page_obj/" curr_Scheme "css/param_jsp.css";<br>
    <br>
              tree_descrip = getInfo.getPortletTitle.getPortletTitle          ( Descrip , treeDescrip , curr_treeCateg);<br>
              tree_descrip_long = getInfo.getPortletTitle.getPortletTitle          ( long_desc , treeDescrip , curr_treeCateg);<br>
    }<br>
    catch(Exception e)<br>
    {<br>
    tree_descrip = "";<br>
    tree_descrip_long = "";<br>
    }<br>
    %>
    <br>
    <%
    // Get page param p_number_val
    try
    p_number_val = request.getParameterValues("p_number")[0];
    catch(Exception e)
    p_number_val = "1";
    // Get page param p_period_val
    try
    p_period_val = request.getParameterValues("p_period")[0];
    catch(Exception e)
    p_period_val = "Day";
    %>
    <br>
    <HTML>
    <HEAD>
    <link href="<%= curr_css_path %>" rel="stylesheet" type="text/css" media='' screen=''/>
    <SCRIPT LANGUAGE="JavaScript1.1" SRC="/images/smmj_page_obj/Popup/overlib.js"></SCRIPT>
    </HEAD>
    <BODY>
    <br>
    <TABLE WIDTH=100% summary="<%= tree_descrip %>" border="0" cellspacing="0" cellpadding="3" BGCOLOR="#FFFFFF" >
    <TR WIDTH="100%" height="6px"><td height="6px" COLSPAN="6" ></td></TR>
    <TR WIDTH="100%" >
         <td ALIGN="LEFT" nowrap ></td>
         <td ALIGN="LEFT"      style="font-family:Verdana; font-size:8pt;font-weight:normal"      nowrap class="smmjPort2HeadJS"><span>  CYCLE NAME</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>ID</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>FIRM NAME</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>BILLING PERIOD</span></td>
         <td ALIGN="RIGHT"      style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS0"><span>AGE</span></td>
    </TR>
    <%= getOlderSubs( p_number_val, p_period_val , "dev", portletRequest.getUser().getName(), "close_connect") %>
    </table>
    <TABLE><TR><TD>
         <%=p_number_val%>
         <br>
         <%=p_period_val%>
         <br>
         <%=portletRequest.getUser().getName()%>     
    </TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    <br>
    <br>
    <br>
    <%!<br>
         private String getOlderSubs( String cnumb, String cperiod, String cstring, String userid, String cState) throws SQLException<br>
         {<br>
              CallableStatement cstmt;<br>
              ResultSet cursor;<br>
              int spacerLine = 1;<br>
              int retStrC = 1;<br>
              String retStr = "f";<br>
              String retStr2 = "f";<br>
              String retStr3 = "f";<br>
              String retStr4 = "f";<br>
              String ALLretStr = " ";<br>
              String TempretStr = " ";<br>
    String userstring = getInfo.getPortlUser.getPortUsr("B", "1");<br>
    String pwstring = getInfo.getPortlUser.getPortUsr("B", "2");<br>
    String CNNstring = getInfo.getPortlUser.getPortUsr("B", "3");<br>
    <br>
              String PROXY_user_name = "test$" + userid;<br>
              //String PROXY_user_name = "test1$roger" ;<br>
                   String url= "jdbc:oracle:oci:@" + CNNstring;<br>
              Properties prop = new Properties();<br>
    <br>
    try {<br>
                        if ( userid.trim().toUpperCase().equals(getInfo.getCONN.chkPortal.trim().toUpperCase()) )<br>
                             {<br>
                                  ALLretStr = "<tr><td>Default user: " + userid + "</td></tr>";
                             }<br>
    <br>
                   else<br>
                   {<br>
                   // Create an OracleOCIConnectionPool instance with default configuration<br>
                   OracleOCIConnectionPool cpool = new OracleOCIConnectionPool(userstring, pwstring , url, null);<br>
                        Properties proxUserProp = new Properties();<br>
                        proxUserProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME, PROXY_user_name);<br>
                        OracleConnection conn__OCI      = cpool.getProxyConnection<br>(OracleOCIConnectionPool.PROXYTYPE_USER_NAME, proxUserProp);<br>
                        cstmt = conn__OCI.prepareCall ("begin PORT_CURSOR.s_submission_wip( ?,?,?,?,? ); end;");<br>
                        cstmt.setString(2, cnumb);<br>
                        cstmt.setString(3, cperiod);<br>
    <br>
                        cstmt.setInt(4, retStrC);<br>
                        cstmt.setString(5, retStr3);<br>
    <br>
                        cstmt.registerOutParameter (4, Types.NUMERIC);<br>
                        cstmt.registerOutParameter (5, Types.VARCHAR);<br>
                        cstmt.registerOutParameter(1, OracleTypes.CURSOR);<br>
                        cstmt.execute();<br>
                        retStrC = cstmt.getInt (4);<br>
                        retStr3 = cstmt.getString (5);<br>
    <br>
                        retStr = "<tr class=OraDataText><td>  " + retStrC + "</td></tr>";<br>
                        retStr = retStr + "<tr class=OraDataText><td>  " + retStr3 + "</td></tr>";<br>
    <br>
    if ( retStrC == -1 ) { ALLretStr = ALLretStr + retStr; }<br>
                                  else<br>
                                  {<br>
    <br>                                   cursor = ((OracleCallableStatement)cstmt).getCursor(1);<br>
                        while (cursor.next ())<br>
    {<br>
    if (spacerLine >= 2)<br>
    {<br>
    ALLretStr = ALLretStr + "<tr><td ALIGN=LEFT nowrap ></td><td colspan=5 height=1 <div id=ssubLine> <div id=ssubLinet></div> </div> </td></tr>";<br>
              }<br>
    ALLretStr = ALLretStr + "<tr WIDTH=100% class=smmjPort2Text <br>><td ALIGN=LEFT nowrap ></td><td ALIGN=LEFT>  " + cursor.getString(1) + "</td><td ALIGN=CENTER>" + cursor.getInt(2) + "</td><td ALIGN=CENTER>" + cursor.getString(3) + "</td><td ALIGN=CENTER>" + cursor.getString(4) + "</td><td ALIGN=RIGHT>" + cursor.getString(5) + "</td></tr>";<br>
    spacerLine++;<br>
    }<br>
    }<br>
              if (cState != null )<br>
                   { //return(retStr);<br>
    if (conn__OCI != null)      conn__OCI.close();<br>
    if (cpool != null)           cpool.close();<br>
              }}<br>
              return(TempretStr);<br>
         }<br>
         catch (SQLException e )<br>
                   {<br>
    String retErrStr = retStr + "<P> SQL Error: <PRE> " + e + " </PRE> </P> \n";<br>
    return(retErrStr);<br>
                   }<br>
              }<br>
    %><br>
    <br>
    <br>
    <br>
    Vijay.

    Vijay,
    Do you see any error messages on your application server console or the error log files?
    Thanks,
    Rashmi

  • Blank page after adding portlet from sample provider

    Hi All,
    Homepage not appearing after Login, tried adding Sample portlet to HomePage!
    I managed to configure and register the JPDK's Sample portlet provider as per the installation instructions.After configuration i tried the URL "http://yourserver/servlets/sample" and i got "Congratulations! You have successfully reached your Provider's Test Page"
    Then tried to add a sample portlet (Hellow Worls portlet) to one of the regions of the my homepage using the Navigator.
    Now, I'm not able to navigate to the home page after logging in from the portal Welcome page.
    I'm just seeing a blank page after login.
    This is the error i got in jserv.log file
    page/Unexpected exception in servlet
    java.lang.Exception: Invalid meta-data found in ProviderData process 4
         at oracle.webdb.page.ProviderData.parse(ProviderData.java, Compiled Code)
         at java.lang.Exception.<init>(Exception.java, Compiled Code)
         at oracle.webdb.page.ProviderData.parse(ProviderData.java, Compiled Code)
         at oracle.webdb.page.DataProcessor308.generatePage(DataProcessor308.java, Compiled Code)
         at oracle.webdb.page.DataProcessor308.process(DataProcessor308.java:2658)
         at oracle.webdb.page.PageBuilder.process(PageBuilder.java:684)
         at oracle.webdb.page.ParallelServlet.doGet(ParallelServlet.java:89)
    How can view the sample portlets from my home page?
    Any help would be greatly appreciated.
    Sapna

    Yes. I selected yes to Require Proxy .
    But no use. Where i'm doing wrong.
    Under Proxy settings in Global seeting i've given the following info.
    HTTP Server : alpha
    HTTP Server :80
    No Proxy Servers for Domains beginning with ALPHA
    URL Connection Time-Out (seconds) :0
    and in the provider edit page i set Require Proxy to 'YES'
    Thanks in advance
    Sapna

  • Why "com.sunopsis.graphical.frame.j: Wrapped exception java.lang.NullPoint"

    when click Model-><table>->control->error
    com.sunopsis.graphical.frame.j: Wrapped exception java.lang.NullPointerException said:
         at com.sunopsis.graphical.frame.bl.c(bl.java)
         at com.sunopsis.graphical.r.p.b(p.java)
         at com.sunopsis.graphical.r.x.actionPerformed(x.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

    faint!
    it is ok again after restart

  • After switching from SUNJVM to SAP JVM  on Netweaver 7.0 server

    After switching from SUNJVM to SAP JVM  on Netweaver 7.0 server the b2b application and the xcm configuration detail cannot be accessed
    it gives the following error.
    #1.5 #00059A3C7800006D0000002C000015980004B30C3E45830D#1322765072300#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#niit.com/b2b_niit#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##n/a##820feec01c4c11e1c79300059a3c7800#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server/WebRequests#Plain###application [b2b_niit] Processing HTTP request to servlet [action] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Cannot load the requested servlet [b2b_niit/servlet/action].
    Exception id: [00059A3C7800006D0000002A000015980004B30C3E457F63]#
    #1.5 #00059A3C7800006D0000002D000015980004B30C671A5D9B#1322765757605#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#niit.com/b2b_niit#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#0##n/a##1a892d501c4e11e1b99700059a3c7800#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###application [b2b_niit] Processing HTTP request to servlet [action] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Cannot load the requested servlet [b2b_niit/servlet/action].
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:330)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:354)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.NoClassDefFoundError: com/sap/isa/core/ActionServlet : cannot initialize class because prior initialization attempt failed
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
         at java.lang.Class.newInstance0(Class.java:310)
         at java.lang.Class.newInstance(Class.java:263)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:319)
         ... 14 more
    Caused by: java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
         at java.lang.Class.newInstance0(Class.java:310)
         at java.lang.Class.newInstance(Class.java:263)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:117)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         ... 4 more
    Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
         at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375)
         ... 13 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
         ... 17 more
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.tc.logging.Location.debugT(java.lang.String) of an object loaded from field com.sap.isa.core.logging.sla.IsaLocationSla.location of an object loaded from local variable 'this'
         at com.sap.isa.core.logging.sla.IsaLocationSla.debug(IsaLocationSla.java:583)
         at com.sap.isa.core.logging.sla.IsaLocationSla.<init>(IsaLocationSla.java:46)
         at com.sap.isa.core.logging.IsaLocation.getInstance(IsaLocation.java:52)
         at com.sap.isa.core.logging.StrutsLog.<init>(StrutsLog.java:25)
         ... 22 more

    Hi,
    That particualr error should be solved by adding the following parameter to your instance profile:
    jstartup/vm/parameters = -XX:-ExtendedExceptionMessages
    The issue is related to note 1693118
    Kind regards,
    Cathal

  • Why do I often get blank frames while acquiring images using external trigger under Windows 7?

    I'm using Windows 7, the latest LabVIEW and IMAQdx right now. The program was developed based on the example provided by LabVIEW. Everything ran well on Windows XP using internal trigger or external trigger. But when I wanted to run the program on a desktop with Win 7, I just cannot get the images continuously using the external trigger. Although I can get the images, the blank frames showed up very often. When I chose the internal trigger, there was no problem.
    Once I thought there might be something wrong with my program. But I tried the LabVIEW example to select the internal trigger mode and external trigger mode, it had the same problem.
    Is there anyone could give me some suggestions to solve this problem?
    Thanks!

    Hi Matt,
    The images are either "all blank" or "all good".
    The hardware setup is exactly the same.
    The blank images are not acquired periodically.
    Similar results were also seen when using MAX to control the camera.
    We found a solution to this problem. But we don't know how to explain it. When we were using the 5-Hz external trigger, we thought the video mode would not affect the image acquisition and therefore we left the video mode option as default (15 fps). But when we change the video mode to 7.5 fps or 30 fps, the problem disappeared. So now if we want to get rid of the blank frames while using the external trigger, we just need to choose the video mode other than 15 fps. Interestingly, when we switch back to the XP system, the camera also acquried inconsistent blank frames if we set the video mode at 15 fps.
    Thanks again for your help.
    Hubert 

  • Lost all ratings, playlists, etc... after switch to new pc.

    I know there are many topics like this, but I tried everything I found on the subject without any result.
    I bought a new pc and removed my harddrives from the old one to the new one.
    After reinstalling itunes and changing the location of the default itunes media map to the one where my old files are nothing happened.
    I then tried to import the 'iTunes Music Library.xml' file.
    (On a side note, took me a long time to find 'Import playlist' because the threads I was reading didn't mention to  press Ctrl+B to get the old menu bar back.)
    That didn't work. It imported all the music. But no playlists and the tracks lost their rating.
    I then removed the xml and the iTunes Library.itl and replaced them with  automatic backup files I have through crashplan.
    No results, even going back several versions of the back ups.
    The weird thing is these files say the last version of them is 2009 ?
    Before switching pc's I made sure the itunes media map was the one I was using,
    because I remember itunes changing it a couple of time back in the days after updates without asking.
    The location hadn't changed and everything in crashplan was backupped correctly.
    I've been messing with this for hours and I'm close to a panic attack knowing that I still have to connect my iphone for the first time.
    Something tells me that's gonna be misery too. Lost months of pictures etc after switching from 3GS to 5S.
    Anyway, if somebody knows how I can get years of playlists and ratings back, I would be very grateful.

    When itunes upgrades, it saves a copy of the current database in a folder named Previous iTunes Libraries.
    Copy & paste the mose recent one to the folder one level up, and rename it to get rid of the date.
    For example
    itunes/Previous itunes libraries/iTunes Library 2010-03-31.itl
    This shows my last upgrade was 31st March 2010.
    With itunes closed, copy that itl file and paste it in the itunes folder.
    Rename it so it looks like this
    iTunes Library.itl
    You'll have to delete the current (blank) itl file first.

Maybe you are looking for

  • Refresh a workbook via VBA

    Hi all, I have a workbook with a query inside and so far, users have to download this workbook, connect to SAP, and then refresh the query, changing the month. It's a simple sales report on a monthly basis. My idea is to create a vba macro, so the us

  • Business system is not seen in new business system window

    A Business system has been created by admin in SLD now when I try to declare the same BS as business system(manually .. new >  assign busines system), I dont see it in create business system window... please help

  • Updating iPhoto

    i am not able to update iPhoto. it says "This update is not available. You must have previously purchased the item being updated. Tap Buy to purchase it now." when actually the iPhoto already comes together with the macbook pro when i bought it. help

  • Oracle Problemetic query

    Hi All, I encountered a strange problem in oracle PL/SQL. I have a select query which fetches records from more than one table and it returns n rows lets say 1000 rows. Note: The tables used in select query have a constant data.At any time i query, i

  • What is the ploblem with this code?

    class lol Connection con; ResultSet rs; String query=""; String scno,bcrcno,prno,prdt,billamt,misamt,miscd,reconchg; lol() try{ Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String ServerName="127.0.0.1"; String portnum="1521"; Stri