Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.IllegalStateException: Timer already cancelled  RSS feed

 
kamal krishna bhatt
Ranch Hand
Posts: 41
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:354)
at java.util.Timer.schedule(Timer.java:170)
at org.snmp4j.util.DefaultTimerFactory$TimerAdapter.schedule(DefaultTimerFactory.java:47)
at org.snmp4j.Snmp$PendingRequest.pduHandleAssigned(Snmp.java:1444)
at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:452)
at org.snmp4j.Snmp.sendMessage(Snmp.java:974)
at org.snmp4j.Snmp.send(Snmp.java:808)
at org.snmp4j.Snmp.send(Snmp.java:760)

i am getting the above exception while sending a SNMP get request on hrSystemDate object .

what are the cases when " java.lang.IllegalStateException: Timer already cancelled comes" and what is "Timer".

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
 
kamal krishna bhatt
Ranch Hand
Posts: 41
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it did.
thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!