Bug 319 - Exception when hovering (1GJ873U)
Summary: Exception when hovering (1GJ873U)
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 21:40 EDT by DJ Houghton CLA
Modified: 2001-12-02 17:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2001-10-10 21:40:04 EDT
I got the following in the log when I opened a plugin.xml and moved the mouse over the
	"Required plugins". Note that it only happens when the required plugin name in the list
	is fully qualified, (i.e. org.eclipse.core.resources) and not the user-readable name. 
	(i.e. Core Resource Management)

LOG: 

Log: Wed Aug 29 11:11:08 EDT 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Wed Aug 29 11:11:08 EDT 2001
4 org.eclipse.ui 0 java.lang.NullPointerException
java.lang.NullPointerException
	at org.eclipse.pde.internal.editor.manifest.RequiresSection.linkEntered(RequiresSection.java:110)
	at org.eclipse.pde.internal.forms.HyperlinkHandler.mouseEnter(HyperlinkHandler.java:86)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:622)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:119)
	at org.eclipse.core.launcher.Main.run(Main.java:401)
	at org.eclipse.core.launcher.Main.main(Main.java:274)

PLUGIN:
Here is the plugin.xml which caused the problems:

<?xml version="1.0"?>

<plugin
    name="%pluginName"
    id="org.eclipse.core.examples.site.tests"
    version="1.0"
    class="org.eclipse.core.examples.site.tests.SiteManagementTestsPlugin"
    provider-name="Object Technology International, Inc."> 

  <requires>
    <import plugin="org.eclipse.core.resources"/>
    <import plugin="org.eclipse.core.tests.harness"/>
    <import plugin="org.junit"/>
    <import plugin="org.eclipse.core.examples.site"/>
  </requires>

  <runtime>
    <library name="siteexampletests.jar"/> 
  </runtime>
 
  <extension point="org.eclipse.core.tests.harness.tests">
    <test id="site.AllTests">
      <run class="org.eclipse.core.examples.site.tests.AllTests"/>
    </test>
    <test id="site.SiteObjectTest">
      <run class="org.eclipse.core.examples.site.tests.SiteObjectTest"/>
    </test>
    <test id="site.SiteObjectFactoryTest">
      <run class="org.eclipse.core.examples.site.tests.SiteObjectFactoryTest"/>
    </test>
  </extension>

</plugin>

NOTES:
Comment 1 DJ Houghton CLA 2001-10-24 07:08:42 EDT
PRODUCT VERSION:
	JDK build 131 on Win98 FAT32

Comment 2 Dejan Glozic CLA 2001-12-02 17:10:10 EST
Fixed (this is a dup).