java mistake

anyone knows what happened with my sketch this is the image of mistake

thanks

Post your sketch. Please use
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags.

I think your title sums it up:

Java: Mistake! :wink:

We cannot tell what is going on from that image. The IDE does allow you to copy and paste between the lower window and somewhere else, so I suggest you do. The first couple of lines of the error message are of most interest, and those are the lines that you have not shown.

Also, some idea of what you were compiling (post your code, or an SSCCE) at the time so we can replicate the issue would also be of benefit.

There are bugs in the IDE which cause the odd Java exception, which have proved very elusive - press compile and you get an exception, press it again and it works - no rhyme nor reason.

At a guess, you have a problem with the structure of your code, such as unmatched braces, which is tripping up the Arduino's code parser.

One way to locate the problem is to start with an empty file and copy in your function definitions one at a time until you identify the one that triggers the problem. Then you know the origin is in the piece of code you just added, and can break that down to find the exact cause of the problem. Or, it may be that knowing the general nature of the problem enables you to spot it yourself by a careful review of the code.

thanks for help me. I found the solution. I had to installing the program of arduino again