cancel
Showing results for 
Search instead for 
Did you mean: 

SDK CustomAspect unit test is hanging

amitev
Champ in-the-making
Champ in-the-making
Hi all! I downloaded the SDK for 3.4.d and imported it in Eclipse as the wiki says. I opened "SDK CustomAspect" project, configured dir.root and mysql settings. Now when i run ContentHitsAspectTest it hangs on the following line:


   private static ApplicationContext applicationContext = ApplicationContextHelper
         .getApplicationContext();

It just hangs and performs nothing.

Idea where the problem might be?
1 REPLY 1

amitev
Champ in-the-making
Champ in-the-making
Seems to be a problem with my current environment - Win XP, JDK 1.6, embedded mysql. Probably something in the OS or anti-virus software is blocking something? However i installed a virtual box machine with windows7 and it works fine there  Smiley Very Happy .

Now when i run the test (SDK Custom Aspect) it passes sometimes but sometimes it doesn't. Looks like it behaves randomly. Does anyone have any experience with that particular code? I'm super new to Alfresco and don't understand completely what's going on.