Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHPUnit throws Exception in Indigo
PHPUnit throws Exception in Indigo [message #716445] Wed, 17 August 2011 12:27 Go to next message
Stefan Wiese is currently offline Stefan WieseFriend
Messages: 12
Registered: July 2011
Junior Member
Hi,
when using PHPUnit in Eclipse 3.7 (Indigo) an exception is thrown:
!ENTRY org.eclipse.core.jobs 4 2 2011-08-17 11:22:53.588
!MESSAGE An internal error occurred during: "PHPUnit".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.dltk.compiler.problem.DefaultProblem.<init>(Ljava/lang/String;Ljava/lang/String;I[Ljava/lang/String;IIII)V
    at org.phpsrc.eclipse.pti.core.compiler.problem.FileProblem.<init>(FileProblem.java:29)
    at org.phpsrc.eclipse.pti.tools.phpunit.core.PHPUnit.parseOutput(PHPUnit.java:446)
    at org.phpsrc.eclipse.pti.tools.phpunit.core.PHPUnit.runTestCase(PHPUnit.java:265)
    at org.phpsrc.eclipse.pti.tools.phpunit.validator.PHPUnitValidator.validateTestCase(PHPUnitValidator.java:51)
    at org.phpsrc.eclipse.pti.tools.phpunit.ui.actions.RunTestCaseAction$1.run(RunTestCaseAction.java:50)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) 


We are using PTI from http : // www .phpsrc.org/eclipse/pti/

Any hints?
Re: PHPUnit throws Exception in Indigo [message #716854 is a reply to message #716445] Thu, 18 August 2011 15:26 Go to previous messageGo to next message
chevalier.jeremie is currently offline chevalier.jeremieFriend
Messages: 1
Registered: August 2011
Junior Member
I will be really interested too.
I just install PTI, and when I run my PhpUnit testCase, a error is shown :

Quote:
An internal error occurred during: "PHPUnit".
org.eclipse.dltk.compiler.problem.DefaultProblem.<init>(Ljava/lang/String;Ljava/lang/String;I[Ljava/lang/String;IIII)V




Any idea?
I'm using Eclipse Indigo, with PTI 1.5.9 on a MAC Tiger with a JDK 1.6

[Updated on: Thu, 18 August 2011 18:10]

Report message to a moderator

Re: PHPUnit throws Exception in Indigo [message #716961 is a reply to message #716854] Thu, 18 August 2011 21:06 Go to previous messageGo to next message
elkuku is currently offline elkukuFriend
Messages: 22
Registered: July 2009
Junior Member
This seems to be a PTI problem - it occurs to me also with the code
sniffer integration - also waiting for a solution ;)

Am 18.08.2011 10:26, schrieb chevalier.jeremie:
> I will be really interested too.
> I just install PTI, and when I run my PhpUnit testCase, a error is shown :
>
> Quote:
>> An internal error occurred during: "PHPUnit".
>> org.eclipse.dltk.compiler.problem.DefaultProblem.<init>(Ljava/lang/String;Ljava/lang/String;I[Ljava/lang/String;IIII)V
>
>
>
>
> Any idea?
> I'm using Eclipse Indo, with PTI 1.5.9 on a MAC Tiger with a JDK 1.6
Re: PHPUnit throws Exception in Indigo [message #717805 is a reply to message #716961] Mon, 22 August 2011 12:13 Go to previous message
Viktor  is currently offline Viktor Friend
Messages: 1
Registered: August 2011
Junior Member
Same issue for me. I'm using:
PTI 1.5.9
Win7 x64
JDK 1.7.0
Eclipse Indigo

Does anybody have a solution?
Previous Topic:PHP error HTTP 404 (Closed)
Next Topic:Spell checking in PHP files
Goto Forum:
  


Current Time: Sat Sep 21 06:37:39 GMT 2024

Powered by FUDForum. Page generated in 0.03526 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top