For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 2 voices, and was last updated 16 years, 3 months ago by
support-shalini.
-
AuthorPosts
-
2TrudyMemberI’m getting this error when trying to build:
“The project was not built since the source file /blah/blah/blah.java could not be read.
I can load this file in the editor, modify it, and save it without error. I have tried updating from the repo with no effect. Chmod didn’t help either. I removed and re-imported the project with no effect. I am out of ideas.
I installed MyEclipse 7.5 this morning, and had some problems with “too many files open” errors. I found a fix for that, and now I’m getting this problem.
Here are the installation details:
*** Date:
Wednesday, December 2, 2009 4:45:04 PM EST** System properties:
OS=Linux
OS version=2.6.28
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.5
Build id: 7.5-20090609Eclipse Plug-in Development Environment
Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
Build id: M20080703-0800Eclipse Platform
Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
Build id: M20090211-1700Eclipse Graphical Editing Framework GEF
Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
Build id: 200809101400Eclipse RCP
Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
Build id: M20090211-1700Eclipse Java Development Tools
Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Build id: M20090211-1700Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-showsplash
-launcher
/home/trudy/Genuitec/MyEclipse 7.5/myeclipse
-name
Myeclipse
–launcher.library
/home/trudy/Genuitec/MyEclipse 7.5//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101.R34x_v20080805/eclipse_1115.so
-startup
/home/trudy/Genuitec/MyEclipse 7.5//../Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-exitdata
e8016
-clean
-configuration
/home/trudy/Genuitec/MyEclipse 7.5/configuration
-vm
/home/trudy/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013/bin/javaHelp!
–Trudy
December 2, 2009 at 10:51 pm #304331
support-shaliniMemberTrudy,
Can you give some more information?
1. How did you install 7.5? using all-in-one installer/pulse or added MyEclipse as a plugin on top of eclipse classic?
2. Are there any third party plug-ins?
3. Can you right click on your projects and do a “Refresh”, then do a Project > Clean All Projects and check if that helps?
4. Was the project originally created with MyEclipse? If so, which version?December 3, 2009 at 7:30 am #304351
2TrudyMembershalini,
1) I used the all-in-one installer. I’ve also tried re-installing MyEclipse. The first time I installed it, the compiler was throwing null pointer exceptions, class loader exceptions, all kinds of stuff. So I removed it completely and re-installed it. I also blew away my workspace and recreated it.
2) There are no third-party plugins.
3) I have tried this several times. I also tried removing the projects and re-importing them, in groups and one at a time. I also tried blowing the code away completely and doing a full update from the repo. Still no luck.
4) The project was created with 7.0 I believe. Maybe an earlier version, but we’ve always used MyEclipse since the inception of the program.–Trudy
December 3, 2009 at 10:45 pm #304392
support-shaliniMemberTrudy,
Is your linux 32 bit or 64 bit?
Can you try the following?
1. Can you try using the -clean as mentioned in https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
2. Can you switch to a brand new workspace and import your project there and check if the issue persists?December 4, 2009 at 8:50 am #304416
2TrudyMemberI am using 32-bit linux.
1) No change.
2) I created a new workspace and imported one existing project. When MyEclipse started to build it, I got a notification that the console view encountered an error:java.lang.NullPointerException
at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:138)
at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:157)
at org.eclipse.jface.resource.ImageDescriptor.createResource(ImageDescriptor.java:165)
at org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)
at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
at org.eclipse.jface.resource.LocalResourceManager.allocate(LocalResourceManager.java:82)
at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(ResourceManager.java:192)
at org.eclipse.jface.action.ActionContributionItem.updateImages(ActionContributionItem.java:1043)
at org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:782)
at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:341)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:349)
at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.java:449)
at org.eclipse.ui.internal.ViewActionBars.updateActionBars(ViewActionBars.java:59)
at org.eclipse.ui.internal.console.ConsoleView.createPartControl(ConsoleView.java:538)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.ViewReference.getView(ViewReference.java:199)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1054)
at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3773)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3770)
at org.eclipse.ui.internal.console.ConsoleManager$ShowConsoleViewJob.runInUIThread(ConsoleManager.java:304)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)I don’t know what to make of this.
December 4, 2009 at 8:59 am #304417
2TrudyMemberI just noticed that I am now getting another error:
‘Periodic workspace save’ has encountered a problem.
Could not write metadata for ‘/mantis-core’.
/home/trudy/Workspaces/MyEclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/mantis-core/.syncinfo.snap (Too many open files)I was seeing the ‘too many open files’ problem before, but I found a fix online for that and it seemed to work. Here’s what I did:
——————————————————————————————————————————————————-
It is recommended that you set the kernel file descriptor limit to 200k, you can do that by editing the /etc/sysctl.conf file.
Now that you have done this, it’s still possible that the individual shell file descriptor limit is small enough that when MyEclipse (or Eclipse) starts up, they are still opening too many file descriptors as limited by the shell. To increase that value, you will want to edit the /etc/security/limits.conf file and increasing the file handle limits.
——————————————————————————————————————————————————-Could these changes have caused my problem?
December 6, 2009 at 10:20 pm #304456
support-shaliniMemberTrudy,
Sorry to hear that you are running into this issue. This looks like a corrupt installation.
I would recommend you to do a fresh install. Please verify if the md5sum of the installer is same the value given on the download page.December 7, 2009 at 9:05 am #304479
2TrudyMemberok. I’ll give it a try.
December 9, 2009 at 11:33 am #304557
2TrudyMemberThis message has not been recovered.
December 9, 2009 at 9:41 pm #304571
support-shaliniMemberThis message has not been recovered.
-
AuthorPosts
