BUG? (old) jigadm crashes when adding HTTP-Frame to DirRes

Hi,

	since I am still using JDK1.1.x I have to use the old jigadm of
Jigsaw 2.0.2. I experienced a problem, maybe a bug:

	1) I am adding a new DirectoryRessource to the docs_space
	   [I created the directory on the filesystem already]
	   The directory is *empty* !
	2) I add a new HTTPFrame to the created Ressource
	3) I am trying to adjust the properties of the HTTPFrame by
	   clicking on Frames-Button in the upper window and select the
	   HTTP-Frame. jigadm then crashes with:

----------------begin trace-------------------
Exception occurred during event dispatching:
java.lang.NullPointerException
        at
org.w3c.jigadm.editors.MimeTypeAttributeEditor.initialize(MimeTypeAttributeEditor.java:273)
        at
org.w3c.jigadm.editors.AttributesHelper.initialize(AttributesHelper.java:260)
        at
org.w3c.jigadm.editors.FramesHelper.editFrame(FramesHelper.java:144)
        at
org.w3c.jigadm.editors.FrameTreeListener.editedChanged(FrameTreeListener.java:45)
        at
org.w3c.jigadm.editors.FrameBrowser.notifySelect(FrameBrowser.java:231)
        at
org.w3c.tools.widgets.TreeBrowser$BrowserMouseListener.clickAt(TreeBrowser.java:89)
        at
org.w3c.tools.widgets.TreeBrowser$BrowserMouseListener.mousePressed(TreeBrowser.java:102)
        at java.awt.Component.processMouseEvent(Component.java:2401)
        at java.awt.Component.processEvent(Component.java:2249)
        at java.awt.Component.dispatchEventImpl(Component.java:1781)
        at java.awt.Component.dispatchEvent(Component.java:1708)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:81)
----------------end trace---------------------
		
	I can't adjust the properties in any way. The only thing that I
can do is to remove the Ressouce.

	I found out that when I create a directory that contains an
HTML-file already the HTTPFrame is added automatically when I create the
ressource. I can then also ajdust the properties without problems. 

	What am I doing wrong. The problem described above occurs on a
nested node of my docs_space-tree and I don't want to delete the whole
tree and rebuild it afterwards.

	Could anyone help me out there? Thank you.


	Regards, Karsten

Received on Wednesday, 14 April 1999 10:34:17 UTC