- This topic has 6 replies, 3 voices, and was last updated 16 years, 10 months ago by Loyal Water.
-
AuthorPosts
-
Rob StoeckleinMemberPROBLEM DESCRIPTION:
I have just installed the jMaki add-on into my MyEclipse workbench. When I attempt to drag a snippet from the yahoo/google/spry/jmaki/dojo/etc. snippet area, I receive a message box that says: “An error has occurred. See error log for more details. Reason: java.lang.NullPointerException”
Do you have any idea what might be happening?
Thanks,
-RobSYSTEM INSTALLATION:
*** Date:
Wednesday, January 30, 2008 3:21:43 PM CST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse Platform
Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
Build id: M20071023-1652Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: I20070625-1500Eclipse Project SDK
Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
Build id: M20071023-1652Eclipse RCP
Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
Build id: I20070625-1500Eclipse Plug-in Development Environment
Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
Build id: M20071023-1652Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
a50_74
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exeLOG FILE CONTENTS:
!ENTRY org.eclipse.jface 4 2 2008-01-30 15:17:21.103
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NullPointerException
at org.jvnet.ajax.eclipse.jmaki.JMakiPalette.copyComplibInResources(JMakiPalette.java:153)
at org.jvnet.ajax.eclipse.jmaki.JMakiPalette.insert(JMakiPalette.java:123)
at org.jvnet.ajax.eclipse.jmaki.JMakiPalette.dragSetData(JMakiPalette.java:52)
at org.eclipse.wst.common.snippets.internal.ui.SnippetsView$TransferDragSourceListenerImpl.dragSetData(SnippetsView.java:414)
at org.eclipse.jface.util.DelegatingDragAdapter$2.run(DelegatingDragAdapter.java:153)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.util.DelegatingDragAdapter.dragSetData(DelegatingDragAdapter.java:151)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:54)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
at org.eclipse.swt.dnd.DragSource.GetData(DragSource.java:452)
at org.eclipse.swt.dnd.DragSource.access$7(DragSource.java:431)
at org.eclipse.swt.dnd.DragSource$4.method3(DragSource.java:254)
at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMObject.java:92)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at org.eclipse.swt.internal.ole.win32.IDataObject.GetData(IDataObject.java:25)
at org.eclipse.swt.dnd.TextTransfer.nativeToJava(TextTransfer.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.wst.sse.ui.internal.TransferBuilder$TransferProxyForDelayLoading.nativeToJava(TransferBuilder.java:254)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:401)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)!ENTRY org.eclipse.wst.sse.ui 4 4 2008-01-30 15:17:21.150
!MESSAGE null
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.wst.sse.ui.internal.TransferBuilder$TransferProxyForDelayLoading.nativeToJava(TransferBuilder.java:254)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:401)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: org.eclipse.swt.SWTException: Data does not have correct format for type
at org.eclipse.swt.dnd.DND.error(DND.java:257)
at org.eclipse.swt.dnd.DND.error(DND.java:208)
at org.eclipse.swt.dnd.TextTransfer.javaToNative(TextTransfer.java:61)
at org.eclipse.swt.dnd.DragSource.GetData(DragSource.java:465)
at org.eclipse.swt.dnd.DragSource.access$7(DragSource.java:431)
at org.eclipse.swt.dnd.DragSource$4.method3(DragSource.java:254)
at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMObject.java:92)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at org.eclipse.swt.internal.ole.win32.IDataObject.GetData(IDataObject.java:25)
at org.eclipse.swt.dnd.TextTransfer.nativeToJava(TextTransfer.java:121)
… 37 more
Root exception:
org.eclipse.swt.SWTException: Data does not have correct format for type
at org.eclipse.swt.dnd.DND.error(DND.java:257)
at org.eclipse.swt.dnd.DND.error(DND.java:208)
at org.eclipse.swt.dnd.TextTransfer.javaToNative(TextTransfer.java:61)
at org.eclipse.swt.dnd.DragSource.GetData(DragSource.java:465)
at org.eclipse.swt.dnd.DragSource.access$7(DragSource.java:431)
at org.eclipse.swt.dnd.DragSource$4.method3(DragSource.java:254)
at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMObject.java:92)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at org.eclipse.swt.internal.ole.win32.IDataObject.GetData(IDataObject.java:25)
at org.eclipse.swt.dnd.TextTransfer.nativeToJava(TextTransfer.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.wst.sse.ui.internal.TransferBuilder$TransferProxyForDelayLoading.nativeToJava(TransferBuilder.java:254)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:401)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)!ENTRY org.eclipse.ui 4 0 2008-01-30 15:17:21.182
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: java.lang.Object
at org.eclipse.wst.sse.ui.internal.TextDropAction.run(TextDropAction.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.wst.sse.ui.internal.extension.DropActionProxy.invoke(DropActionProxy.java:138)
at $Proxy28.run(Unknown Source)
at org.eclipse.wst.sse.ui.internal.ExtendedEditorDropTargetAdapter.doDrop(ExtendedEditorDropTargetAdapter.java:109)
at org.eclipse.wst.sse.ui.internal.ExtendedEditorDropTargetAdapter.drop(ExtendedEditorDropTargetAdapter.java:224)
at org.eclipse.wst.sse.ui.internal.ReadOnlyAwareDropTargetAdapter.drop(ReadOnlyAwareDropTargetAdapter.java:47)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:414)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Rob StoeckleinMemberNow I see: I was trying to drag these widgets into an existing Web Project, and that did not work. I created a new “Dynamic Web Project” and then it let me drag them over. Can I change use jMaki in a regular “Web Project”, and if so, how do I do that? Is it just a matter of using the ajax-wrapper-comp-1.0.3.jar and org.json-0.0.1.jar JAR files? Guess I’ll try that next.
Loyal WaterMemberRob,
Do you have WTP setup with MyEclipse ? MyEclipse does not have “Dynamic Web Projects”.
Rob StoeckleinMemberNo, I do not have WTP setup. When I created a new web project, I picked “Dynamic Web Project”, so if it didn’t come with MyEclipse, the it must have come form Eclipse. I’m thinking if I copy the jars and resources into my existing web app then all will be fine, but won’t be able to try that for a couple days.
Loyal WaterMemberROb,
Can you go to our download page, download the pulse launcher and use that to launch MyEclipse. Let me know if you get the Dynamic Web Project option after using the pulse launcher. You can try this when you get some spare time. Let me know what result you get.
kvanceMemberI have myEclipse 6.0 installed. I got the same error regarding the ‘Null pointer”. As suggested, I loaded the pulse launcher without deleting the previous myEclise 6.0. After launching by pulse, I still I do not see “Dynamic Web Project option” in New. Did I miss something here?
Loyal WaterMemberI still I do not see “Dynamic Web Project option” in New. Did I miss something here?
You should not see the Dynamic project option if you have installed MyEclipse correctly. So you have everything setup correctly.
I guess jMaki is causing the problem here. Its not compatible with MyEclipse.
-
AuthorPosts