SecurityException indicates a security violation and is thrown when a security error is detected.
Questions tagged [securityexception]
329 questions
1
vote
1 answer
JNLP "JVM Shared, not allowed to set security manager" error
I have a JAVA Applet to perform digital signatures, certificate validations, and so on. It's signed with a valid certificate, it has a correct Manifest (I suppose) with values as:
Permissions: all-permissions
Specification-Title: Applet Certificados…

Morcilla de Arroz
- 2,104
- 22
- 29
1
vote
4 answers
SecurityException in ASP.net application
I have a web app which queries a Lucene index and it works just fine in a W2K3 server in my network. Now I got my azure code so I wanted to test the service uploading the app. In order to do that I had to install Vista (I did it in a Virtual…

sebagomez
- 9,501
- 7
- 51
- 89
1
vote
1 answer
Error: java.lang.SecurityException: Permission Denial: starting Intent with another flavor
I'm working on an application that has 2 flavors, free and pro. The free seems to work fine but when i try to go from the preference activity Settings to the activity names It appears this error:
-12 00:41:49.473 …

Betun Herrera Alanis
- 89
- 2
- 10
1
vote
1 answer
SecurityException occurred
I have read, that it could be possible to fuse UnityEngine with Winforms, so that is what I am trying to do. I am trying to use a sine wave to control the flickering between colors on a button in Winform. However I am getting a SecurityException…

Aslak Aøgaard
- 89
- 7
1
vote
2 answers
Determine if a specific activity in an application can be launched
Applications can have any number of launchable activities. I know how to get the list of these activities via PackageManager.
Is there a way to determine which activities can be launched via startActivity?
For example, the Documents To Go app has…

Justin
- 6,564
- 6
- 37
- 34
1
vote
3 answers
How can I write System preferences with Java? Can I invoke UAC?
How can I write system preferences with Java, using Preferences.systemRoot()?
I tried with:
Preferences preferences = Preferences.systemRoot();
preferences.put("/myapplication/databasepath", pathToDatabase);
But I got this error…

Jonas
- 121,568
- 97
- 310
- 388
1
vote
2 answers
Eclipse Mqtt paho throws java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
I am using mqtt as a client to get messagaes from the mqtt broker.
Previously I had 0.2.1 which had a issue in clientId generation (greater than 23 characters would fail)
I saw the fix is done in later versions, so I upgraded to 1.0.1. I…

nandini
- 428
- 2
- 9
- 20
1
vote
1 answer
how to disable status bar in android
I am working on message app there i want to disable the status bar it should be shown but not touchable.
i have tried below code:
In Activity:
StatusBarManager mStatusBarManager = (StatusBarManager)…

Shekhar Kumar
- 98
- 8
1
vote
1 answer
Javascript SecurityError: DOM Exception 18 while accessing cookies
Folks,
I am working on WebOS Application for LGTV. In previous version my code was working fine while accessing cookie, but with updated WebOS it is giving me error as following:
Can anyone help me over it?
Thanks
EDIT
Here is the output when I try…

Awais Tariq
- 7,724
- 5
- 31
- 54
1
vote
2 answers
How can I add an Account with AddAccountExplicitly?
I found many questions about this topic, without an an answer or with broken external link. I want to add an account in a simple way. The error is always the same: java.lang.SecurityException: caller uid xxxxx is different than the authenticator's…

Michele Benolli
- 55
- 1
- 11
1
vote
3 answers
Connect to SQL with JApplet
I am attempting to connect to an SQL database using a JApplet. However, I get a SecurityException:
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **…

nrubin29
- 1,522
- 5
- 25
- 53
1
vote
1 answer
Webmatrix site - Security Exception - Shouldn't be there
I have just uploaded a site and it's throwing a Security Exception at me. The client does not need a database or Register/Login functionality or even email setup, so I am not using anything like that.
All I have in my pages (just one page at the…

uSeRnAmEhAhAhAhAhA
- 2,527
- 6
- 39
- 64
1
vote
1 answer
Why does launchMode:singleTask cause SecurityExceptions when opening Intents?
I've recently set my Android app up to receive Intents so it can be used to open attachments from email apps.
This works fine when my app is not already running when the Intent is created, but when my app is paused in the background, attempting to…

Rich
- 7,348
- 4
- 34
- 54
1
vote
1 answer
Implementing top and bottom horizontal scrollbar for an iframe
I am implementing top and bottom horizontal scrollbar for an iframe .I am using an external site url to be displayed on the iframe.
I created one more div 'scrollbar' before main div containig iframe.On it's scroll event,I am changing the scroll…

Sanil GK
- 31
- 4
1
vote
1 answer
KitKat API 19 Security Exception although using INSTALL_PACKAGES
I'm invoking a method using reflection, everything worked great until API 19, API 19 throwing me this exception:
java.lang.SecurityException: Neither user 10080 nor current process has android.permission.INSTALL_PACKAGES
ofcource I have included…

joseRo
- 1,337
- 3
- 18
- 35