Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339008

Summary: Eclipse starts with errors then won't open project. GLib-GObject-CRITICAL
Product: [Eclipse Project] Platform Reporter: bugwhackerjd <jamloraus>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: francisu, prakash, remy.suen
Version: 3.5.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Eclipse Log file
none
The real eclipse log file. none

Description bugwhackerjd CLA 2011-03-05 09:18:47 EST
Build Identifier: Version: 3.5.2 Build id: M20100211-1343

Eclipse was working previously. Then today, it gave some sort of language error. Closed it. Now it opens, but won't open my projects.  I uninstalled/reinstalled. Same problem. When I click File | Open and navigate to my workspace or project, it won't open the entire project, just one file.  Here is output of eclipse -debug:

eclipse -debug
Start VM: /usr/bin/java
-Xms128m
-Xmx512m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1208.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata 308023
-debug
-vm /usr/bin/java
-vmargs
-Xms128m
-Xmx512m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 
Install location:
    file:/usr/lib/eclipse/
Configuration file:
    file:/usr/lib/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/jdadmin/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/
Configuration file:
    file:/home/jdadmin/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/config.ini loaded
Shared configuration location:
    file:/usr/lib/eclipse/configuration/
Framework located:
    file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
Framework classpath:
    file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
Splash location:
    /usr/lib/eclipse/plugins/org.eclipse.platform_3.3.202.v201002111343/splash.bmp
No protocol specified

(.:5644): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(.:5644): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(.:5644): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:5644): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:5644): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed

(.:5644): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:5644): Gdk-CRITICAL **: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:5644): Gdk-CRITICAL **: gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed

(.:5644): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed

(.:5644): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed

(.:5644): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

(.:5644): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed

(.:5644): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `GDK_IS_WINDOW (window)' failed

(.:5644): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `GDK_IS_WINDOW (window)' failed

(.:5644): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
No protocol specified

(.:5623): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(.:5623): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(.:5623): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(.:5623): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'

(.:5623): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(.:5623): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:5623): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(.:5623): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Gtk-CRITICAL **: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed

(.:5623): Gtk-WARNING **: Invalid icon size 6


(.:5623): Gtk-CRITICAL **: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(.:5623): Gtk-WARNING **: Error loading theme icon 'gtk-dialog-error' for stock: 

(.:5623): Gtk-CRITICAL **: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed

(.:5623): Gtk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gtk/gtkstyle.c:2355: invalid icon size '6'

(.:5623): Gtk-CRITICAL **: gtk_style_render_icon: assertion `pixbuf != NULL' failed

(.:5623): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(.:5623): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(.:5623): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(.:5623): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(.:5623): Gdk-CRITICAL **: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Gdk-CRITICAL **: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed

(.:5623): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(.:5623): Pango-CRITICAL **: pango_layout_get_line_count: assertion `layout != NULL' failed
Floating point exception


Reproducible: Always

Steps to Reproduce:
1. Open Eclipse
2. No way to open project.
3.
Comment 1 bugwhackerjd CLA 2011-03-05 17:05:52 EST
Created attachment 190478 [details]
Eclipse Log file

I tried to load my workspace and got errors again. Managed to get the log file. It is attached.
Comment 2 Francis Upton IV CLA 2011-03-05 17:10:43 EST
(In reply to comment #1)
> Created attachment 190478 [details]
> Eclipse Log file
> 
> I tried to load my workspace and got errors again. Managed to get the log file.
> It is attached.

This does not look like an Eclipse log file, or it looks like only part of it (without anything useful). It looks like it has a bunch of CORBA IIOP IOR files, not sure what's making that. Did anything in your system change (taking software updates for example) prior to the failure?

You will want to look in the configuration folder or your Eclipse installation to see if there are any log files present there, and also in workspace/.metadata/ folder for log files there.
Comment 3 bugwhackerjd CLA 2011-03-05 17:11:47 EST
Created attachment 190479 [details]
The real eclipse log file.

Tried to delete the other file, but couldn't find a way.  This is the real eclipse log file. This is after trying to open the workspace from the File menu.
Comment 4 Francis Upton IV CLA 2011-03-05 17:16:10 EST
I don't see anything remarkable in the log file (your last startup looked pretty clean). Can you elaborate more on the exact problem you are having? What type of project are you trying to open and what does it look like after you open it? Can you provide a screenshot?
Comment 5 Prakash Rangaraj CLA 2011-03-29 04:18:05 EDT
(In reply to comment #4)
> I don't see anything remarkable in the log file (your last startup looked
> pretty clean). Can you elaborate more on the exact problem you are having? What
> type of project are you trying to open and what does it look like after you
> open it? Can you provide a screenshot?

Please reopen when you have answers for these questions.