Page 1 of 1

Errors in NetBeans

PostPosted: 09 Feb 2015, 05:01
by fireshoes
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
------------------------------------------------------------------------

Re: Errors in NetBeans

PostPosted: 09 Feb 2015, 11:02
by LevelX
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?

Re: Errors in NetBeans

PostPosted: 09 Feb 2015, 15:46
by fireshoes
It was the whole project.