Questions tagged [securityexception]

SecurityException indicates a security violation and is thrown when a security error is detected.

329 questions
149
votes
19 answers

Java SecurityException: signer information does not match

I recompiled my classes as usual, and suddenly got the following error message. Why? How can I fix it? java.lang.SecurityException: class "Chinese_English_Dictionary"'s signer information does not match signer information of other classes in the…
Frank
  • 30,590
  • 58
  • 161
  • 244
135
votes
11 answers

The source was not found, but some or all event logs could not be searched

I am getting the following exception. I have given full control to Asp.net account on Eventlogs in Registry edit. [SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs:…
Vaibhav Jain
  • 33,887
  • 46
  • 110
  • 163
114
votes
9 answers

Android: java.lang.SecurityException: Permission Denial: start Intent

I have created an application containing GWVectraNotifier activity which is called from other applications to display Notification. In the Notification dialog, there will be 'show' button and 'close' button. Onclick of 'show' button, the…
Swathi EP
  • 3,864
  • 6
  • 26
  • 25
40
votes
10 answers

SecurityException: Failed to find provider null for user 0; on ActiveAndroid on Android 8.0

I have an app that is using ActiveAndroid and it's been working fine. However; now when I try to save a model to the database I'm getting a SecurityException. The stack is: Error saving model java.lang.SecurityException: Failed to find provider…
rindress
  • 706
  • 1
  • 6
  • 12
38
votes
2 answers

SecurityException: ECall methods must be packaged into a system module

I have a (C#) function similar to the following. private static bool SpecialCase = false; public void Foo() { if (SpecialCase) { InternalMethod(); return; } …
Sam Harwell
  • 97,721
  • 20
  • 209
  • 280
31
votes
6 answers

Why does my .NET application crash when run from a network drive?

My .NET application fails when run from a network drive even when the very same executable runs perfectly fine from a local hard drive? I tried checking for "Full trust" like so: try { // Demand full trust permissions PermissionSet fullTrust…
Paul Smith
  • 1,044
  • 2
  • 13
  • 29
24
votes
1 answer

UnauthorizedAccessException vs SecurityException

The MSDN constructor for a FileStream says that it may throw either an UnauthorizedAccessException or a SecurityException. Here's what MSDN says about these exceptions. UnauthorizedAccessException: The exception that is thrown when the operating…
Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
24
votes
4 answers

crash before app starts : SecurityException: Permission Denial: INTERACT_ACROSS_USERS_FULL

Background I have a rooted device, which is Galaxy S3 I9300 , with Samsung stock based ROM, based on Android 4.3. I never had any problems running an app i'm working on with this device. The problem ever since yesterday (and I didn't change anything…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
20
votes
2 answers

Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://localhost"

I am facing below issue while trying to capture click events of G + follow button. Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://localhost" from accessing a frame…
19
votes
3 answers

Security Exception (The application attempted to perform an operation not allowed by the security policy) )

we're having as issue with the following security exception when we attempt to open our admin login page. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this…
Code_Worm
  • 4,069
  • 2
  • 30
  • 35
19
votes
6 answers

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

Exception in thread "main" java.lang.SecurityException: Invalid signature file d igest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVeri …
Jay
  • 363
  • 1
  • 3
  • 7
18
votes
2 answers

SecurityException with grantUriPermission when sharing a file with FileProvider

I have two applications. I'm trying to share a file from application A to application B using a FileProvider. Application A calls the insert method on a ContentProvider in Application B to insert a record. The data inserted includes the Uri to the…
17
votes
3 answers

C# Security Exception

When running this program I keep receiving the error: An unhandled exception of type 'System.Security.SecurityException' occured Additional Information: ECall methods must be packaged into a system module. class Program{ public static void…
Gabriel Britcher
  • 221
  • 1
  • 3
  • 16
17
votes
2 answers

PublisherAdView.loadAd() throwing SecurityException - getTasks() requires android.permission.GET_TASKS

Starting yesterday, March 11, I started seeing a spike in SecurityException crashes. (See stack trace below.) Are others seeing this exception as well? Searches haven't turned up anything. My question is whether upgrading to a newer version of Play…
Mark McClelland
  • 4,980
  • 4
  • 35
  • 48
17
votes
3 answers

SecurityException: Unable to find field for dex.jar

How do I solve this error? I tried: Refreshing the project, and rebuilding. Cleaning the project, and rebuilding. Closing and reopening the project, and rebuilding Deleting the project (but not deleting the files — that's a checkbox on the project…
Serkan
  • 641
  • 3
  • 11
  • 19
1
2 3
21 22