- This topic has 4 replies, 2 voices, and was last updated 21 years, 4 months ago by Ronald van Kuijk.
-
AuthorPosts
-
Ronald van KuijkMemberHi,
When creating a new ejb in a ejbproject nothing happens.
My system:
– RedHat 9
– jdk 1.4.1 (IBM)
– Eclipse 2.1.1
– MyEclipse 2.5I get the following exception in the logfile:
!ENTRY org.eclipse.jdt.ui 4 10001 jul 23, 2003 01:25:10.253
!MESSAGE Internal Error
!STACK 0
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java(Inlined Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled Code))
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:222)
at java.io.InputStreamReader.read(InputStreamReader.java:207)
at java.io.BufferedReader.fill(BufferedReader.java:152)
at java.io.BufferedReader.readLine(BufferedReader.java(Compiled Code))
at java.io.BufferedReader.readLine(BufferedReader.java:378)
at com.aston.AstonWizardsPlugin.buildFromTemplate(Unknown Source)
at com.aston.NewTypeWizardPage.đ(Unknown Source)
at com.aston.NewTypeWizardPage.refreshSuperClass(Unknown Source)
at com.aston.NewTypeWizardPage.dialogFieldChanged(Unknown Source)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:67)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField.selectItem(ComboDialogField.java:205)
at com.aston.NewTypeWizardPage.Ă(Unknown Source)
at com.aston.NewTypeWizardPage.createControl(Unknown Source)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:171)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
at org.eclipse.jface.window.Window.create(Window.java:302)
at org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizardShortcutAction.java:94)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined 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:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:371)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.ui 4 4 jul 23, 2003 01:25:10.415
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 jul 23, 2003 01:25:10.416
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java(Compiled Code))
at org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField.setElements(ListDialogField.java:543)
at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.setSuperInterfaces(NewTypeWizardPage.java:863)
at com.aston.NewTypeWizardPage.ā(Unknown Source)
at com.aston.NewTypeWizardPage.dialogFieldChanged(Unknown Source)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:67)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField.selectItem(ComboDialogField.java:205)
at com.aston.NewTypeWizardPage.Ă(Unknown Source)
at com.aston.NewTypeWizardPage.createControl(Unknown Source)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:171)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
at org.eclipse.jface.window.Window.create(Window.java:302)
at org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizardShortcutAction.java:94)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined 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:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:371)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Scott AndersonParticipantLooking at the trace, a few possibilities come to mind. It seems to be having a tough time reading the EJB templates from the file system so here are some ideas to explore:
Do you have read access to all the directories in the MyEclipse installation, particularly <MyEclipse>/eclipse/plugins/com.genuitec.eclipse.wizards_2.5.0/Templates? Can you open the templates called Ejb*.java and see if they look corrupted?
Is UTF8 your default character encoding, or do you use a different encoding?
Can you try a Sun 1.4.1 JDK instead of the IBM JDK you’re using to see if the behavior is different?
–Scott
MyEclipse Support
Ronald van KuijkMemberI tried Sun jdk 1.4.2 without changing anything in character encoding or anything and that does not give this exception.
It does give me some errors (about a jboss 2.4 version) when running xdoclet and deploying to jboss 3.0. I’ll look into that more and report back on another topic
Scott AndersonParticipantThanks for looking into it further. We appreciate it.
Rather than starting a new topic, however, please post all followup information here.
–Scott
MyEclipse Support
Ronald van KuijkMemberIt’s a totally separate issue, therefore a new topic… I just started it (is about cmp2.x jboss 3.2.2rc1 and an error)
-
AuthorPosts