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 desconhecido no portugol #1170

Open
justEdude opened this issue Oct 16, 2024 · 0 comments
Open

erro desconhecido no portugol #1170

justEdude opened this issue Oct 16, 2024 · 0 comments

Comments

@justEdude
Copy link

br.univali.ps.nucleo.ExcecaoAplicacao: java.lang.NullPointerException
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.NullPointerException
at org.fife.ui.rsyntaxtextarea.ParserManager.noticeContainsPosition(ParserManager.java:531)
at org.fife.ui.rsyntaxtextarea.ParserManager.getToolTipText(ParserManager.java:441)
at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.getToolTipTextImpl(RSyntaxTextArea.java:1741)
at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.getToolTipText(RSyntaxTextArea.java:1724)
at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:663)
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()
{
	cadeia gamer[6]
	real esmola, lucro[5]
	inteiro mendigos=0
	escreva("ola chefia, quanto de esmola [desconto] tem para hoje?\n") 
	leia(esmola)
     para (inteiro i = 0; i < 6; i++)	
    {
     para (real j = 0.0; j < 6; j++)
    {  
     escreva("digite o nome do cliente\n")
     leia (gamer[i])
     escreva("digite o valor da compra do cliente\n")
     leia (lucro[j])
    
     escreva(gamer [0], ("\n"), gamer [1] ,("\n"), gamer [2] ,("\n"), gamer [3] ,("\n"), gamer [4] ,("\n"), gamer [5])
    
}

}

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