|
|
NoSuchMethodError IllegalAccessError problem #2
Hi,
I've got a strange problem :
Exception in thread "Thread-7" java.lang.NoSuchMethodError:
org.rubato.rubettes.score.Note.getOnset()D
at
org.rubato.rubettes.structures.PartARubette.createBundle(PartARubette.java:
255)
But actually the method getOnset does exist ! (and it would have been
an error during the compilation) but it appears at the execution of my
code.
Moreover this method is just an accessor ; so I tried to make my slots
public (onset is a slot) , and when I did that ther's an other
error :
Exception in thread "Thread-7" java.lang.IllegalAccessError: tried to
access field org.rubato.rubettes.score.Note.onset from class
org.rubato.rubettes.structures.PartARubette
at
org.rubato.rubettes.structures.PartARubette.createBundle(PartARubette.java:
259)
I don't understand why it doesn't work ... could anyone help me ?
`
Many thanks in advance
|
|
0
|
|
|
|
Reply
|
yunkang.ahn (2)
|
3/14/2007 3:15:51 PM |
|
yunkang.ahn@gmail.com wrote:
> Hi,
>
> I've got a strange problem :
>
> Exception in thread "Thread-7" java.lang.NoSuchMethodError:
> org.rubato.rubettes.score.Note.getOnset()D
> at
> org.rubato.rubettes.structures.PartARubette.createBundle(PartARubette.java:
> 255)
>
> But actually the method getOnset does exist ! (and it would have been
> an error during the compilation) but it appears at the execution of my
> code.
>
> Moreover this method is just an accessor ; so I tried to make my slots
> public (onset is a slot) , and when I did that ther's an other
> error :
>
> Exception in thread "Thread-7" java.lang.IllegalAccessError: tried to
> access field org.rubato.rubettes.score.Note.onset from class
> org.rubato.rubettes.structures.PartARubette
> at
> org.rubato.rubettes.structures.PartARubette.createBundle(PartARubette.java:
> 259)
>
> I don't understand why it doesn't work ... could anyone help me ?
> `
> Many thanks in advance
>
Getting those types of errors at run time means that the version of some
class that is being used at run time is not the same as the one that was
available during compilation. You are looking for an error in your
compile/install/run flow, not in the source code.
Patricia
|
|
0
|
|
|
|
Reply
|
Patricia
|
3/14/2007 3:20:38 PM
|
|
|
1 Replies
217 Views
(page loaded in 0.071 seconds)
|
|
|
|
|
|
|
|
|