It is currently 26 Apr 2024, 21:19
   
Text Size

Errors in NetBeans

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Errors in NetBeans

Postby fireshoes » 09 Feb 2015, 05:01

When I do a Clean and Build, I get errors in the Mage Tests section on 567 of 574 tests with the message "NoClassDefFound Could not initialize..."

Code: Select all
<snip>
  TestActivatedContinuousEffect.testCard » NoClassDefFound Could not initialize ...
  TestAPITest.testCardTestPlayerAPIImpl1 » NoClassDefFound Could not initialize ...
  TestAPITest.testCardTestPlayerAPIImpl2 » NoClassDefFound Could not initialize ...
  ActivatedAbilityTest.testActivatedManaAbility » NoClassDefFound Could not init...
  ManaUtilTest.test » NoClassDefFound Could not initialize class org.mage.test.s...

Tests run: 574, Failures: 0, Errors: 567, Skipped: 6

------------------------------------------------------------------------
Reactor Summary:

Mage Root ......................................... SUCCESS [1.357s]
Mage Framework .................................... SUCCESS [36.864s]
Mage Common Classes ............................... SUCCESS [5.475s]
Mage Sets ......................................... SUCCESS [9:37.742s]
Mage Server Plugins ............................... SUCCESS [0.046s]
Mage Player AI .................................... SUCCESS [5.180s]
Mage Deck Constructed ............................. SUCCESS [1.684s]
Mage Deck Limited ................................. SUCCESS [0.968s]
Mage Game Commander Two Player .................... SUCCESS [1.123s]
Mage Game Commander Free For All .................. SUCCESS [1.170s]
Mage Game Free For All ............................ SUCCESS [1.014s]
Mage Game Two Player .............................. SUCCESS [1.076s]
Mage Player Human ................................. SUCCESS [1.794s]
Mage Player AI Minimax ............................ SUCCESS [2.668s]
Mage Player AI.MA ................................. SUCCESS [3.167s]
Mage Tournament Booster Draft ..................... SUCCESS [2.979s]
Mage Tournament Sealed ............................ SUCCESS [1.264s]
Mage Tournament Constructed ....................... SUCCESS [1.310s]
Mage Player AI.DraftBot ........................... SUCCESS [1.389s]
Mage Server ....................................... SUCCESS [13.494s]
Mage Plugins ...................................... SUCCESS [0.062s]
Mage Counter Plugin ............................... SUCCESS [1.373s]
Mage Client ....................................... SUCCESS [49.158s]
Mage Theme Plugin ................................. SUCCESS [4.073s]
Mage Player AI MCTS ............................... SUCCESS [1.935s]
Mage Server Console ............................... SUCCESS [2.840s]
Mage Tests ........................................ FAILURE [32.551s]
Mage Updater ...................................... SKIPPED
XMage Stats Web Service ........................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
User avatar
fireshoes
 
Posts: 536
Joined: 20 Aug 2014, 03:51
Has thanked: 201 times
Been thanked: 49 times

Re: Errors in NetBeans

Postby LevelX » 09 Feb 2015, 11:02

I get NoClassDefFound errors if some parts are not up to date. Like still running the client but recompiled some projects.
The test project builds for me without an error.
Code: Select all
Results :

Tests run: 574, Failures: 0, Errors: 0, Skipped: 6
Did you clean and build only the Test Project or the complete XMage project?
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Errors in NetBeans

Postby fireshoes » 09 Feb 2015, 15:46

It was the whole project.
User avatar
fireshoes
 
Posts: 536
Joined: 20 Aug 2014, 03:51
Has thanked: 201 times
Been thanked: 49 times


Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 14 guests


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 14 guests

Login Form