Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Console view causes null pointer exception(Console view causes null pointer exception)
Console view causes null pointer exception [message #666252] Tue, 19 April 2011 15:47 Go to next message
D.U.C Aps is currently offline D.U.C Aps
Messages: 3
Registered: April 2011
Junior Member
Hi.

I am using linux with the newest kernel and the newest updated version of eclipse (Helios), and I use axis2 version 1.5.1 (I am not allowed to use a newer version) and tomcat 6.

I get an error when following the tutorial from this url:

http://www.eclipse.org/webtools/community/tutorials/BottomUp Axis2WebService/bu_tutorial.html

The error occurs after I click "Finish", as instructed at the bottom of the section labeled "25. Next page is the Client Configuration Page. Accept the defaults and click Finish. "

After I click finish, it seems that the client installs correctly (0 errors, 2 unknown msgs, 5 warnings).

But after I have done this, I get an error (popup dialogue) every time I click or give focus to the Console view.

The error I get is:

--cut--
An error has occured. See error log for more details.

An error has occured when activating this view

Details:

An error has occurred when activating this view
java.lang.NullPointerException
--cut--

Eclipse's error log is shown below.

Can someone help me solve this error?

Best regards
duc

--cut--
!ENTRY org.eclipse.ui 4 0 2011-04-19 16:44:31.305
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.part.PageBookView.setFocus(PageBookView.java: 882)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
at org.eclipse.ui.internal.PartStack.presentationSelectionChang ed(PartStack.java:844)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:82 7)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.jav a:137)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation$1.handleEvent(TabbedStackPresentation.java:133)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:269)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:278)
at org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 061)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:2743)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:14 29)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

--cut--

Here is another error of the same type (caused by the same action)

--cut--
!ENTRY org.eclipse.ui.workbench 4 2 2011-04-19 16:44:31.193
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.part.PageBookView.setFocus(PageBookView.java: 882)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.ja va:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.WorkbenchPage.activatePart(Workbench Page.java:624)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3533)
at org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:3077)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:279)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
at org.eclipse.ui.internal.PartStack.presentationSelectionChang ed(PartStack.java:844)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:82 7)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.jav a:137)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation$1.handleEvent(TabbedStackPresentation.java:133)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:269)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:278)
at org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 061)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:2743)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:14 29)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
--cut--
Re: Console view causes null pointer exception [message #666388 is a reply to message #666252] Wed, 20 April 2011 09:34 Go to previous message
D.U.C Aps is currently offline D.U.C Aps
Messages: 3
Registered: April 2011
Junior Member
Restarting eclipse solved the problem.

I succeded in reproducing the error, by deleting the file that the console is redirected to. I assume that the console file became inaccessible during the tutorial.

Best Regards
duc
Previous Topic:JVM terminated.Exit code=-2147483647
Next Topic:SOLVED: Problems installing plugins
Goto Forum:
  


Current Time: Mon Oct 20 17:56:44 GMT 2014

Powered by FUDForum. Page generated in 0.01751 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software