Questions tagged [securityexception]

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

329 questions
0
votes
0 answers

Security Exception with AccountManager

I'd like to create an account in my Android app programatically. I've read thing about the AccountManager class and tried to implement it. Unfortunately, I get a SecurityException when I try to add the account. Account account = new…
QuentR
  • 5,227
  • 3
  • 13
  • 12
0
votes
1 answer

Android java.lang.SecurityException with requestLocationUpdates

Currently I try to implement Mock location for my Android Test Application, this is my class for Mock location : public class MockLocationProvider { String providerName; Context ctx; public MockLocationProvider(String name, Context ctx)…
John Doee
  • 59
  • 1
  • 7
0
votes
2 answers

System.Security.SecurityException when writing to Event Log C#

My application is in C#.NET and it is deployed on different machines. Users of my application have normal access rights ( no ADMIN rights). On a few system I am getting System.Security.SecurityException. It says "System.Security.SecurityException:…
userUnknown
  • 1
  • 1
  • 6
0
votes
1 answer

FileBackedOutputStream on Appengine

My application on Appengine create a csv file with more 65535 rows But, I have an error of type OutOfMemoryError when writing : java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2271) at…
0
votes
1 answer

Not allowed to bind to service Intent when starting a service

I am now developing an android App. When I want to start a service, I face the problem: Not allowed to bind to service Intent. The service is Yotaphone back screen service. I search for the problem, there are very little information, most of them…
0
votes
1 answer

Not the right Activity java.lang.SecurityException: Permission Denial: starting Intent

I read all other answers about this problem but it doesn't help me. I have an app (MyApp) which include a library (named lib (example)). In my app, I call LoginActivity in my lib. But I have this exception. java.lang.SecurityException: Permission…
Cocorico
  • 1,998
  • 1
  • 22
  • 38
0
votes
2 answers

Harmon.ie for SharePoint Exception on Init - Registry Access

I have a user who has successfully installed Harmon.ie to the computer, but the log file is showing an "Exception on Init" error. The complete error is below: Starting Harmonie 2015-01-16 06:48:57,172 INFO [1] Mainsoft.Harmony.AddIn.HarmonyAddIn -…
0
votes
1 answer

Running Winforms application from network share

I have a .Net application that is located on a network drive, when launching it, it immediately crashes. Analyzed the log using WinDBG and this is the exception that caused it: Exception object: 00000000027806c8 Exception type:…
bondar
  • 484
  • 1
  • 3
  • 16
0
votes
1 answer

Jetty ServletTester throws SecurityException

When I put the following dependency (and all of its transitive deps as well) on my classpath: org.eclipse.jetty test-jetty-servlet
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
0 answers

"access denied" when using ConcurrentSkipListSet in Java 8

I am doing the following inside a sandboxed Applet with Java 8u20: Set set = new ConcurrentSkipListSet(); set.add((int) 1); And i get the following exception: network: Cacheeintrag nicht gefunden [URL:…
0
votes
1 answer

Cannot open log for source 'Microsoft.Practices.EnterpriseLibrary.Data'. You may not have write access When Read/Write to Event log

i'm working on a SharePoint 2013 site, i have 2 type of registration: (Win Authentication and FBA). I'm trying to use a solution (WSP) from the old portal (SP 2010), this WSP use a dll named 'Microsoft.Practices.EnterpriseLibrary.Data' which isn't…
0
votes
1 answer

kineticjs, local svg, drawHitFromCache, Internet Explorer 10 SecurityError

I took standard drawHitFromCache demo (http://www.html5canvastutorials.com/kineticjs/html5-canvas-pixel-detection-with-kineticjs/) , and replaced one of images with .svg image (gray polygon) . live demo : http://preview.yw.sk/kineticDrawHit/ source…
0
votes
2 answers

Run Java applet in context of a web application with local resources (JNLP file and jars)

Is it possible to run an applet in a Java web application which is based on a local (file system) JNLP file and depended Jars? We have everything within the web application but due to performance issues we like to put the resources of the applet to…
0
votes
1 answer

sending filestream on a remoting server throw SecurityException

I'm trying to upload a wave file thank's to FileStream, to a remoting server. Every time I try to use the function below, with my remoting interface: public static void addAudioFile(FileStream source) { string fileName =…
Yushox
  • 162
  • 12
0
votes
2 answers

Apps won´t start after upgrading to Android Studio 0.5.0

My apps don´t start anymore with adb after upgrading android studio. java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000…
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136