[Hadoop-studio-users] eclipse helios hadoop view does not start

12 views
Skip to first unread message

sumeet nikam

unread,
Apr 6, 2011, 1:46:04 AM4/6/11
to hadoop-st...@lists.sourceforge.net
Hi,

Had installed community studio using eclipse install new software, there is no error while installing, when i restart eclipse [Version: Helios Service Release 2 Build id: 20110218-0911] and open the hadoop view get the following exception.



eclipse.buildId=M20110210-1200
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


Error
Wed Apr 06 10:53:47 IST 2011
Unable to create view ID com.karmasphere.studio.hadoop.eclipse.view.services.HadoopServicesView: An unexpected exception was thrown.

java.lang.IllegalStateException: java.lang.NoSuchFieldException: elementType
at com.karmasphere.studio.common.persist.EnumSetPersistenceDelegate$1.run(EnumSetPersistenceDelegate.java:64)
at com.karmasphere.studio.common.persist.EnumSetPersistenceDelegate$1.run(EnumSetPersistenceDelegate.java:55)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at com.karmasphere.studio.common.persist.EnumSetPersistenceDelegate.<clinit>(EnumSetPersistenceDelegate.java:55)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.karmasphere.studio.common.persist.EnumSetPersistenceDelegate$Provider.getPersistenceDelegates(EnumSetPersistenceDelegate.java:47)
at com.karmasphere.studio.common.persist.PersistentObjectSerializer.<init>(PersistentObjectSerializer.java:56)
at com.karmasphere.studio.common.persist.PersistentObjectSerializer.<init>(PersistentObjectSerializer.java:27)
at com.karmasphere.studio.common.persist.PersistentObjectSerializer$1.initialValue(PersistentObjectSerializer.java:34)
at com.karmasphere.studio.common.persist.PersistentObjectSerializer$1.initialValue(PersistentObjectSerializer.java:30)
at com.karmasphere.studio.common.lang.ClassLoaderLocal.get(ClassLoaderLocal.java:36)
at com.karmasphere.studio.common.persist.PersistentObjectSerializer.getInstance(PersistentObjectSerializer.java:39)
at com.karmasphere.studio.common.eclipse.persist.PersistenceManagerImpl.savePersistentObject(PersistenceManagerImpl.java:156)
at com.karmasphere.studio.common.eclipse.persist.PersistenceManagerImpl.register(PersistenceManagerImpl.java:86)
at com.karmasphere.studio.common.persist.PersistentObjectRegistry$Entry.addInstance(PersistentObjectRegistry.java:119)
at com.karmasphere.studio.common.persist.PersistentObjectRegistry.addTarget(PersistentObjectRegistry.java:340)
at com.karmasphere.studio.hadoop.target.cluster.local.HadoopLocalCluster.updateHadoopLocalCluster(HadoopLocalCluster.java:85)
at com.karmasphere.studio.hadoop.target.cluster.local.HadoopLocalCluster$Provider.updatePersistentObjects(HadoopLocalCluster.java:54)
at com.karmasphere.studio.common.persist.PersistentObjectRegistry.init(PersistentObjectRegistry.java:269)
at com.karmasphere.studio.common.persist.PersistentObjectRegistry.getInstance(PersistentObjectRegistry.java:218)
at com.karmasphere.studio.hadoop.eclipse.view.services.TargetListNode$PersistentObjectChildProvider.<init>(TargetListNode.java:144)
at com.karmasphere.studio.hadoop.eclipse.view.services.TargetListNode.addChildProvider(TargetListNode.java:59)
at com.karmasphere.studio.hadoop.eclipse.view.services.TargetListNode.addChildProvider(TargetListNode.java:63)
at com.karmasphere.studio.hadoop.eclipse.node.LocalHadoopServicesListNode.<init>(LocalHadoopServicesListNode.java:46)
at com.karmasphere.studio.hadoop.eclipse.node.LocalHadoopServicesListNode$Factory.create(LocalHadoopServicesListNode.java:39)
at com.karmasphere.studio.hadoop.eclipse.view.services.HadoopServicesTreeContentProvider.<init>(HadoopServicesTreeContentProvider.java:55)
at com.karmasphere.studio.hadoop.eclipse.view.services.HadoopServicesView.createPartControl(HadoopServicesView.java:57)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:647)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:574)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:272)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:981)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3614)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1041)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1025)
at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3715)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3713)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:146)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:118)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:57)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:376)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:130)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: java.lang.NoSuchFieldException: elementType
at java.lang.Class.getDeclaredFieldImpl(Native Method)
at java.lang.Class.getDeclaredField(Class.java:517)
at com.karmasphere.studio.common.persist.EnumSetPersistenceDelegate$1.run(EnumSetPersistenceDelegate.java:60)
... 87 more


Neena Kaushik

unread,
Apr 7, 2011, 10:39:25 AM4/7/11
to hadoop-st...@lists.sourceforge.net
Dear Sumeet,

Thank you for your question.

Can you please let us know the following things:
  1. Which version of Microsoft Windows are you using?
  2. Which directory is Eclipse installed in?
  3. What are the access permissions on the directory that Eclipse is installed in?
  4. Click on Help>About Eclipse. Please copy the version and build id, and paste it in the email.
  5. Click on Help>About Karmasphere Studio. Please copy the lines that appear after support, and paste them in the email.
This will help us in determining the cause of the exception. We are looking forward to hearing from you. Thanks.

Regards,
Neena Kaushik  

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Hadoop-studio-users mailing list
Hadoop-st...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hadoop-studio-users


sumeet nikam

unread,
May 2, 2011, 2:51:17 AM5/2/11
to Neena Kaushik, hadoop-st...@lists.sourceforge.net
Hi Neena,

I am extremely sorry for the late response, I was on long summer vacation, and was not able to check this, my answers below

hope this helps, please do let me know if anything else is required

Regards,
Sumeet
 

On Thu, Apr 7, 2011 at 8:09 PM, Neena Kaushik <nkau...@karmasphere.com> wrote:
Dear Sumeet,

Thank you for your question.

Can you please let us know the following things:
  1. Which version of Microsoft Windows are you using?
Microsoft Windows XP professional version 2002 Service Pack 3
  1. Which directory is Eclipse installed in?
C:\isl\software\eclipse\
  1. What are the access permissions on the directory that Eclipse is installed in?
 Read Only - partial
  1. Click on Help>About Eclipse. Please copy the version and build id, and paste it in the email.
Eclipse Java EE IDE for Web Developers.


Version: Helios Service Release 2
Build id: 20110218-0911

  1. Click on Help>About Karmasphere Studio. Please copy the lines that appear after support, and paste them in the email.
Karmasphere Client for Hadoop 1.7.0.201103091755
Karmasphere Studio for Hadoop Eclipse UI 1.7.0.201103091755
Karmasphere Studio for Hadoop MapReduce Eclipse UI 1.7.0.201103091755
Karmasphere Studio for Hadoop MapReduce Model 1.7.0.201103091755
Karmasphere Studio for Hadoop Model 1.7.0.201103091755
 

Neena Kaushik

unread,
May 4, 2011, 2:26:36 PM5/4/11
to sumeet nikam, hadoop-st...@lists.sourceforge.net
Dear Sumeet,

Thanks for sending us all the information. I believe the reason for the exception is the access permissions on the directory.

During the installation process, Karmasphere Studio plugins are written to the Eclipse installation directory. If the directory has read-only partial access, it is not possible to save all the plugins. Would it be possible for you to install a fresh copy of Eclipse in C:\Users\<username>\eclipse_test? Please provide write permissions on the eclipse_test directory.

Please let us know, if you still get the exception on restarting Eclipse. I am looking forward to hearing from you.

Regards,
Neena Kaushik
Reply all
Reply to author
Forward
0 new messages