- This topic has 8 replies, 5 voices, and was last updated 21 years, 7 months ago by Panagiotis Korros.
-
AuthorPosts
-
eliMemberHere is your first bug submit…
1. Every build yields an NPE.
Exception during execution: null – java.lang.NullPointerException
at de.bb.bje.eclipse.support.JspCompiler.getWorkDirectory(Unknown Source)
at de.bb.bje.eclipse.IncrementalJspBuilder.compile(Unknown Source)
at de.bb.bje.eclipse.IncrementalJspBuilder.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:71)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:52)
at de.bb.bje.eclipse.IncrementalJspBuilder.?(Unknown Source)
at de.bb.bje.eclipse.IncrementalJspBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:889)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:889)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:212)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:884)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1600)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSaveOperation(AbstractTextEditor.java:3033)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:2836)
at org.eclipse.ui.editors.text.TextEditor.doSave(TextEditor.java:244)
at org.eclipse.ui.internal.EditorManager$11.run(EditorManager.java:1089)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:960)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:431)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:428)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1385)
at org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(EditorManager.java:966)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1094)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2353)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2365)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:57)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.ui.internal.WWinKeyBindingService.pressed(WWinKeyBindingService.java:214)
at org.eclipse.ui.internal.WWinKeyBindingService$5.widgetSelected(WWinKeyBindingService.java:332)
at org.eclipse.ui.internal.AcceleratorMenu$2.handleEvent(AcceleratorMenu.java:65)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
———————
No OperationMemberEnsure that in Preferences->MyEclipse->J2EE->Project Templates reasonable paths are configured, before you start any action!
Also a working directory named “.myeclipse” should exist (and should be created for you, if your settings are ok). Create it manually, if it does not exist.
Hope this helps you out!
NOP
support-michaelKeymasterCan you provide more context?
1) For example how is your project setup?
2) Are you using taglibs?
3) I assume you either created a new WebProject or converted an existing JavaProject to a WebProject
4) Other plugins installed, e.g., Lomboz, Sysdeo
5) Anything else to help reproduce and isolate the problem you experienced.Michael
-MyEclipse Support
Scott AndersonParticipantIn addition to providing the correct procedure in the preceeding posts, we’ve entered a bug report for this in our internal system so we can be sure to at least give a useful warning dialog to this effect within the first bug-fix release of the workbench.
–Scott
MyEclipse Support
Panagiotis KorrosMemberI have the same NPE problem for every page that uses a tag library.
When i remove tha tag library usage everything works ok.The tld descriptor is located under WEB-INF/tld and defined in web.xml. The tag library implementation is located in another project that is included in the build path.
I think that if this problem is solved your plugin will be the best i have seen. Keep up the good work!
e.g. my pages compile ok with the Lomboz plugin and Tomcat
support-michaelKeymasterThanks for your feedback. Your report has been entered into our tracking system, researched, and isolated. We will issue an update on Wed. May 6 to remedy WebProject conversions and several minor problems.
Michael
–MyEclipse Support
Panagiotis KorrosMemberUpgrading to 2.0.1 EA didn’t solve the problem with pages that include a taglibrary.
support-michaelKeymasterWe feel your pain. We have another release 2.0.2 that solves a taglib problem similar to that which you have described. Please give it a try. We apologize for the inconvenience in advance. Please remember to uninstall previous version before installing the new version.
Michael
MyEclipse Support
Panagiotis KorrosMemberupgrading to 2.0.2 solved my problem but there is a bug in the upgrade procedure.
As instructed i uninstalled 2.0.1 and then installed 2.0.2.When i tried to create a new Web project i got errors.
It seemed that the J2EE Library Container still pointed to:
MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_2.0.0
\data\libraryset\1.3instead of MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_2.0.1
-
AuthorPosts