• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOTemporaryGlobalID Error when running unit tests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOTemporaryGlobalID Error when running unit tests


  • Subject: Re: EOTemporaryGlobalID Error when running unit tests
  • From: Kevin Hinkson <email@hidden>
  • Date: Tue, 10 Feb 2015 13:00:23 -0400

Thanks Chuck. At least now I know what might be the cause, I can aim in that direction and see if I find any issues.

On Feb 10, 2015, at 12:17 PM, Chuck Hill <email@hidden> wrote:

"InetAddress for local host not accessible”  that looks like a networking issue on that machine.  Not sure what, but the root cause is outside of WO.

Chuck

On 2015-02-10, 6:18 AM, "Kevin Hinkson" wrote:

Hi,

I’m encountering a bit of a problem when running unit tests in Eclipse using WOUnit. I am suddenly getting the following error and I’m not certain at all what changed in my setup to cause this. This is happening for unit test involving EOs that I run from within Eclipse. To run a test I simply right click on the test or the test suite and run as JUnit Test. In the case where I run the app itself locally or on a server or run the unit tests on a server via Jenkins they all run fine.

It is now happening across all projects, even old ones which makes me think there is some setting that changed that I am not aware of. I’m running Yosemite, Java 1.7 and Eclipse Luna 4.4.1 and WOLips 4.4 and for unit testing I’m using WOUnit 1.2.3 and the JUnit in Wonder.

Any help would be appreciated.

java.lang.IllegalStateException: Cannot guarantee unique global ID generation: InetAddress for local host not accessible
at com.webobjects.eocontrol.EOTemporaryGlobalID._hostIdentificationBytes(EOTemporaryGlobalID.java:143)
at com.webobjects.eocontrol.EOTemporaryGlobalID.assignGloballyUniqueBytes(EOTemporaryGlobalID.java:278)
at com.webobjects.eocontrol.EOTemporaryGlobalID.<init>(EOTemporaryGlobalID.java:309)
at com.webobjects.eocontrol.EOEditingContext.insertObject(EOEditingContext.java:2887)
at er.extensions.eof.ERXEC.insertObject(ERXEC.java:989)
at com.webobjects.eoaccess.EOUtilities.createAndInsertInstance(EOUtilities.java:862)
at com.wounit.rules.AbstractEditingContextRule$UnderTestFacade.create(AbstractEditingContextRule.java:72)
at com.wounit.rules.AnnotationProcessor.createEOForType(AnnotationProcessor.java:49)
at com.wounit.rules.AnnotationProcessor.initializeObject(AnnotationProcessor.java:172)
at com.wounit.rules.AnnotationProcessor.process(AnnotationProcessor.java:205)
at com.wounit.rules.AbstractEditingContextRule.before(AbstractEditingContextRule.java:182)
at com.wounit.rules.MockEditingContext.before(MockEditingContext.java:147)
at com.wounit.rules.AbstractEditingContextRule$1.evaluate(AbstractEditingContextRule.java:162)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >EOTemporaryGlobalID Error when running unit tests (From: Kevin Hinkson <email@hidden>)
 >Re: EOTemporaryGlobalID Error when running unit tests (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: EOTemporaryGlobalID Error when running unit tests
  • Next by Date: RE: JBoss 6.2 and EOModelGroup issues
  • Previous by thread: Re: EOTemporaryGlobalID Error when running unit tests
  • Next by thread: JRebel nightly is good
  • Index(es):
    • Date
    • Thread