Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JavaModelException
JavaModelException [message #96644] Mon, 23 April 2007 09:39 Go to next message
Eclipse UserFriend
Originally posted by: larsbri.upb.de

Hi,
I've just started using tptp and in the beginning everything worked fine,
but suddenly i'm getting the following error whenever launching the
profiling of any part of a certain project. I can't remember any changes
I've made and am absolutely clueless to the source of this problem. Though
saying the operation will continue nothing happens except that it's listet
in the Debug-Tab and I can't even delete it from there.
Any help is appreciated.


One of the selected launch delegates has failed.
The Operation will continue

Reason:
org.eclipse.jdt.core.JavaModelException
/test/de [in test] is not on its project's build path

Java Model Exception: Java Model Status [/test/de [in test] is not on its
project's build path]
at
org.eclipse.jdt.internal.core.JavaElement.newJavaModelExcept ion(JavaElement.java:492)
at
org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStruc ture(PackageFragmentRoot.java:166)
at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
at
org.eclipse.jdt.internal.core.CompilationUnit.openParent(Com pilationUnit.java:1066)
at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
at
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
at
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:249)
at
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:235)
at
org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:190)
at
org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType( JavaElement.java:204)
at
org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Compi lationUnit.java:844)
at
org.eclipse.jdt.internal.core.CompilationUnit.getAllTypes(Co mpilationUnit.java:562)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addCompilationUnitFilters(WorkspaceFiltersExtractor. java:154)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addJavaElementFilter(WorkspaceFiltersExtractor.java: 113)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFileFilters(WorkspaceFiltersExtractor.java:95)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:77 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addProjectFilters(WorkspaceFiltersExtractor.java:68)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.extractFilters(WorkspaceFiltersExtractor.java:40)
at
org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.getLaunchTypeWorkspaceFilters(AbstractProcessLaun cher.java:407)
at
org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.preLaunch(AbstractProcessLauncher.java:118)
at
org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIJavaLauncherDelegate.preLaunch(PIJavaLauncherDelegate.ja va:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1163)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
at java.lang.Thread.run(Unknown Source)
Re: JavaModelException [message #97100 is a reply to message #96644] Thu, 26 April 2007 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: larsbri.upb.de

The problem still exists but I've been able to find the change from
working to not working.
After starting from a fresh eclipse and project everything's been working
again. So I've restarted doing all the changes I've made before step by
step.
All I needed to do was opening the filter set and then finishing it
without making any changes.
Any clue to where to look would be appreciated.
Re: JavaModelException [message #98798 is a reply to message #96644] Wed, 16 May 2007 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kgilmer.gmail.com

I'm getting this error as well when trying to profile a java program
that happens to be an OSGi framework (not equinox). Any ideas to a
resolution or workaround?

thanks
ken


Lars Brinkmann wrote:
> Hi, I've just started using tptp and in the beginning everything worked
> fine, but suddenly i'm getting the following error whenever launching
> the profiling of any part of a certain project. I can't remember any
> changes I've made and am absolutely clueless to the source of this
> problem. Though saying the operation will continue nothing happens
> except that it's listet in the Debug-Tab and I can't even delete it from
> there.
> Any help is appreciated.
>
>
> One of the selected launch delegates has failed.
> The Operation will continue
>
> Reason:
> org.eclipse.jdt.core.JavaModelException
> /test/de [in test] is not on its project's build path
>
> Java Model Exception: Java Model Status [/test/de [in test] is not on
> its project's build path]
> at
> org.eclipse.jdt.internal.core.JavaElement.newJavaModelExcept ion(JavaElement.java:492)
>
> at
> org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStruc ture(PackageFragmentRoot.java:166)
>
> at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
> at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
> at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
> at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.openParent(Com pilationUnit.java:1066)
>
> at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
> at
> org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
>
> at
> org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:249)
>
> at
> org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:235)
>
> at
> org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:190)
> at
> org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType( JavaElement.java:204)
>
> at
> org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Compi lationUnit.java:844)
>
> at
> org.eclipse.jdt.internal.core.CompilationUnit.getAllTypes(Co mpilationUnit.java:562)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addCompilationUnitFilters(WorkspaceFiltersExtractor. java:154)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addJavaElementFilter(WorkspaceFiltersExtractor.java: 113)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFileFilters(WorkspaceFiltersExtractor.java:95)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:77 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addProjectFilters(WorkspaceFiltersExtractor.java:68)
>
> at
> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.extractFilters(WorkspaceFiltersExtractor.java:40)
>
> at
> org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.getLaunchTypeWorkspaceFilters(AbstractProcessLaun cher.java:407)
>
> at
> org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.preLaunch(AbstractProcessLauncher.java:118)
>
> at
> org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIJavaLauncherDelegate.preLaunch(PIJavaLauncherDelegate.ja va:37)
>
> at
> org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1163)
>
> at
> org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
>
> at java.lang.Thread.run(Unknown Source)
>
>
SOLVED: JavaModelException [message #98813 is a reply to message #98798] Wed, 16 May 2007 18:08 Go to previous message
Eclipse UserFriend
Originally posted by: kgilmer.gmail.com

While I do not know why this is happening, creating a new (Java) project
with the same sources as the project with the error resolves my issue.

-Ken

Ken Gilmer wrote:
>
> I'm getting this error as well when trying to profile a java program
> that happens to be an OSGi framework (not equinox). Any ideas to a
> resolution or workaround?
>
> thanks
> ken
>
>
> Lars Brinkmann wrote:
>> Hi, I've just started using tptp and in the beginning everything
>> worked fine, but suddenly i'm getting the following error whenever
>> launching the profiling of any part of a certain project. I can't
>> remember any changes I've made and am absolutely clueless to the
>> source of this problem. Though saying the operation will continue
>> nothing happens except that it's listet in the Debug-Tab and I can't
>> even delete it from there.
>> Any help is appreciated.
>>
>>
>> One of the selected launch delegates has failed.
>> The Operation will continue
>>
>> Reason:
>> org.eclipse.jdt.core.JavaModelException
>> /test/de [in test] is not on its project's build path
>>
>> Java Model Exception: Java Model Status [/test/de [in test] is not on
>> its project's build path]
>> at
>> org.eclipse.jdt.internal.core.JavaElement.newJavaModelExcept ion(JavaElement.java:492)
>>
>> at
>> org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStruc ture(PackageFragmentRoot.java:166)
>>
>> at
>> org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
>> at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
>> at
>> org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
>> at org.eclipse.jdt.internal.core.Openable.openParent(Openable.j ava:420)
>> at
>> org.eclipse.jdt.internal.core.CompilationUnit.openParent(Com pilationUnit.java:1066)
>>
>> at
>> org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:218)
>> at
>> org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
>>
>> at
>> org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:249)
>>
>> at
>> org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:235)
>>
>> at
>> org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:190)
>>
>> at
>> org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType( JavaElement.java:204)
>>
>> at
>> org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Compi lationUnit.java:844)
>>
>> at
>> org.eclipse.jdt.internal.core.CompilationUnit.getAllTypes(Co mpilationUnit.java:562)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addCompilationUnitFilters(WorkspaceFiltersExtractor. java:154)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addJavaElementFilter(WorkspaceFiltersExtractor.java: 113)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFileFilters(WorkspaceFiltersExtractor.java:95)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:77 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addProjectFilters(WorkspaceFiltersExtractor.java:68)
>>
>> at
>> org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.extractFilters(WorkspaceFiltersExtractor.java:40)
>>
>> at
>> org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.getLaunchTypeWorkspaceFilters(AbstractProcessLaun cher.java:407)
>>
>> at
>> org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.preLaunch(AbstractProcessLauncher.java:118)
>>
>> at
>> org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIJavaLauncherDelegate.preLaunch(PIJavaLauncherDelegate.ja va:37)
>>
>> at
>> org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1163)
>>
>> at
>> org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
>>
>> at java.lang.Thread.run(Unknown Source)
>>
>>
Previous Topic:Could not find agent library on the library path or in the local directory: piAgent
Next Topic:question regarding datapools
Goto Forum:
  


Current Time: Mon Aug 03 10:04:04 GMT 2020

Powered by FUDForum. Page generated in 0.02227 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top