[JBoss JIRA] Created: (JBIDE-7000) AbstractMethodError when saving servlet source file
by Mirko Raner (JIRA)
AbstractMethodError when saving servlet source file
---------------------------------------------------
Key: JBIDE-7000
URL: https://jira.jboss.org/browse/JBIDE-7000
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Environment: Eclipse 3.6.0 Mac OS X 64-bit, JBossAS Tools 2.0.2
Reporter: Mirko Raner
Assignee: Alexey Kazakov
When saving a servlet source file in Eclipse, an error dialog pops up that says "An internal error occurred during: "JBoss Tools Model Update"."
In the error log, the following exception is logged:
java.lang.AbstractMethodError
at org.jboss.tools.common.model.loaders.impl.ModelEntityRecognizer$EntityRecognizerWrapper.getEntityName(ModelEntityRecognizer.java:164)
at org.jboss.tools.common.model.loaders.impl.ModelEntityRecognizer.getEntityName(ModelEntityRecognizer.java:39)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.getEntityProperties(FolderImpl.java:233)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.updateNew(FolderImpl.java:651)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.update(FolderImpl.java:378)
at org.jboss.tools.common.model.filesystems.impl.FileSystemFolderLoader.update(FileSystemFolderLoader.java:28)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsLoader.update(FileSystemsLoader.java:67)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.doUpdate(FileSystemsImpl.java:286)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.access$4(FileSystemsImpl.java:280)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl$UpdateRunnable.run(FileSystemsImpl.java:273)
at org.jboss.tools.common.model.XJob.runInWorkspace(XJob.java:175)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6185) NPE o.j.t.common.model.filesystems.impl.FolderImpl.update()
by Darryl Miles (JIRA)
NPE o.j.t.common.model.filesystems.impl.FolderImpl.update()
-----------------------------------------------------------
Key: JBIDE-6185
URL: https://jira.jboss.org/jira/browse/JBIDE-6185
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Affects Versions: 3.1.0.GA
Environment: Linux
Reporter: Darryl Miles
Assignee: Alexey Kazakov
More IResource.getLocation()==null (see my bug https://jira.jboss.org/jira/browse/JBIDE-4912 )
Check out the following background reading on IResource.getLocation()==null
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc....
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130398
I am a Linux user, therefore I have multiple file systems for different purposes, not all my data is on the same filesystem.
Please please audit all plugins for the same presumption. Looking at the context this is a "linked resource" and usually it is linked because it is somewhere else on my filesystem. I don't understand the comment from bugs.eclipse.org link above about getResource()==null when its on a different file system, it seems users need a reliable way to resolve a java.io.File for a given resource, if that resource is backed by a file, even if its on a different file system.
!MESSAGE An internal error occurred during: "JBoss Tools Model Update".
!STACK 0
java.lang.NullPointerException
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.update(FolderImpl.java:306)
at org.jboss.tools.common.model.filesystems.impl.FileSystemFolderLoader.update(FileSystemFolderLoader.java:28)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsLoader.update(FileSystemsLoader.java:67)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.doUpdate(FileSystemsImpl.java:286)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.access$4(FileSystemsImpl.java:280)
at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl$UpdateRunnable.run(FileSystemsImpl.java:273)
at org.jboss.tools.common.model.XJob.runInWorkspace(XJob.java:158)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months