Strange delay in modifying JPanel

Hi
Once the "Login" button is pressed, I want my JPanel to show the string "Connecting..." so I added a simple card panel to show either "Welcome" or "connecting...".
When the button is pressed, the code flows as expected, except that the card does not change until the Oracle database connection (from the checkUser method) returns. So basically, it only says "connecting..." after trying to connect. It's as if the JPanel/JFrame is not allowing any updates until the checkUser returns. checkUser just as a try block attempting to connect to a db.
Any ideas?
public void actionPerformed(ActionEvent ae) {
       // char array to store the password
          char[] charInputPassword;
       // Set the Panel to show "Connecting..."
          ((CardLayout)cardPanel.getLayout()).show(cardPanel, CONNPANE);
       // The text below appears in CMD window when logingButton button is pressed
       // but the card panel doesn't not change until the checkUser
       // procedure has completed. ???
       TextIO.putln("Panel should now show CONNPANE");
         if(ae.getSource() == loginButton) {
            inputUsername = usernameField.getText();
            charInputPassword = passwordField.getPassword();
         inputPassword = new String(charInputPassword);
         TextIO.putln("OK Pressed - Username is " + inputUsername);
         try {
           checkUser();
         } catch(Exception e) {
              TextIO.putln("CheckUser error: " + e.getMessage());
     }

Your action listener is invoked on the event dispatching thread, so until your method returns, that thread is blocked. In other words, by the time Swing gets a chance to update the GUI, it is too late.
An easy workaround is to wrap all the code following the modification of the GUI in a call to EventQueue.invokeLater(). Something like this:
public void actionPerformed(ActionEvent ae) {
    // Set the Panel to show "Connecting..."
    ((CardLayout)cardPanel.getLayout()).show(cardPanel, CONNPANE);
    if (ae.getSource() == loginButton) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                inputUsername = usernameField.getText();
                charInputPassword = passwordField.getPassword();
             inputPassword = new String(charInputPassword);
}Geoff

Similar Messages

  • Strange Delay with XGL and Beryl in popups

    I have a strange delay in Beryl with XGL. When I open a menu or the start many, or anything, it appears a strange slow motion delay. How can I get rid of it? It is ugly.

    Go inside the beryl Setting, because I know that there is an effect that does that.

  • Strange Chars after modify reports.sh NLS_LANG

    I had a problem when I modify NLS_LANG in reports.sh in linux. If i put NLS_LANG=PORTUGUESE_PORTUGAL.WE8MSWIN1252 my reports comes with strange some like greek characters. My database charset is WE8MSWIN1252.
    My database v$NLS_PARAMETERS are:
    NLS_DATE_LANGUAGE
    PORTUGUESE
    NLS_CHARACTERSET
    WE8MSWIN1252
    Anyone with same problem too?
    Thanks
    Joao

    Sorry,
    I forgot to mention that, I have already added 3of9 font in PPD files, by oversight i missed in my question.
    Even after adding I cannot print a report Arabic + Barcode + English character.
    I am able to print report either Arabic+English or Barcode + English and all three together NO.
    Please suggest..

  • Strange Black rectangle in JPanel

    I have created a program that uses 2 classes a driver class and a resource class. However, when I run the driver class, a window comes up with a strange black rectangle. To make things easier to understand, here are my two classes.
    Driver Class:
       import javax.swing.JFrame;
       public class ProjectDriver
          public static void main(String[] args)
             JFrame frame = new JFrame("Project");
             frame.setSize(1000, 700);
             frame.setLocation(0, 0);
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.setContentPane(new ProjectPanelMine());
             frame.setVisible(true);
       }Resource class:
       import javax.swing.*;
       import java.awt.*;
       import javax.swing.event.*;
       import java.awt.image.*;
       import java.awt.event.*;
        public class ProjectPanelMine extends JPanel{
          private int grow = (int)(Math.random() * 4);
          private static final ImageIcon EUCLID = new ImageIcon("euclid.png");
          private BufferedImage myImage;
          private Graphics2D myBuffer;
          private Timer t1,t2,t3;
          private int xpoints[]= {(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000)};
          private int ypoints[]={(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000)};
          private int wpoints[]= {(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000)};
          private int zpoints[]={(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000),(int)(Math.random()*1000)};
           public ProjectPanelMine(){
             myImage = new BufferedImage(1000,700, BufferedImage.TYPE_INT_RGB);
             myBuffer = (Graphics2D)myImage.getGraphics();
             t1 = new Timer(5, new Listener1());
             t2 = new Timer(3000, new Listener2());
             t2 = new Timer(5000, new Listener3());
             t1.start();
           public class Listener1 implements ActionListener{
              public void actionPerformed(ActionEvent event){
                if (Math.random()>.7){
                   grow = (int)(Math.random() * 4);
                             if(Math.random() > .5)
                             grow = -grow;
                             System.out.println(grow);
                myBuffer.setColor(Color.blue);
                myBuffer.drawRect(0,0,1000,700);
                myBuffer.drawImage(EUCLID.getImage(), 10, 10,152,188, null);
                myBuffer.setStroke(new BasicStroke(3.0f));
                xpoints[0] += grow; xpoints[0] += grow; xpoints[1] += grow;
                ypoints[0] += grow; ypoints[0] += grow; ypoints[1] += grow;
                wpoints[0] += grow; wpoints[0] += grow; wpoints[1] += grow; wpoints[2] += grow;
                zpoints[0] += grow; zpoints[0] += grow; zpoints[1] += grow; zpoints[2] += grow;
                    myBuffer.drawPolygon(xpoints, ypoints,3);
                myBuffer.drawPolygon(wpoints, zpoints,4);
                repaint();
           public class Listener2 implements ActionListener{
              public void actionPerformed(ActionEvent event){
           public class Listener3 implements ActionListener{
              public void actionPerformed(ActionEvent event){
           public void paintComponent(Graphics g){
             g.drawImage(myImage, 0,0,getWidth(),getHeight(), null);
       }And the result, again, is a frame with a black rectangle filling up most of my screen that I don't want.
    So, what is the problem?
    Thanks in advance,
    Eric

    However, when I run the driver class, a window comes up with a strange black rectangleBecause a newly created image starts off as black. The blue color fills in as you consecutively draw polygons.
    I would have a thin line of white around the strange black box. Because you did a drawRect instead of a fillRect.

  • Strange delay when executing procedures

    Hi,
    When migrating from SQL 2008 to SQL 2014 I come across a strange issue where some of our stored procedures always takes 500+ ms to execute (client side). The problem seems to be in the packet size together with the size of the columns.
    Executing the procedure below on the client takes 500 ms. Bu just removing one character from a field name and the issue dissappears.
    There is no delay if the test application is started on the SQL server itself - only on the clients. The firewall is off and there is no real time anti-virus running.
    Any help is welcome
    Regards
    Robert Warnestam / CODAB AB
    SET ANSI_NULLS OFF
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    alter Procedure [dbo].[co_Test1]
    AS
    SELECT
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx01L32xxxxxxxxxxxxxxxxxxxxxxxxxxx02",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx03L32xxxxxxxxxxxxxxxxxxxxxxxxxxx04",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx05L32xxxxxxxxxxxxxxxxxxxxxxxxxxx06",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx07L32xxxxxxxxxxxxxxxxxxxxxxxxxxx08",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx09L32xxxxxxxxxxxxxxxxxxxxxxxxxxx10",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx11L32xxxxxxxxxxxxxxxxxxxxxxxxxxx12",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx13L32xxxxxxxxxxxxxxxxxxxxxxxxxxx14",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx15L32xxxxxxxxxxxxxxxxxxxxxxxxxxx16",
    "1" as "L32xxxxxxxxxxxxxxxxxxxxxxxxxxx15L32xxxxxxxxxxxxxxxxxxxxxxxxxxx160123456789012345678901234567"

    Btw. We have the same delay using a non-virtualized client (win7)...
    There are a couple of mysteries here.  One is that connection pooling circumvents the problem.  I would expect the opposite.  The other is that decreasing the network packet size improves performance with larger results.  Again, I would
    expect the opposite.
    See if you can reproduce the issue with the code below, which gathers more detailed timings.  If so, can you run it against a physical SQL box too. 
    using System;
    using System.Data;
    using System.Data.Common;
    using System.Data.SqlClient;
    using System.Collections;
    using System.Collections.Generic;
    using Microsoft.SqlServer.Server;
    using System.Diagnostics;
    namespace SqlPerfTest
    class Program
    private const string CON_STRING = "workstation id=TEST;packet size=4096;data source=172.16.0.2;persist security info=True;initial catalog=XXX;User id=XXX;Password=XXX";;
    //pass proc name as command-line arg
    static void Main(string[] args)
    if (args.Length != 1)
    Console.WriteLine("specify SQL statement as command-line argument");
    Environment.ExitCode = 1;
    return;
    string sql = args[0];
    var totalDuration = Stopwatch.StartNew();
    for(int i = 1; i <= 100; ++i)
    using(SqlConnection conn = new SqlConnection(CON_STRING))
    using (SqlCommand command = new SqlCommand(sql, conn))
    var testDuration = Stopwatch.StartNew();
    var openDuration = Stopwatch.StartNew();
    conn.Open();
    openDuration.Stop();
    var execDuration = Stopwatch.StartNew();
    var reader = command.ExecuteReader();
    execDuration.Stop();
    var readDuration = Stopwatch.StartNew();
    var results = new object[reader.FieldCount];
    do
    while (reader.Read())
    reader.GetValues(results);
    } while (reader.NextResult());
    reader.Close();
    readDuration.Stop();
    testDuration.Stop();
    Console.WriteLine(
    "Iteration={0}, TestDuration={1}, OpenDuration={2}, ExecDuration={3}, ReadDuration={4}"
    , i
    , testDuration.Elapsed
    , openDuration.Elapsed
    , execDuration.Elapsed
    , readDuration.Elapsed
    totalDuration.Stop();
    Console.WriteLine(
    "AvgDuration={0}, TotalDuration={1}"
    , (new TimeSpan(totalDuration.Elapsed.Ticks / 100))
    , totalDuration.Elapsed);
    Console.ReadLine();
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Strange Behavior in modifying the values in VO

    I have a VO based on EO from a custom table. The query is something like:
    select EO.x, EO.y, (EO.x*EO.y) xy from EO
    I have displayed the values from this VO on to a table in OAF page. All the columns are messageTextInput but the third column (xy) is read-only. I have written a fireAction to execute when x or y values are changed to update the xy value accordingly.
    Code in CO:
    if ("ValueChange".equals(pageContext.getParameter(EVENT_PARAM)))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("UpdateXY");
    pageContext.forwardImmediately(<Same Page>, null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    Code in AM:
    public void UpdateXY()
    xxVOImpl vo = getxxVO1();
    Row r = vo.first();
    while (vo.hasNext())
    r = vo.next();
    Object X = r.getAttribute("X");
    String X_string = X.toString();
    float X_value = Float.parseFloat(X_string);
    Object Y = r.getAttribute("Y");
    String Y_string = Y.toString();
    float Y_value = Float.parseFloat(Y_string);
    Float XY = new Float(X_value*Y_value);
    r.setAttribute("XY",(Object)XY);
    The problem is as follows. During the first time I try to update a value, the control goes through the logic and returns to the page but the XY value is not updated. But if i change a second value and tab out, the codes works and displays both the updated values of XY. From then on, the code is working fine.
    I'm also not updating the first row and so I didnt perform any logic in AM for the first row.
    Please help me out in finding out the reason for this strange behavior.

    This nature is fine, basically initially your EO x and y columns are null and unless you do a commit, these values don't go in db. The third column will take x and Y coumns values from db and multiply and will get null.
    To solve this issue, you get the values from VO columns x and y in PPR and and put x*y in the third column of Vo, IN THAT ROW.or you can directly get hold of the bean which hold the value of x*y and use setValue after getting x*y.
    ---Mukul

  • Hi Release 9.01 is totally jittery with strange delay. How do i revert back to the previous release 8.x ??

    Delay & Jittery mouse movement, a delay after clicking on each tab. Browse window refuse to be restored from task bar. General slow jittery performance after upgrading to 9.01. Didn't have this problem with other release..

    (1) & (2) You can download 3.6.''last'' from http://www.mozilla.com/firefox/all-older but you raise a very good question about not losing your settings/preferences (e.g., bookmarks). You might want to search here for advice on that question. And of course, make a backup for safekeeping: [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    (5) & (6) Extensions are one kind of add-on (others are themes, userscripts, and more). The Tools > Add-ons dialog should show you which of your previously installed Firefox 3.6 extensions are NOT compatible with Firefox 4, but I'm not aware of a global list. There are a huge number of extensions, many of which fall by the wayside over time as better ones come along and as Firefox changes...

  • Strange delays in receiving Verizon-Yahoo emails

    This is very weird. I receive emails to my Windows Mail account fine and to my Verizon Wireless email program fine.
    However, when I send emails through Windows Mail or from my Verizon wireless using my Verizon email accounts (partnered with Yahoo) there are usually long delays off and and on, up to 6 hours. Tech Support has escalated the trouble ticket to Yahoo external services, but this has been going on for almost a week. They wanted to say it was in my Windows Mail program, but that would not explain the same problem in my WIreless account.
    The only way I have no problems sending emails is by sending them through the Verizon Yahoo web page.
    Does anyone have an understanding of this weird technical problem, since Verizon shows no server problems anywhere affecting my service area?
    Thanks!

    I did three screen shares with Verizon Tech Support and they insisted I contact Microsoft. On Thursday they told me they heard from Yahoo External Team that there was a problem but it had been fixed((!!). I thought on Friday morning it had been fixed,
    rejnr8 wrote:
    I have two email accounts under my main umbrella Vz account. We use Outlook 2007 on one computer to download and send email for one of the accounts and Outlook 2003 on another computer to do the same for the other account.  Both have been experiencing outgoing email delays, typically from 2 hours to (now) four days.  I called tech support on 11/3 and again on 11/4.  I was told, after much discussion both times, that it was the Outlook software.  I strongly contended it "couldn't be."  They gave me some things to do, like remove mail from the server Inbox (easily done), call Microsoft (Hah!), and re-install Outlook (huge pain).  Finally, after doing all the things I could think of, including downloading Eudora as an email client (only to get the same delay problem), I called back today.  They finally acknowledged that they have a problem: "Our engineers are working on it and it should be fixed in 24 hours."  I have been surviving by using the webmail version of Verizon/Yahoo mail and my BlackBerry, both of which avoid the delay.  But it is mighty inconvenient. I will be asking for a refund for 25% of my monthly bill.
    but it wasn't by Friday afternoon.
    I told them my Verizon Wireless was also affected so they escalated the case yesterday. As of now I only receive emails after several hours and the ones I send take several hours. I am still receiving emails that were send on Friday!
    Wonderful........so it's over to Gmail. Even when I synchronize gmail  accounts to the verizon accounts there is a delay. So for now it's over with Verizon.net emails and of course like you I shall insist on compensation.

  • Itunes 8.1.1.10 + vista = strange delays and high cpu

    I had this problem with 8.1 originally, but hoped it would fix itself with an upgrade it does not. I'm running a Dell Studio 1535 with Intel core 2 duo CPU [email protected] and 4GB ram. This machine has always been fairly zippy. It's running AVG + ZoneAlarm and it's free of virii.
    iTunes is very unresponsive. Taking several (up to 6) seconds to respond to commands. Those would be clicking a new song*, asking for one of the pulldown menu items, scrolling in coverview, etc. I looked at the task manager and I noticed that when iTunes is idle, just in the forground with the focus, it burns almost one complete cpu. The cpu runs for several seconds, takes a sharp dip and returns almost immediately back to almost 100%. I have a screenshot, but I don't think I can post it. I'm not talking about playing any music or anything. The rest of the computer is basically idle, but iTunes is cranking CPU for no apparent reason.
    Is anyone else having this problem? does anyone have any suggestions? I've had lots of problems with vista and itunes in the past, but this is too much. I'm really frustrated.
    Thanks
    Matt
    * When I say clicking a new song, I'm not talking about changing from one song to another. I'm simply trying to hilight a song and then select another one. It also takes forever to start or stop music playing.

    I just got off the phone with Apple Support. We did a long set of disabling/enabling services and start up programs and have isolated this problem to my fingerprint reader.
    Here is the support article that shows to to check for conflicts in vista.
    http://support.apple.com/kb/HT2292?viewlocale=en_US
    As a temporary work around I have disabled the startup item "DigitalPersona Personal" and the services item "Biometric Authentication Service" both by DigitalPersona, Inc.
    This disables my fingerprint reader but fixes the slowness in iTunes. I will contact DigitalPersona and see if they have updates to their software.

  • AE Strange "delayed reaction" network performance when on ethernet

    Hello,
    I recently replaced an old D-Link router with an AE and everything works great. I have my MBP set to mount my NAS on startup whether on Wi-Fi or ethernet. In both cases no issues EXCEPT for when I go on ethernet for the first couple of minutes. The connection to the NAS fails, and if I click on the NAS name on Finder (it still appears under SHARED) it will give me a "connection failed" message. If I re-mount the NAS manually using the IP address it works fine. That said, a few minutes after I've made the ethernet connection, everything does go back to normal and I can access my NAS from the SHARED section on finder. I'm really scratching my head on this one...any ideas?
    Thanks!

    Do NOT use a USB hub with an APE...
    I had two LaCie HDs, so I figure I connect them both with a USB hub. This was not a good idea. As soon as I removed the hub the network BW was at a steady 1-2Mb/s, with an occasional peak to 5Mb/s. Still way lower than the theoretical maximum, but hey, I guess you can't have it all.
    Thanks,
    Erwin

  • How to modify JPanels and JFrames

    http://java.sun.com/docs/books/tutorial/uiswing/painting/step1.html
    Hi, the window/frame shown above, how would i design a new one that did not have the windows-style blue border?

    I think you just need to use JWindow instead of JFrame.
    Bye.

  • Strange socket delay

    I'm experiencing a strange delay with sockets. I've reproduced it with a simple client/server "C" program. Is this a good forum to post the code or should I try somewhere else?
    John

    what is it a timer?? a property from Socket Class or just another class??
    and thanks for the answer!!!

  • Sending a JPanel to the printer...

    All,
    I wasn't sure if this was the appropriate forum for this, but I couldn't find one specific to printint to a printer.
    I'm trying to send a JPanel to a printer.
    I have the following routine which seems to more or less work, but exhibits a few problems. I've gotten most of the code off a website.
    public class PrintUtilities implements Printable {
      private Component componentToBePrinted;
      public static void printComponent(Component c) {
        new PrintUtilities(c).print();
      public PrintUtilities(Component componentToBePrinted) {
        this.componentToBePrinted = componentToBePrinted;
      public void print() {
        PrinterJob printJob = PrinterJob.getPrinterJob();
        printJob.setPrintable(this);
        if (printJob.printDialog())
          try {
            printJob.print();
          } catch(PrinterException pe) {
            System.out.println("Error printing: " + pe);
      public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
        if (pageIndex > 0) {
          return(NO_SUCH_PAGE);
        } else {
          Graphics2D g2d = (Graphics2D)g;
          g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
          disableDoubleBuffering(componentToBePrinted);
              // scale to fill the page       
              double dw = pageFormat.getImageableWidth();
              double dh = pageFormat.getImageableHeight();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              double xScale = dw / screenSize.width;
              double yScale = dh / screenSize.height;
              double scale = Math.min(xScale,yScale);
              // center the chart on the page
              double tx = 0.0;
              double ty = 0.0;
              if (xScale > scale)
                  tx = 0.5*(xScale-scale)*screenSize.width;
              else
                  ty = 0.5*(yScale-scale)*screenSize.height;
              g2d.translate(tx, ty);
              g2d.scale(scale, scale);
              componentToBePrinted.paint(g2d);
              enableDoubleBuffering(componentToBePrinted);
              return Printable.PAGE_EXISTS;
      /** The speed and quality of printing suffers dramatically if
       *  any of the containers have double buffering turned on.
       *  So this turns if off globally.
       *  @see enableDoubleBuffering
      public static void disableDoubleBuffering(Component c) {
        RepaintManager currentManager = RepaintManager.currentManager(c);
        currentManager.setDoubleBufferingEnabled(false);
      /** Re-enables double buffering globally. */
      public static void enableDoubleBuffering(Component c) {
        RepaintManager currentManager = RepaintManager.currentManager(c);
        currentManager.setDoubleBufferingEnabled(true);
    }Now I get things to print by calling the printComponent method and passing in my JPanel. No problem, the scaling and all works.
    However, whether I scale things to fit the page, or remove that code, I get some strange behavior.
    The JPanel has a few JLabels scattered about in a GridBagLayoutt, in three general columns.
    However, I've noticed that some of the items in each column get truncated and have "..." tacked onto the end. But it doesn't do this to just the longest items, it also does it to shorter items, even if a longer one in the same column was NOT truncated in this manner.
    So, what I'll have in one column is something like:
    A long line that's been truncated...
    a short line, no problem
    a short line truncated...
    longer than above, not truncated
    On screen, it's normal. Printed out, those weird truncations occur.
    Why is this happening? There's plenty of room, and each of the lines that are getting truncated could easily be 1-1/2 times their length without the danger of bumping into the next column.
    Is there any way to for me to force it to print the entire line?
    Thanks!

    ADDENDUM: Another problem I'd like to solve is that, the JPanel is gray with black text. I'm fine with that onscreen, but when it prints out, it prints a gray rectangle for the panel, with black text on it. Is there any way I can have this not print out the background as well (ie: treat background as white and only print the text that's on the JPanel?)

  • Image problems when importing modified Iphoto pictures to aperture 3

    I seem to have a bit of strange problem with modified pictures after they are imported in A3.
    I am using Iphoto 8.1.1 and have just bought Aperture 3. I decided to import all my iphoto pictures using the import iphoto library function.
    I noticed that all images that had (in iphoto) been edited using the retouch function to reduce blemishes have problems in Aperture. The problem appears to be where the brush was used is now pixilated in that area and it just looks like a cluster of "noise". This only seems to happen when I used the import iphoto library. I tried to replicate the issue importing some of the same pictures individually and there was no issue. Than I made a new library tried to import iphoto library and same issue ones again. Exporting the picture out of aperture keeps this error. It's quite a worry as I have several hundred of these pictures and I am not sure what to do. Any suggestions?
    Please have a look at the links below for an example of before and after import.
    http://files.me.com/dan_801/rlebic (the original file)
    http://files.me.com/dan_801/s0zn6d (after importing into A3)

    ok quick update - I opened up the aperture library in finder and located the image. The master appears to be the correct image but in Aperture itself it's showing a different image. The picture in Aperture appears to be pointing to the preview directory within the library structure. I tried re building the review and thumb and same issue again. When I export from aperture it also seems to export the preview version as oppose to the master. How do i fix this issue

  • Bootup: long delay before sysinit.target.

    My system seems to have a strange delay during boot that I don't know how to account for. In the SVG plot, there is a long delay before `sysinit.target` comes on, but it doesn't seem that anything is blocking it.
    Also, systemd-blame shows everything starting prety quickly.
    1.332s lightdm.service
    1.255s systemd-logind.service
    1.254s avahi-daemon.service
    1.150s systemd-update-utmp.service
    539ms NetworkManager.service
    437ms [email protected]
    393ms accounts-daemon.service
    360ms systemd-udev-trigger.service
    323ms systemd-tmpfiles-setup.service
    316ms systemd-vconsole-setup.service
    316ms dev-hugepages.mount
    316ms dev-mqueue.mount
    316ms sys-kernel-debug.mount
    295ms kmod-static-nodes.service
    276ms ntpd.service
    231ms systemd-sysctl.service
    224ms [email protected]
    216ms systemd-user-sessions.service
    176ms polkit.service
    170ms systemd-journal-flush.service
    127ms systemd-random-seed.service
    127ms rtkit-daemon.service
    111ms upower.service
    98ms colord.service
    90ms sys-kernel-config.mount
    82ms systemd-backlight@acpi_video0.service
    67ms sys-fs-fuse-connections.mount
    66ms systemd-tmpfiles-setup-dev.service
    55ms wpa_supplicant.service
    53ms dev-sda2.swap
    33ms alsa-restore.service
    30ms udisks2.service
    3ms systemd-remount-fs.service
    2ms tmp.mount
    2ms systemd-udevd.service
    2ms systemd-tmpfiles-clean.service
    And here is what the journal says in that time gap (nothing):
    Dec 26 07:39:51 yvne systemd[1]: Starting Swap.
    Dec 26 07:39:51 yvne systemd[1]: Reached target Swap.
    Dec 26 07:40:26 yvne systemd[1]: Starting System Initialization.
    Dec 26 07:40:26 yvne systemd[1]: Reached target System Initialization.
    Last edited by shawnjgoff (2013-12-26 13:13:19)

    My system seems to have a strange delay during boot that I don't know how to account for. In the SVG plot, there is a long delay before `sysinit.target` comes on, but it doesn't seem that anything is blocking it.
    Also, systemd-blame shows everything starting prety quickly.
    1.332s lightdm.service
    1.255s systemd-logind.service
    1.254s avahi-daemon.service
    1.150s systemd-update-utmp.service
    539ms NetworkManager.service
    437ms [email protected]
    393ms accounts-daemon.service
    360ms systemd-udev-trigger.service
    323ms systemd-tmpfiles-setup.service
    316ms systemd-vconsole-setup.service
    316ms dev-hugepages.mount
    316ms dev-mqueue.mount
    316ms sys-kernel-debug.mount
    295ms kmod-static-nodes.service
    276ms ntpd.service
    231ms systemd-sysctl.service
    224ms [email protected]
    216ms systemd-user-sessions.service
    176ms polkit.service
    170ms systemd-journal-flush.service
    127ms systemd-random-seed.service
    127ms rtkit-daemon.service
    111ms upower.service
    98ms colord.service
    90ms sys-kernel-config.mount
    82ms systemd-backlight@acpi_video0.service
    67ms sys-fs-fuse-connections.mount
    66ms systemd-tmpfiles-setup-dev.service
    55ms wpa_supplicant.service
    53ms dev-sda2.swap
    33ms alsa-restore.service
    30ms udisks2.service
    3ms systemd-remount-fs.service
    2ms tmp.mount
    2ms systemd-udevd.service
    2ms systemd-tmpfiles-clean.service
    And here is what the journal says in that time gap (nothing):
    Dec 26 07:39:51 yvne systemd[1]: Starting Swap.
    Dec 26 07:39:51 yvne systemd[1]: Reached target Swap.
    Dec 26 07:40:26 yvne systemd[1]: Starting System Initialization.
    Dec 26 07:40:26 yvne systemd[1]: Reached target System Initialization.
    Last edited by shawnjgoff (2013-12-26 13:13:19)

Maybe you are looking for

  • IPhone 5 skips the wifi set up when setting up from new

    My iPhone 5 skips setting up WiFi when setting up from new. I restored my iPhone because since I have owned it WiFi has not worked so I decided to do a restore to get it to go through the setup process but it skips it. Does this mean that the WiFi ch

  • Important for users of JVC HDD Camcorder and iMovie HD

    I've been having problems using iMovie HD to open my JVC HDD camcorder's videos. Some of you have been very kind in pointing me in a few directions. I thought I'd try and return the favor: I downloaded MPEG Streamclip and the MPEG-2 Playback Componen

  • Get read-only error when trying to create via CI

    I have created a component interface of the VCHR_EXPRESS component (along with the proper component fix for an initialization issue). I had VS generate a create_ex XML schema to be used by BizTalk (PS adapter) to create a new voucher. When I try to e

  • Pass array as a parameter

    I am trying to make a method that compare and return the smallest number in the array.But it doesn't work. Thanks! // The "Pass" class. import java.io.*; import java.lang.*; public class Pass     public static void main (String [] args)         int [

  • What program do I download to open word excel documents?

    I am not sure what program to purchase to be able to download & print Word & Excel documents.  Thank you for your help!