Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [TENEO]Store Resource problem
[TENEO]Store Resource problem [message #431693] Tue, 21 July 2009 19:27 Go to next message
Eclipse UserFriend
Originally posted by: krdbrm.gmail.com

Hi,

I upgrated to
eclipse 3.5
EMF 2.5
teneo 1.1.1

i have followign exection if i try Create and save Model-Object:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at org.eclipse.emf.teneo.resource.StoreResource.decodeQueryStri ng(StoreResource.java:244)
at org.eclipse.emf.teneo.resource.StoreResource.<init>(StoreResource.java:149)
at org.eclipse.emf.teneo.hibernate.resource.HibernateResource.<init >(HibernateResource.java:92)
at org.eclipse.emf.teneo.hibernate.resource.HibernateXMLResourc e. <init>(HibernateXMLResource.java:46)
at org.eclipse.emf.teneo.hibernate.resource.HibernateXMLResourc eFactory.createResource(HibernateXMLResourceFactory.java:36)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:425)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:414)

old version worked for me.
someone has an idea?

thanks alot.

br
Bahram
Re: [TENEO]Store Resource problem [message #431694 is a reply to message #431693] Tue, 21 July 2009 21:06 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Bahram,
Afaik and afair there are no major changes there. I think you should debug and check out what's happening.

gr. Martin

Bahram Kord wrote:
> Hi,
>
> I upgrated to
> eclipse 3.5
> EMF 2.5
> teneo 1.1.1
>
> i have followign exection if i try Create and save Model-Object:
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1768)
> at
> org.eclipse.emf.teneo.resource.StoreResource.decodeQueryStri ng(StoreResource.java:244)
>
> at
> org.eclipse.emf.teneo.resource.StoreResource.<init>(StoreResource.java:149)
> at
> org.eclipse.emf.teneo.hibernate.resource.HibernateResource.<init >(HibernateResource.java:92)
>
> at
> org.eclipse.emf.teneo.hibernate.resource.HibernateXMLResourc e. <init>(HibernateXMLResource.java:46)
>
> at
> org.eclipse.emf.teneo.hibernate.resource.HibernateXMLResourc eFactory.createResource(HibernateXMLResourceFactory.java:36)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:425)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:414)
>
>
> old version worked for me.
> someone has an idea?
>
> thanks alot.
>
> br
> Bahram


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:dynamically generate EMF editor from a metamodel
Next Topic:[CDO] commit ends in NullPointerException
Goto Forum:
  


Current Time: Mon Dec 09 23:05:44 GMT 2019

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

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

Back to the top