Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] No such file or directory

Hi,

 

I am using Eclipse version:

Eclipse Java EE IDE for Web Developers.

 

Version: Kepler Release

Build id: 20130614-0229

 

 

I use maven plugin for Eclipse:

 

M2e 1.4.0

M2e –wtp 1.0.0.20130612-1742

 

I am using git as versioning system.

 

When I did a rebase of my code the following message started to appear for my pom.xml

 

“No such file or directory”.

 

I finished rebase and could run:

 

Maven install, compile and test targets. No problem. But the file is still announced as it does not exist.

 

I closed project and imported project as

 

“Existing Maven Projects”

 

And there is no problem importing it but I still get this error messge.

 

I checked the eclipse .log and found the following:

 

!ENTRY org.eclipse.m2e.logback.appender 4 0 2013-08-16 09:07:20.682

!MESSAGE Could not read pom.xml

 

I checked my git repos and the file is definitely there.

 

Any ideas?

 

Additional Note:

 

I rebooted server ( Linux)  and now I cannot even  see the pomx.xml

 

In log I have:

 

!SESSION 2013-09-17 08:43:22.041 -----------------------------------------------

eclipse.buildId=4.3.0.I20130605-2000

java.version=1.7.0_13

java.vendor=Oracle Corporation

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Framework arguments:  -product org.eclipse.epp.package.jee.product

Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -clean -data /home/eraonel/jcat_lab_workspace

 

This is a continuation of log file /home/eraonel/jcat_lab_workspace/.metadata/.bak_0.log

Created Time: 2013-09-17 08:45:16.205

 

!ENTRY org.eclipse.ui 4 0 2013-09-17 08:45:16.209

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.NullPointerException

        at org.eclipse.ui.forms.widgets.FormToolkit$BorderPainter.paintControl(FormToolkit.java:152)

        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:230)

        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)

        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)

        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)

        at org.eclipse.swt.widgets.Control.gtk_expose_event(Control.java:3165)

        at org.eclipse.swt.widgets.Composite.gtk_expose_event(Composite.java:726)

        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2090)

        at org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)

        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)

        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)

        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8707)

        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)

        at org.eclipse.swt.internal.gtk.OS._gdk_window_process_all_updates(Native Method)

        at org.eclipse.swt.internal.gtk.OS.gdk_window_process_all_updates(OS.java:5612)

        at org.eclipse.swt.widgets.Display.update(Display.java:4522)

        at org.eclipse.jface.window.Window.runEventLoop(Window.java:833)

        at org.eclipse.jface.window.Window.open(Window.java:802)

        at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:334)

        at org.eclipse.m2e.core.ui.internal.dialogs.MavenMessageDialog.openWithSeverity(MavenMessageDialog.java:98)

        at org.eclipse.m2e.editor.pom.FormUtils$1.run(FormUtils.java:250)

        at org.eclipse.m2e.editor.pom.FormUtils$2.mouseUp(FormUtils.java:273)

        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)

        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)

        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)

        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)

        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)

        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                                                                                                  

 

Br,

 

//mike


Back to the top