I can't get the editor to work in Eclipse 3.2.1. I also can't find any documentation that says which versions of Eclipse the MockCentral editor works with. When I try to open a configuration XML file I get the MockCentral Editor, but it's just a blank, white area with nothing in it. The following error in also in the Eclipse log file.
!ENTRY org.eclipse.core.resources 4 2 2006-10-04 14:16:06.871
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.mockcentral.editor.MockCentralPluginResourceChangeListener$1.visit(MockCentralPluginResourceChangeListener.java:97)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at org.mockcentral.editor.MockCentralPluginResourceChangeListener.resourceChanged(MockCentralPluginResourceChangeListener.java:87)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The MockCentral Eclipse Plug-in should work with Eclipse versions 3.1.2 and above, and has been tested on current linux gtk and windows xp pro platforms. Release 1.1.0 of the Plug-in includes an updated version of the MockCentralPluginResourceChangeListener which should prevent this exception being thrown when creating a new mockcentral-config.xml file. Please try the new version and let me know whether the issue is resolved. Sorry for the delay in responding to your post.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-16
Hi,
The same thing happens both with 1.1.3 and 2.0.0 on Eclipse Helios Service Release 1. Any advice?
Thanks,
M
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-18
It's somehow related to the JavaEE perspective. As soon as I switched to it the editor started working. So I guess that as a workaround we could use the JavaEE perspective to define the fictures and any other for coding.
Btw this was using v2.0.0
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't get the editor to work in Eclipse 3.2.1. I also can't find any documentation that says which versions of Eclipse the MockCentral editor works with. When I try to open a configuration XML file I get the MockCentral Editor, but it's just a blank, white area with nothing in it. The following error in also in the Eclipse log file.
!ENTRY org.eclipse.core.resources 4 2 2006-10-04 14:16:06.871
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.mockcentral.editor.MockCentralPluginResourceChangeListener$1.visit(MockCentralPluginResourceChangeListener.java:97)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at org.mockcentral.editor.MockCentralPluginResourceChangeListener.resourceChanged(MockCentralPluginResourceChangeListener.java:87)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
The MockCentral Eclipse Plug-in should work with Eclipse versions 3.1.2 and above, and has been tested on current linux gtk and windows xp pro platforms. Release 1.1.0 of the Plug-in includes an updated version of the MockCentralPluginResourceChangeListener which should prevent this exception being thrown when creating a new mockcentral-config.xml file. Please try the new version and let me know whether the issue is resolved. Sorry for the delay in responding to your post.
Hi,
The same thing happens both with 1.1.3 and 2.0.0 on Eclipse Helios Service Release 1. Any advice?
Thanks,
M
It's somehow related to the JavaEE perspective. As soon as I switched to it the editor started working. So I guess that as a workaround we could use the JavaEE perspective to define the fictures and any other for coding.
Btw this was using v2.0.0
Cheers