[logback-dev] [Bug 111] New: Eclipse Europa doesn't work with the Console Plugin: NullPointerException
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Sat Nov 17 22:34:09 CET 2007
http://bugzilla.qos.ch/show_bug.cgi?id=111
Summary: Eclipse Europa doesn't work with the Console Plugin:
NullPointerException
Product: Console Plugin
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: blocker
Priority: P4
Component: interface
AssignedTo: logback-dev at qos.ch
ReportedBy: kap4020 at gmail.com
I don't think the LogBack Eclipse plugin works with Europa (Eclipse 3.3.0). I
had to change the plugin.xml to the following:
"""
<?xml version="1.0" encoding="UTF-8"?>
<plugin
name="Logback Console Plugin"
id="ch.qos.logback.eclipse"
version="1.0.1"
provider-name="ch.qos.logback.eclipse">
<runtime>
<library name="logbackPlugin.jar" />
</runtime>
<requires>
<import plugin="org.eclipse.core.boot"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.ui"/>
</requires>
<extension point="org.eclipse.ui.views">
<category
name="Logback"
id="ch.qos.logback.eclipse">
</category>
<view
name="Logback View"
icon="icons/sample.gif"
category="ch.qos.logback.eclipse"
class="ch.qos.logback.eclipse.views.LogbackView"
id="ch.qos.logback.eclipse.views.LogbackView">
</view>
</extension>
</plugin>
"""
And even then, I get the following exception:
java.lang.NullPointerException
at ch.qos.logback.eclipse.PluginLogger.log(PluginLogger.java:104)
at ch.qos.logback.eclipse.PluginLogger.log(PluginLogger.java:70)
at ch.qos.logback.eclipse.PluginLogger.logInfo(PluginLogger.java:26)
at
ch.qos.logback.eclipse.views.LogbackView.startServerThread(LogbackView.java:260)
at
ch.qos.logback.eclipse.views.LogbackView.initServer(LogbackView.java:253)
at ch.qos.logback.eclipse.views.LogbackView.init(LogbackView.java:282)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:343)
at
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2086)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1027)
at
org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.java:1008)
at
org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3684)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3681)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3657)
at
org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:165)
at
org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:109)
at
org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:77)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:239)
at
org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:128)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Anyone have better luck getting the Eclipse Logback plugin to work?
--
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the logback-dev
mailing list