• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

t java.security.AccessController.doPrivileged(Native Method)

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


This one has proven to be difficult. It compiles and runs but only if i use the regular button first and even still that error message i used as my subject title. Im thinking i should be using an if/this combination, but i really dont know. Any suggestions?
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please give us the declaration of the atributes you are using?
Sounds like you are making use of a server, a secure connection to a web place, or controlling the access to a field. Showing us the declaration will help us help you .
 
Sheriff
Posts: 22862
132
Eclipse IDE Spring TypeScript Quarkus Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
John, can you post the stack trace you're getting? Also, you are aware that both if statements require brackets {} to execute all lines below them? Right now they are only executing the first line directly after them; the other lines are always executed.
 
Daniel Marti
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Spoor wrote:John, can you post the stack trace you're getting? Also, you are aware that both if statements require brackets {} to execute all lines below them? Right now they are only executing the first line directly after them; the other lines are always executed.


How did i miss that? ... That would probably fix your problem right there.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic