Bugs item #936962, was opened at 2004-04-17 15:02 Message generated for change (Comment added) made by folkerts You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=936962&group_id=22866
Category: JBoss-IDE Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Ralf Folkerts (folkerts) Assigned to: Laurent Etiemble (letiemble) Summary: XDoclet access to /resources/additional_values.xml Initial Comment: Version: JBoss-IDE 1.2.230 on Eclipse 3.0M8 OS: Linux (Gentoo) JDK: 1.4.2_04 (Sun) When trying to refresh the XDoclet-Info (Window/Preferences/JBoss IDE/XDoclet/"Refresh XDolet Modules" & Code Assist/"Refresh XDoclet Data") the JBoss IDE tries to access a file "!SESSION Apr 17, 2004 15:49:11.935 --------------------------------------------- java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE !ENTRY org.jboss.ide.eclipse.xdoclet.assist 4 0 Apr 17, 2004 15:49:11.936 !MESSAGE Internal Error !STACK 0 java.io.FileNotFoundException: /resources/additional_values.xml (Datei oder Verzeichnis nicht gefunden) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at java.io.FileReader.<init>(FileReader.java:41) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLPersistenceManager(XDocletAssistPlugin.java:382) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:344) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:329) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.addValuesToDocletTree(XDocletAssistPlugin.java:139) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin$1.run(XDocletAssistPlugin.java:219) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101) !ENTRY org.jboss.ide.eclipse.xdoclet.assist 4 0 Apr 17, 2004 15:49:12.38 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:283) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:400) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getRefreshedDocletTree(XDocletAssistPlugin.java:228) at org.jboss.ide.eclipse.xdoclet.assist.ui.XDocletPreferencePage$1.widgetSelected(XDocletPreferencePage.java:65) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1953) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1726) at org.eclipse.jface.window.Window.runEventLoop(Window.java:670) at org.eclipse.jface.window.Window.open(Window.java:650) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:72) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:435) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1953) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1726) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:267) at org.eclipse.core.launcher.Main.run(Main.java:692) at org.eclipse.core.launcher.Main.main(Main.java:676) Caused by: java.lang.NullPointerException at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:344) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:329) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.addValuesToDocletTree(XDocletAssistPlugin.java:139) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin$1.run(XDocletAssistPlugin.java:219) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101) /resources/additional_values.xml". I tried to mkdir /resources and touched additional_values.xml in that Directory and then got a Parser-Exception; so it really does access that file. ---------------------------------------------------------------------- >Comment By: Ralf Folkerts (folkerts) Date: 2004-04-21 19:02 Message: Logged In: YES user_id=26260 Just installed the 1.2.330 Plugin; before I removed (hopefully) all References to the JBoss-IDE from my Eclipse-Installation. Now, Xdoclets are being installed correct and seem to work 1a! So, I set this to fixed! Thanks a lot for the 1.2.330!! _ralf_ ---------------------------------------------------------------------- Comment By: Ralf Folkerts (folkerts) Date: 2004-04-19 19:28 Message: Logged In: YES user_id=26260 I check-out the CVS-Source for the Jboss-IDE and populated the /resources Directory with the Files from the Project - Resource-Dirs. Had a little Problem as my "faked" additional_values.xml git copied into the workspace / .metadata Directory and still caused Problems; deleted that copy. Then on the next start it was copies clean from the /resources Dir. Then, using Javadoc-Tags worked fine. However, when I tried to "Run XDoclet" on the Project I got an error: BUILD FAILED: /home/ralf/workspace/Tutorial/xdoclet-build.xml:13: taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found I then searched for a class "EjbDocletTask" in the Jboss-IDE-Sources but didn't find it :-( ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=936962&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development