Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro numero 8cb7ccee4519925c3b41458f338f1c1526da12a0 v2.7.5 (Erro desconhecido achado no portugol) #1159

Open
ArthurLeandroCosta opened this issue Jul 25, 2024 · 0 comments

Comments

@ArthurLeandroCosta
Copy link

Esta issue foi gerada automaticamente

[pressione o botao "copiar erro" no Portugol Studio e cole o erro aqui antes de enviar]

br.univali.ps.nucleo.ExcecaoAplicacao: java.lang.ArrayIndexOutOfBoundsException: -2
at br.univali.ps.nucleo.TratadorExcecoes.uncaughtException(TratadorExcecoes.java:145)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
at java.awt.EventDispatchThread.processException(EventDispatchThread.java:227)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:219)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -2
at javax.swing.text.AbstractDocument$BranchElement.getElement(AbstractDocument.java:2350)
at br.univali.ps.ui.rstautil.PortugolParser.adicionarErroAviso(PortugolParser.java:257)
at br.univali.ps.ui.rstautil.PortugolParser.notificarErrosAvisos(PortugolParser.java:168)
at br.univali.ps.ui.rstautil.PortugolParser.parse(PortugolParser.java:229)
at org.fife.ui.rsyntaxtextarea.ParserManager.actionPerformed(ParserManager.java:157)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
... 5 more

Código do Erro:
programa
{

funcao inicio()
{
  caracter vogal = 'a'
    para(vogal = 1 ; vogal > 10 ; vogal++)
    {
    		escreva("Digite uma Vogal: ")
		leia(vogal)
    }
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant