Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-dev] Unexpected AssertError - not reproducable yet

John,
	I understand, I reopened the bug at a higher priority, M10 is tomorrow, if we can reproduce your issue by July 3rd it will make it into 1.0 for around July 7th, otherwise I am sure we can send you a patch until 1.0.1 ships.
	However, your issue is currently not reproducable, I pass OK and predeploy() for a project with spaces in the file:/ path
	- see my other email for all the details around 20:33
	- see an update to http://bugs.eclipse.org/210280

	The bug is currently untargeted so it passes through management triage tomorrow, as it waits for more detail to be able to reproduce.

	thank you
	/michael

-----Original Message-----
From: John Fisher [mailto:fisher23@xxxxxxxx]
Sent: Wednesday, June 25, 2008 7:59 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: RE: [eclipselink-dev] Unexpected AssertError



Ok, looks like someone else re-opened, but I added my comments. Would this
be targeted for M10...? :-) Since we would be rolling this out to 50+
Eclipse developers on an existing project, it really is a 'must fix' for us.

Thanks,
John


-----Original Message-----
From: eclipselink-dev-bounces@xxxxxxxxxxx
[mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Gordon Yorke
Sent: Wednesday, June 25, 2008 1:16 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] Unexpected AssertError

Hello John,
   There is a pre-existing bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210280 which was fixed for 
jars but based on your report seems to be still broken for files.
Could you please reopen the bug and post your new findings.
Thank you,
--Gordon

vrmerlin wrote:
> We're evaluating EclipseLink as a potential JPA solution. When running M9
in
> an Eclipse project, I was getting the following error:
>
> Exception in thread "main" java.lang.AssertionError
> 	at
>
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.com
putePURootURL(PersistenceUnitProcessor.java:137)
> 	at
>
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(P
ersistenceProvider.java:98)
> 	at
>
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(P
ersistenceProvider.java:64)
> 	at
>
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83
)
> 	at
>
iccs.base.db.jdbcpool.ConCacheGetter.getEntityManager(ConCacheGetter.java:23
3)
> 	at
>
iccs.services.system_manager.server.ProcessDataModel.<init>(ProcessDataModel
.java:49)
> 	at
>
iccs.services.system_manager.server.SysMgrCentralImpl.<init>(SysMgrCentralIm
pl.java:76)
> 	at
>
iccs.services.system_manager.server.SysMgrServerMain.<init>(SysMgrServerMain
.java:52)
> 	at
>
iccs.services.system_manager.server.SysMgrServerMain.main(SysMgrServerMain.j
ava:71)
>
> Looking down into the eclipselink source code, it appeared that
EclipseLink
> was failing the isFile() test for the persistence.xml file it found. The
> reason it failed was because there was a space in the path to that file
(in
> particular, my eclipse project name). When I created a new project
(without
> a space), the problem went away and things went fine.
>
> It took quite some time to track down why I was getting this rather
> ambigious error, and I don't think I should have gotten it in the first
> place (OpenJPA and Hibernate didn't have any problems with my Eclipse
> project name at all). I'd really rather not put that artificial constraint
> on our developers.
>
> Having a space in the path to the persistence.xml file seems reasonable...
> however, I can't find much mention of anyone else having this problem. Any
> thoughts on how I might fix it?
>
> btw, I'm using JDK 6u10.
>
> Thanks,
> John
>
>   
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top