Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » DataPool could not be loaded - urgent
DataPool could not be loaded - urgent [message #80887] Wed, 16 August 2006 17:23 Go to next message
Eclipse UserFriend
Originally posted by: mjayanthi.gmail.com

Hi

I have created a datapool in the text editor. I have the
testpool.datapool under my project directory under my workspace. This is
with Eclipse 3.2

I am getting the exception that the datapool could not be loaded. I have
put the required jar files in the classpath extensions as specified in
the help document.

I am getting the following exception


Exception in thread "main"
org.eclipse.hyades.execution.runtime.datapool.DatapoolExcept ion:
IWAT3056E Datapool could not be loaded from file
C:\DevTools\EclipseWTP1.5\workspace2\DPTest\test.datapool
at
org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:31 2)
at
org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.load(Common_DatapoolFactoryImpl.java:439)
at TestDP.main(TestDP.java:26)



Example Code Snippet.

File dataFile = new
File(" C:\\DevTools\\EclipseWTP1.5\\workspace\\testproj\\TestPool.d atapool ");

IDatapoolFactory dpFactory = new Common_DatapoolFactoryImpl();
IDatapool datapool = dpFactory.load(dataFile,false);

Am I doing anything incorrect. The documentation says that we need to
provide the fully qualified path.

Can anyone please advise me on how to go about this issue

Thanks
Murthy
Re: DataPool could not be loaded - urgent [message #103772 is a reply to message #80887] Mon, 09 July 2007 15:49 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Murthy,
I am assuming you created a CVS file in the text editor for your
datapool. If so, you need to import the datapool into TPTP (File >> Import
>> Test >> Datapool) first to create a *.datapool file before referencing
it
during test execution.

Paul
"murthy" <mjayanthi@gmail.com> wrote in message
news:ebvka0$mmi$1@utils.eclipse.org...
> Hi
>
> I have created a datapool in the text editor. I have the testpool.datapool
> under my project directory under my workspace. This is with Eclipse 3.2
>
> I am getting the exception that the datapool could not be loaded. I have
> put the required jar files in the classpath extensions as specified in the
> help document.
>
> I am getting the following exception
>
>
> Exception in thread "main"
> org.eclipse.hyades.execution.runtime.datapool.DatapoolExcept ion: IWAT3056E
> Datapool could not be loaded from file
> C:\DevTools\EclipseWTP1.5\workspace2\DPTest\test.datapool
> at
> org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:31 2)
> at
> org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.load(Common_DatapoolFactoryImpl.java:439)
> at TestDP.main(TestDP.java:26)
>
>
>
> Example Code Snippet.
>
> File dataFile = new
> File(" C:\\DevTools\\EclipseWTP1.5\\workspace\\testproj\\TestPool.d atapool ");
>
> IDatapoolFactory dpFactory = new Common_DatapoolFactoryImpl();
> IDatapool datapool = dpFactory.load(dataFile,false);
>
> Am I doing anything incorrect. The documentation says that we need to
> provide the fully qualified path.
>
> Can anyone please advise me on how to go about this issue
>
> Thanks
> Murthy
Re: DataPool could not be loaded - urgent [message #104487 is a reply to message #80887] Thu, 12 July 2007 11:09 Go to previous message
Nédélec Patrick is currently offline Nédélec PatrickFriend
Messages: 2
Registered: July 2009
Junior Member
Hi Murthy,

Your code snippet sounds good.
Do you still have the issue with a recent TPTP build?
If yes, are the following JARs in your project's classpath:
tptp-models.jar, org.eclipse.emf.common_<VERSION>.jar,
org.eclipse.emf.ecore_<VERSION>, org.eclipse.core.runtime_<VERSION>?
Are you using the default deployment? Or your own one?

Thanks,
/Patrick

murthy a écrit :
> Hi
>
> I have created a datapool in the text editor. I have the
> testpool.datapool under my project directory under my workspace. This is
> with Eclipse 3.2
>
> I am getting the exception that the datapool could not be loaded. I have
> put the required jar files in the classpath extensions as specified in
> the help document.
>
> I am getting the following exception
>
>
> Exception in thread "main"
> org.eclipse.hyades.execution.runtime.datapool.DatapoolExcept ion:
> IWAT3056E Datapool could not be loaded from file
> C:\DevTools\EclipseWTP1.5\workspace2\DPTest\test.datapool
> at
> org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:31 2)
>
> at
> org.eclipse.hyades.models.common.datapool.impl.Common_Datapo olFactoryImpl.load(Common_DatapoolFactoryImpl.java:439)
>
> at TestDP.main(TestDP.java:26)
>
>
>
> Example Code Snippet.
>
> File dataFile = new
> File(" C:\\DevTools\\EclipseWTP1.5\\workspace\\testproj\\TestPool.d atapool ");
>
>
> IDatapoolFactory dpFactory = new Common_DatapoolFactoryImpl();
> IDatapool datapool = dpFactory.load(dataFile,false);
>
> Am I doing anything incorrect. The documentation says that we need to
> provide the fully qualified path.
>
> Can anyone please advise me on how to go about this issue
>
> Thanks
> Murthy
Previous Topic:Using TPTP AGR across multiple platforms
Next Topic:Code Coverage 100%
Goto Forum:
  


Current Time: Sun May 05 15:04:22 GMT 2024

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

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

Back to the top