GithubHelp home page GithubHelp logo

codice / acdebugger Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 10.0 390 KB

Purpose-built debugger for determining missing OSGi bundle security permissions

License: Apache License 2.0

Java 44.90% Shell 0.71% Batchfile 0.34% Dockerfile 0.07% Groovy 53.98%

acdebugger's People

Contributors

adamburstynski avatar azgoalie avatar bdeining avatar brjeter avatar coyotesqrl avatar linkmjb avatar oconnormi avatar paouelle avatar shaundmorris avatar stustison avatar tonymorrison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acdebugger's Issues

The backdoor bundle requires "sun" packages normally optional in embedded Boon

Description

The backdoor bundle which is embedding Boon is requiring com.sun.management and sun.misc which are normally marked optional in Boon's bundle. This is causing startup issue when those are not found.

Steps to Reproduce

  1. Build DDF's kernel with version 1.1 of the backdoor bundle
  2. Run itests and see them failed because of missing dependencies

Expected behavior:

It shouldn't fail because of missing dependencies.

Actual behavior:

The above mentioned packages were missing and as such, the system couldn't come up.

Reproduces how often:

100%

Version

acdebugger-1.1

Additional Information

Enhance ACDebugger to use config file for breakpoint definitions

Breakpoint definitions are currently hardcoded; they should be moved to configuration files so they can be more easily overridden when using updated libraries. In the case of the OSGi breakpoint, there might be cause to do a lookup based on the version of OSGi being used. This might be a dynamic lookup or require a command line parameter for the version.

Embed Boon in Backdoor bundle

Description

Boon needs to be embedded in the backdoor bundle to ensure the whole bundle is independent from any external entities aside from OSGi.

Steps to Reproduce

Expected behavior:

When the backdoor bundle is included in a distribution, it shouldn't require a Boon bundle to be available.

Actual behavior:

Currently it requires a Boon bundle to be available and if the backdoor is included in a kernel distribution, that also forces Boon to be included.

Reproduces how often:

All the time.

Version

1.0

Additional Information

Create CI job and release job for acdebugger.

Description

Create a new CI job and a release job for the AC Debugger baseline.

Version

1.0.2

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

AC Debugger not handling missing permission from io.netty.common as an acceptable behavior

Description

Installing with the development profile and the acdebugger attached returns a missing file permission stack trace with a provided solution. It should return with it as an acceptable error.

NOTE: Steps to reproduce at bottom.

AC Debugger:     java.io.FilePermission "${/}proc${/}sys${/}net${/}core${/}somaxconn", "read"
AC Debugger: Context:
AC Debugger:      bundle-0
AC Debugger:  --> *io.netty.common
AC Debugger: Stack:
AC Debugger:      at bundle-0(java.security.AccessControlContext:472) <instance of java.security.AccessControlContext(id=5651)>
AC Debugger:      at bundle-0(java.security.AccessController:884) <class of java.security.AccessController>
AC Debugger:      at bundle-0(java.lang.SecurityManager:549) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=5845)>
AC Debugger:      at bundle-0(java.lang.SecurityManager:888) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=5845)>
AC Debugger:      at bundle-0(java.io.File:814) <instance of java.io.File(id=5847)>
AC Debugger:  --> at *io.netty.common(io.netty.util.NetUtil$1:267) <instance of io.netty.util.NetUtil$1(id=5848)>
AC Debugger:      at *io.netty.common(io.netty.util.NetUtil$1:253) <instance of io.netty.util.NetUtil$1(id=5848)>
AC Debugger:      at bundle-0(java.security.AccessController.doPrivileged(java.security.PrivilegedAction)+-1) <class of java.security.AccessController>
AC Debugger:      at *io.netty.common(io.netty.util.NetUtil:253) <class of io.netty.util.NetUtil>
AC Debugger:     ----------------------------------------------------------
AC Debugger:      at *io.netty.common(io.netty.util.internal.MacAddressUtil:50) <class of io.netty.util.internal.MacAddressUtil>
AC Debugger:      at *io.netty.common(io.netty.util.internal.MacAddressUtil:138) <class of io.netty.util.internal.MacAddressUtil>
AC Debugger:      at *io.netty.transport(io.netty.channel.DefaultChannelId:99) <class of io.netty.channel.DefaultChannelId>
AC Debugger:      at *io.netty.transport(io.netty.channel.AbstractChannel:111) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.AbstractChannel:83) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.nio.AbstractNioChannel:84) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.nio.AbstractNioByteChannel:66) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.socket.nio.NioSocketChannel:102) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.socket.nio.NioSocketChannel:92) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.socket.nio.NioSocketChannel:85) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at *io.netty.transport(io.netty.channel.socket.nio.NioSocketChannel:78) <instance of io.netty.channel.socket.nio.NioSocketChannel(id=5860)>
AC Debugger:      at bundle-0(sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.lang.reflect.Constructor, java.lang.Object[])+-1) <class of sun.reflect.NativeConstructorAccessorImpl>
AC Debugger:      at bundle-0(sun.reflect.NativeConstructorAccessorImpl:62) <instance of sun.reflect.NativeConstructorAccessorImpl(id=5862)>
AC Debugger:      at bundle-0(sun.reflect.DelegatingConstructorAccessorImpl:45) <instance of sun.reflect.DelegatingConstructorAccessorImpl(id=5864)>
AC Debugger:      at bundle-0(java.lang.reflect.Constructor:423) <instance of java.lang.reflect.Constructor(id=5866)>
AC Debugger:      at *io.netty.transport(io.netty.channel.ReflectiveChannelFactory:38) <instance of io.netty.channel.ReflectiveChannelFactory(id=5867)>
AC Debugger:      at *io.netty.transport(io.netty.bootstrap.AbstractBootstrap:320) <instance of io.netty.bootstrap.Bootstrap(id=5868)>
AC Debugger:      at *io.netty.transport(io.netty.bootstrap.Bootstrap:163) <instance of io.netty.bootstrap.Bootstrap(id=5868)>
AC Debugger:      at *io.netty.transport(io.netty.bootstrap.Bootstrap:145) <instance of io.netty.bootstrap.Bootstrap(id=5868)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector:726) <instance of org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector(id=5869)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:1040) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:1080) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:1290) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:895) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:799) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl:242) <instance of org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl(id=5872)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector$Connector:1813) <instance of org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector$Connector(id=5873)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector:1682) <instance of org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector(id=5874)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl:626) <instance of org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl(id=5875)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl:641) <instance of org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl(id=5875)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation:332) <instance of org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation(id=5876)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation:100) <instance of org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation(id=5876)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl:535) <instance of org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl(id=5877)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl:474) <instance of org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl(id=5877)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl:252) <instance of org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl(id=5878)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.osgi.ProtocolTracker:107) <instance of org.apache.activemq.artemis.osgi.ProtocolTracker(id=5879)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.osgi.ProtocolTracker:78) <instance of org.apache.activemq.artemis.osgi.ProtocolTracker(id=5879)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.osgi.ProtocolTracker:38) <instance of org.apache.activemq.artemis.osgi.ProtocolTracker(id=5879)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.ServiceTracker$Tracked:941) <instance of org.osgi.util.tracker.ServiceTracker$Tracked(id=5881)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.ServiceTracker$Tracked:870) <instance of org.osgi.util.tracker.ServiceTracker$Tracked(id=5881)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.AbstractTracked:256) <instance of org.osgi.util.tracker.ServiceTracker$Tracked(id=5881)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.AbstractTracked:183) <instance of org.osgi.util.tracker.ServiceTracker$Tracked(id=5881)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.ServiceTracker:318) <instance of org.osgi.util.tracker.ServiceTracker(id=5887)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.ServiceTracker:261) <instance of org.osgi.util.tracker.ServiceTracker(id=5887)>
AC Debugger:      at *org.apache.activemq.artemis-server-osgi(org.apache.activemq.artemis.osgi.OsgiBroker:118) <instance of org.apache.activemq.artemis.osgi.OsgiBroker(id=5888)>
AC Debugger:      at bundle-0(sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])+-1) <class of sun.reflect.NativeMethodAccessorImpl>
AC Debugger:      at bundle-0(sun.reflect.NativeMethodAccessorImpl:62) <instance of sun.reflect.NativeMethodAccessorImpl(id=5890)>
AC Debugger:      at bundle-0(sun.reflect.DelegatingMethodAccessorImpl:43) <instance of sun.reflect.DelegatingMethodAccessorImpl(id=5892)>
AC Debugger:      at bundle-0(java.lang.reflect.Method:498) <instance of java.lang.reflect.Method(id=5894)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.BaseMethod:229) <instance of org.apache.felix.scr.impl.inject.ActivateMethod(id=5896)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.BaseMethod:39) <class of org.apache.felix.scr.impl.inject.BaseMethod>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.BaseMethod$Resolved:650) <instance of org.apache.felix.scr.impl.inject.BaseMethod$Resolved(id=5907)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.BaseMethod:506) <instance of org.apache.felix.scr.impl.inject.ActivateMethod(id=5896)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.ActivateMethod:307) <instance of org.apache.felix.scr.impl.inject.ActivateMethod(id=5896)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.inject.ActivateMethod:299) <instance of org.apache.felix.scr.impl.inject.ActivateMethod(id=5896)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.SingleComponentManager:298) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.SingleComponentManager:109) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.SingleComponentManager:907) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.SingleComponentManager:880) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.AbstractComponentManager:764) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.AbstractComponentManager:675) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.AbstractComponentManager:430) <instance of org.apache.felix.scr.impl.manager.SingleComponentManager(id=5909)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.manager.ConfigurableComponentHolder:657) <instance of org.apache.felix.scr.impl.ComponentRegistry$DefaultConfigurableComponentHolder(id=5912)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.BundleComponentActivator:341) <instance of org.apache.felix.scr.impl.BundleComponentActivator(id=5915)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.Activator:387) <instance of org.apache.felix.scr.impl.Activator(id=5917)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.Activator:52) <class of org.apache.felix.scr.impl.Activator>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.Activator$ScrExtension:262) <instance of org.apache.felix.scr.impl.Activator$ScrExtension(id=5919)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.AbstractExtender:196) <instance of org.apache.felix.scr.impl.Activator(id=5917)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.AbstractExtender:169) <instance of org.apache.felix.scr.impl.Activator(id=5917)>
AC Debugger:      at *org.apache.felix.scr(org.apache.felix.scr.impl.AbstractExtender:49) <instance of org.apache.felix.scr.impl.Activator(id=5917)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.BundleTracker$Tracked:482) <instance of org.osgi.util.tracker.BundleTracker$Tracked(id=5922)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.BundleTracker$Tracked:415) <instance of org.osgi.util.tracker.BundleTracker$Tracked(id=5922)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.AbstractTracked:232) <instance of org.osgi.util.tracker.BundleTracker$Tracked(id=5922)>
AC Debugger:      at bundle-0(org.osgi.util.tracker.BundleTracker$Tracked:444) <instance of org.osgi.util.tracker.BundleTracker$Tracked(id=5922)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.BundleContextImpl:908) <instance of org.eclipse.osgi.internal.framework.BundleContextImpl(id=5924)>
AC Debugger:      at bundle-0(org.eclipse.osgi.framework.eventmgr.EventManager:230) <class of org.eclipse.osgi.framework.eventmgr.EventManager>
AC Debugger:      at bundle-0(org.eclipse.osgi.framework.eventmgr.ListenerQueue:148) <instance of org.eclipse.osgi.framework.eventmgr.ListenerQueue(id=5928)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxEventPublisher:230) <instance of org.eclipse.osgi.internal.framework.EquinoxEventPublisher(id=5930)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1:141) <instance of org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1(id=5932)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1:1) <instance of org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1(id=5932)>
AC Debugger:      at bundle-0(java.security.AccessController.doPrivileged(java.security.PrivilegedAction)+-1) <class of java.security.AccessController>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxEventPublisher:139) <instance of org.eclipse.osgi.internal.framework.EquinoxEventPublisher(id=5930)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxEventPublisher:129) <instance of org.eclipse.osgi.internal.framework.EquinoxEventPublisher(id=5930)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor:191) <instance of org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor(id=5934)>
AC Debugger:      at bundle-0(org.eclipse.osgi.container.Module:476) <instance of org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule(id=5936)>
AC Debugger:      at bundle-0(org.eclipse.osgi.container.Module:467) <instance of org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule(id=5936)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxBundle:428) <instance of org.eclipse.osgi.internal.framework.EquinoxBundle(id=5939)>
AC Debugger:      at bundle-0(org.eclipse.osgi.internal.framework.EquinoxBundle:447) <instance of org.eclipse.osgi.internal.framework.EquinoxBundle(id=5939)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.BundleInstallSupportImpl:161) <instance of org.apache.karaf.features.internal.service.BundleInstallSupportImpl(id=5941)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.FeaturesServiceImpl:1116) <instance of org.apache.karaf.features.internal.service.FeaturesServiceImpl(id=5945)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.Deployer:996) <instance of org.apache.karaf.features.internal.service.Deployer(id=5947)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.FeaturesServiceImpl:1025) <instance of org.apache.karaf.features.internal.service.FeaturesServiceImpl(id=5945)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.FeaturesServiceImpl:964) <instance of org.apache.karaf.features.internal.service.FeaturesServiceImpl(id=5945)>
AC Debugger:      at *org.apache.karaf.features.core(org.apache.karaf.features.internal.service.FeaturesServiceImpl$$Lambda$77.2096570339.call()+28) <instance of org.apache.karaf.features.internal.service.FeaturesServiceImpl$$Lambda$77.2096570339(id=5949)>
AC Debugger:      at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=5951)>
AC Debugger:      at bundle-0(java.util.concurrent.ThreadPoolExecutor:1149) <instance of java.util.concurrent.ThreadPoolExecutor(id=5953)>
AC Debugger:      at bundle-0(java.util.concurrent.ThreadPoolExecutor$Worker:624) <instance of java.util.concurrent.ThreadPoolExecutor$Worker(id=5955)>
AC Debugger:      at bundle-0(java.lang.Thread:748) <instance of java.lang.Thread(name='features-2-thread-1', id=4205)>```

The code that attempts to handle this issue is in the io.netty.common bundle denoted here:


`SOMAXCONN = (Integer)AccessController.doPrivileged(new PrivilegedAction<Integer>() {
public Integer run() {
        int somaxconn = PlatformDependent.isWindows() ? 200 : 128;
        File file = new File("/proc/sys/net/core/somaxconn");
        BufferedReader in = null;

        try {
          if (file.exists()) {
            in = new BufferedReader(new FileReader(file));
            somaxconn = Integer.parseInt(in.readLine());
            if (NetUtil.logger.isDebugEnabled()) {
              NetUtil.logger.debug("{}: {}", file, somaxconn);
            }
          } else {
            Integer tmp = null;
            if (SystemPropertyUtil.getBoolean("io.netty.net.somaxconn.trySysctl", false)) {
              tmp = NetUtil.sysctlGetInt("kern.ipc.somaxconn");
              if (tmp == null) {
                tmp = NetUtil.sysctlGetInt("kern.ipc.soacceptqueue");
                if (tmp != null) {
                  somaxconn = tmp;
                }
              } else {
                somaxconn = tmp;
              }
            }

            if (tmp == null) {
              NetUtil.logger.debug("Failed to get SOMAXCONN from sysctl and file {}. Default: {}", file, somaxconn);
            }
          }
        } catch (Exception var13) {
          NetUtil.logger.debug("Failed to get SOMAXCONN from sysctl and file {}. Default: {}", new Object[]{file, somaxconn, var13});
        } finally {
          if (in != null) {
            try {
              in.close();
            } catch (Exception var12) {
              ;
            }
          }

        }

        return somaxconn;
      }`

### Steps to Reproduce

(ONLY DO THIS STEP IF https://codice.atlassian.net/browse/DDF-4157 is not merged yet to get other missing permissions to focus solely on this issue.)
1. Add these permissions to ddf default.policy file
`grant codeBase "file:/opendj-embedded-server/org.apache.aries.blueprint.core" {
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}org.codice.opendj", "read, write";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}org.codice.opendj${/}-", "read, write";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}keystores${/}serverKeystore.jks", "read";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}keystores${/}serverTruststore.jks", "read";
}

grant codeBase "file:/geowebcache-server-standalone/org.eclipse.jetty.server/org.eclipse.jetty.servlet/org.eclipse.jetty.util/org.ops4j.pax.web.pax-web-extender-war/org.ops4j.pax.web.pax-web-jetty/org.ops4j.pax.web.pax-web-runtime/javax.servlet-api/org.ops4j.pax.web.pax-web-spi" {
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.io.FilePermission "${ddf.home.perm}etc", "read, write";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}geowebcache.xml", "read, write";
}`  

2. Install DDF with the development profile with acdebugger attached 

Acdebugger behaves incorrectly when working with bundle fragments

Description

Acdebugger appears to look at the bundle's symbolic name for deciding what permissions it has, displaying that bundle's info, etc. This does not align with how the security manager works. The security manager uses that bundle's artifactId as the key.

Steps to Reproduce

  1. Debug an operation with a call stack that includes:
  • bundle A which does not have the necessary permission (thus triggering the acdebugger) and
  • bundle B which has the necessary permission, but has a symbolic name that's different than the artifactId Example

Note: If it's easier than artificially creating this scenario, this will happen on DDF 2.13.x as of commit. Steps:

  • Install DDF with the minimum profile
  • Edit the Web Context Policy Manager config under Security
  • Change "Authentication Types" from /=IDP|GUEST to /=PKI|GUEST
  • Go to https://localhost:8993/login/ and attempt to login.
  • acdebugger should fail, saying this is the needed solution even though pax-web-jetty (the artifactId) already has the needed permission
AC Debugger:     Solution:
AC Debugger:     {
AC Debugger:         Add the following permission block to the appropriate policy file:
AC Debugger:             grant codeBase "file:/org.ops4j.pax.web.pax-web-jetty/security-rest-authn-endpoint" {
AC Debugger:                 permission java.io.FilePermission "${/}ddf-instances${/}clockard${/}dib-4.6.3-SNAPSHOT${/}etc${/}ws-security${/}server${/}signature.properties", "read";
AC Debugger:             }
AC Debugger:     }

Expected behavior:

The acdebugger should only provide output saying bundle A needs the permission

Actual behavior:

The acdebugger will provide output saying that both bundles A and B need the permission

Reproduces how often:

Every time

Version

1.7

Missing pluginRepository for Codice

Description

POM is missing pluginRepository entry for Codice causing the app to fail to build against an empty local repo.

Steps to Reproduce

  1. Execute build against empty local maven repository.

Expected behavior:

Build should complete.

Actual behavior:

Build fails.

Reproduces how often:

100%

Version

1.8-SNAPSHOT

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

AC debugger is unable to analyze a security exception that results from an ingest done via an DDF SSH console

Description

The AC debugger doesn't yield any output even though a security exception is thrown. Quick debugging of the ac debugger showed that it is notified but is unable to analyze the location of the exception which seems to include additional domains beyond those computed from the stack trace.

Steps to Reproduce

  1. Install DDF
  2. Replace the <<ALL FILES>> for the ssh bundles:
grant codeBase "file:/org.apache.karaf.shell.ssh/org.apache.sshd.core" {
    permission java.io.FilePermission "<<ALL FILES>>", "read,write";
}

with

grant codeBase "file:/org.apache.karaf.shell.ssh/org.apache.sshd.core" {
    permission java.io.FilePermission "${ddf.home.perm}etc${/}keystores${/}-", "read";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}ws-security${/}server${/}-", "read";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}host.key", "read,write";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}branding-ssh.properties", "read";
    permission java.io.FilePermission "${ddf.home.perm}etc${/}org.apache.karaf.shell.cfg", "read";

  1. Connect to DDF using an SSH session: ssh -p 8101 -o PasswordAuthentication=yes -o PubkeyAuthentication=no -vv admin@localhost
  2. Start the AC debugger with --debug --continuous --wait
  3. Attempt to ingest a file not located under DDF.HOME or the user's home directory via the SSH console

Expected behavior:

The AC debugger should generate a report for the error

Actual behavior:

Nothing is generated on stdout

Reproduces how often:

All the time

Version

1.4

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

AC Debugger throwing an error instead of logging the exception

Description

Running the AC Debugger with the following flags: -c -r -w

AC Debugger: =======================================================================
AC Debugger: AN ERROR OCCURRED WHILE ATTEMPTING TO ANALYZE THE SECURITY EXCEPTION,
AC Debugger: A DOMAIN IN THE CURRENT ACCESS CONTROL CONTEXT (INDEX: 1) CANNOT
AC Debugger: BE CORRELATED TO ONE COMPUTED FROM THE STACK (INDEX: 1)
AC Debugger: PLEASE REPORT AN ISSUE WITH THE FOLLOWING INFORMATION AND INSTRUCTIONS
AC Debugger: ON HOW TO REPRODUCE IT
AC Debugger: =======================================================================
AC Debugger: PERMISSION:
AC Debugger:     java.io.FilePermission "${ddf.home.perm}etc${/}ws-security${/}server${/}signature.properties", "read"
AC Debugger: LOCAL 'i' VARIABLE: 14
AC Debugger: CURRENT DOMAIN: security-servlet-session-expiry >instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32708)>
AC Debugger: ACCESS CONTROL CONTEXT:
AC Debugger:   org.eclipse.jetty.util <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32694)>
AC Debugger:   org.ops4j.pax.web.pax-web-jetty <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32695)>
AC Debugger:   org.ops4j.pax.web.pax-web-runtime <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32696)>
AC Debugger:   org.ops4j.pax.web.pax-web-extender-war <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32697)>
AC Debugger:   bundle-0 <instance of java.security.ProtectionDomain(id=32698)>
AC Debugger:   bundle-0 <instance of java.security.ProtectionDomain(id=32699)>
AC Debugger:   security-core-api <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32700)>
AC Debugger:   security-core-api <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32701)>
AC Debugger:   security-sts-realm <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32702)>
AC Debugger:   com.google.guava <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32703)>
AC Debugger:   org.apache.shiro.core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32704)>
AC Debugger:   bundle-0 <instance of java.security.ProtectionDomain(id=32705)>
AC Debugger:   security-core-services <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32706)>
AC Debugger:   session-management-impl <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32707)>
AC Debugger:   *security-servlet-session-expiry <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32708)>
AC Debugger:   org.apache.cxf.cxf-core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32709)>
AC Debugger:   org.apache.cxf.cxf-rt-frontend-jaxrs <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32710)>
AC Debugger:   org.apache.cxf.cxf-rt-transports-http <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32711)>
AC Debugger:   javax.servlet-api <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32712)>
AC Debugger:   org.eclipse.jetty.servlet <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32713)>
AC Debugger:   platform-paxweb-jettyconfig <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32714)>
AC Debugger:   org.eclipse.jetty.websocket.server <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32715)>
AC Debugger:   org.eclipse.jetty.server <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32716)>
AC Debugger:   org.eclipse.jetty.security <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32717)>
AC Debugger:   org.eclipse.jetty.io <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32718)>
AC Debugger: COMPUTED CONTEXT:
AC Debugger:   bundle-0
AC Debugger:   security-core-api
AC Debugger:   security-sts-realm
AC Debugger:   com.google.guava
AC Debugger:   org.apache.shiro.core
AC Debugger:   security-core-services
AC Debugger:   session-management-impl
AC Debugger:   *security-servlet-session-expiry
AC Debugger:   org.apache.cxf.cxf-core
AC Debugger:   org.apache.cxf.cxf-rt-frontend-jaxrs
AC Debugger:   org.apache.cxf.cxf-rt-transports-http
AC Debugger:   javax.servlet-api
AC Debugger:   org.eclipse.jetty.servlet
AC Debugger:   platform-paxweb-jettyconfig
AC Debugger:   org.eclipse.jetty.websocket.server
AC Debugger:   org.ops4j.pax.web.pax-web-jetty
AC Debugger:   org.eclipse.jetty.server
AC Debugger:   org.eclipse.jetty.security
AC Debugger:   org.eclipse.jetty.io
AC Debugger:   org.eclipse.jetty.util
AC Debugger: STACK:
AC Debugger:   at bundle-0(java.security.AccessControlContext:472) <instance of java.security.AccessControlContext(id=32690)>
AC Debugger:   at bundle-0(java.security.AccessController:884) <class of java.security.AccessController>
AC Debugger:   at bundle-0(java.lang.SecurityManager:549) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=33025)>
AC Debugger:   at bundle-0(java.lang.SecurityManager:888) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=33025)>
AC Debugger:   at bundle-0(java.io.File:814) <instance of java.io.File(id=33027)>
AC Debugger:   at security-core-api(org.codice.ddf.platform.util.properties.PropertiesLoader:234) <class of org.codice.ddf.platform.util.properties.PropertiesLoader>
AC Debugger:   at security-core-api(org.codice.ddf.platform.util.properties.PropertiesLoader$$Lambda$1123.208141702.apply(java.lang.Object, java.lang.Object)+8) <instance of org.codice.ddf.platform.util.properties.PropertiesLoader$$Lambda$1123.208141702(id=33028)>
AC Debugger:   at security-core-api(org.codice.ddf.platform.util.properties.PropertiesLoader:138) <instance of org.codice.ddf.platform.util.properties.PropertiesLoader(id=33029)>
AC Debugger:   at security-core-api(ddf.security.PropertiesLoader:47) <class of ddf.security.PropertiesLoader>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm:318) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm:382) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm:250) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm$$Lambda$1627.1264017369.call()+12) <instance of ddf.security.realm.sts.AbstractStsRealm$$Lambda$1627.1264017369(id=33031)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$LocalManualCache$1:4904) <instance of com.google.common.cache.LocalCache$LocalManualCache$1(id=33032)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$LoadingValueReference:3628) <instance of com.google.common.cache.LocalCache$LoadingValueReference(id=33033)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$Segment:2336) <instance of com.google.common.cache.LocalCache$Segment(id=33034)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$Segment:2295) <instance of com.google.common.cache.LocalCache$Segment(id=33034)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$Segment:2208) <instance of com.google.common.cache.LocalCache$Segment(id=33034)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache:4053) <instance of com.google.common.cache.LocalCache(id=33035)>
AC Debugger:   at com.google.guava(com.google.common.cache.LocalCache$LocalManualCache:4899) <instance of com.google.common.cache.LocalCache$LocalManualCache(id=33036)>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm:245) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at security-sts-realm(ddf.security.realm.sts.AbstractStsRealm:174) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at org.apache.shiro.core(org.apache.shiro.realm.AuthenticatingRealm:571) <instance of ddf.security.realm.sts.StsRealm(id=33030)>
AC Debugger:   at bundle-0(Proxy9cd4f7ee_6888_435f_a3a8_2334d41d480e.getAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken)+58) <instance of Proxy9cd4f7ee_6888_435f_a3a8_2334d41d480e(id=33037)>
AC Debugger:   at org.apache.shiro.core(org.apache.shiro.authc.pam.ModularRealmAuthenticator:219) <instance of org.apache.shiro.authc.pam.ModularRealmAuthenticator(id=33039)>
AC Debugger:   at org.apache.shiro.core(org.apache.shiro.authc.pam.ModularRealmAuthenticator:269) <instance of org.apache.shiro.authc.pam.ModularRealmAuthenticator(id=33039)>
AC Debugger:   at org.apache.shiro.core(org.apache.shiro.authc.AbstractAuthenticator:198) <instance of org.apache.shiro.authc.pam.ModularRealmAuthenticator(id=33039)>
AC Debugger:   at org.apache.shiro.core(org.apache.shiro.mgt.AuthenticatingSecurityManager:106) <instance of org.apache.shiro.mgt.DefaultSecurityManager(id=33040)>
AC Debugger:   at security-core-services(ddf.security.service.impl.SecurityManagerImpl:95) <instance of ddf.security.service.impl.SecurityManagerImpl(id=33041)>
AC Debugger:   at security-core-services(ddf.security.service.impl.SecurityManagerImpl:72) <instance of ddf.security.service.impl.SecurityManagerImpl(id=33041)>
AC Debugger:   at bundle-0(Proxyead7e43a_d2bc_4c97_9087_b9a0c4bc39cc.getSubject(java.lang.Object)+58) <instance of Proxyead7e43a_d2bc_4c97_9087_b9a0c4bc39cc(id=33042)>
AC Debugger:   at session-management-impl(org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl:118) <instance of org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl(id=33043)>
AC Debugger:   at session-management-impl(org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl:75) <instance of org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl(id=33043)>
AC Debugger:   at session-management-impl(org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl$$Lambda$1626.1713190353.accept(java.lang.Object)+20) <instance of org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl$$Lambda$1626.1713190353(id=33044)>
AC Debugger:   at bundle-0(java.util.concurrent.ConcurrentHashMap$KeySetView:4649) <instance of java.util.concurrent.ConcurrentHashMap$KeySetView(id=33045)>
AC Debugger:   at bundle-0(java.util.Collections$UnmodifiableCollection:1080) <instance of java.util.Collections$UnmodifiableSet(id=33047)>
AC Debugger:   at session-management-impl(org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl:72) <instance of org.codice.ddf.security.session.management.impl.SessionManagementServiceImpl(id=33043)>
AC Debugger:   at bundle-0(Proxy69654c2d_f470_447b_a512_580fd27869b0.getRenewal(javax.servlet.http.HttpServletRequest)+58) <instance of Proxy69654c2d_f470_447b_a512_580fd27869b0(id=33049)>
AC Debugger:   at *security-servlet-session-expiry(org.codice.ddf.security.servlet.expiry.SessionManagementEndpoint:43) <instance of org.codice.ddf.security.servlet.expiry.SessionManagementEndpoint(id=33050)>
AC Debugger:   at bundle-0(sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])+-1) <class of sun.reflect.NativeMethodAccessorImpl>
AC Debugger:   at bundle-0(sun.reflect.NativeMethodAccessorImpl:62) <instance of sun.reflect.NativeMethodAccessorImpl(id=33052)>
AC Debugger:   at bundle-0(sun.reflect.DelegatingMethodAccessorImpl:43) <instance of sun.reflect.DelegatingMethodAccessorImpl(id=33054)>
AC Debugger:   at bundle-0(java.lang.reflect.Method:498) <instance of java.lang.reflect.Method(id=33055)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.service.invoker.AbstractInvoker:179) <instance of org.apache.cxf.jaxrs.JAXRSInvoker(id=33056)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.service.invoker.AbstractInvoker:96) <instance of org.apache.cxf.jaxrs.JAXRSInvoker(id=33056)>
AC Debugger:   at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.JAXRSInvoker:193) <instance of org.apache.cxf.jaxrs.JAXRSInvoker(id=33056)>
AC Debugger:   at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.JAXRSInvoker:103) <instance of org.apache.cxf.jaxrs.JAXRSInvoker(id=33056)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.interceptor.ServiceInvokerInterceptor$1:59) <instance of org.apache.cxf.interceptor.ServiceInvokerInterceptor$1(id=33057)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.interceptor.ServiceInvokerInterceptor:96) <instance of org.apache.cxf.interceptor.ServiceInvokerInterceptor(id=33058)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.phase.PhaseInterceptorChain:308) <instance of org.apache.cxf.phase.PhaseInterceptorChain(id=33059)>
AC Debugger:   at org.apache.cxf.cxf-core(org.apache.cxf.transport.ChainInitiationObserver:121) <instance of org.apache.cxf.transport.ChainInitiationObserver(id=33060)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.http.AbstractHTTPDestination:267) <instance of org.apache.cxf.transport.servlet.ServletDestination(id=33061)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.ServletController:234) <instance of org.apache.cxf.transport.servlet.ServletController(id=33062)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.ServletController:208) <instance of org.apache.cxf.transport.servlet.ServletController(id=33062)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.ServletController:160) <instance of org.apache.cxf.transport.servlet.ServletController(id=33062)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.CXFNonSpringServlet:216) <instance of org.apache.cxf.transport.servlet.CXFNonSpringServlet(id=33063)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.AbstractHTTPServlet:301) <instance of org.apache.cxf.transport.servlet.CXFNonSpringServlet(id=33063)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.AbstractHTTPServlet:225) <instance of org.apache.cxf.transport.servlet.CXFNonSpringServlet(id=33063)>
AC Debugger:   at javax.servlet-api(javax.servlet.http.HttpServlet:687) <instance of org.apache.cxf.transport.servlet.CXFNonSpringServlet(id=33063)>
AC Debugger:   at org.apache.cxf.cxf-rt-transports-http(org.apache.cxf.transport.servlet.AbstractHTTPServlet:276) <instance of org.apache.cxf.transport.servlet.CXFNonSpringServlet(id=33063)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHolder:865) <instance of org.eclipse.jetty.servlet.ServletHolder(id=33064)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1655) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33065)>
AC Debugger:   at platform-paxweb-jettyconfig(org.codice.ddf.pax.web.jetty.SecurityJavaSubjectFilter:60) <instance of org.codice.ddf.pax.web.jetty.SecurityJavaSubjectFilter(id=33066)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1642) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33067)>
AC Debugger:   at platform-paxweb-jettyconfig(org.codice.ddf.pax.web.jetty.ResponseFilter:96) <instance of org.codice.ddf.pax.web.jetty.ResponseFilter(id=33068)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1642) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33069)>
AC Debugger:   at platform-paxweb-jettyconfig(org.codice.ddf.pax.web.jetty.CsrfFilter:181) <instance of org.codice.ddf.pax.web.jetty.CsrfFilter(id=33070)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1642) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33071)>
AC Debugger:   at platform-paxweb-jettyconfig(org.codice.ddf.pax.web.jetty.ClientInfoFilter:72) <instance of org.codice.ddf.pax.web.jetty.ClientInfoFilter(id=33072)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1642) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33073)>
AC Debugger:   at org.eclipse.jetty.websocket.server(org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter:215) <instance of org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter(id=33074)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler$CachedChain:1642) <instance of org.eclipse.jetty.servlet.ServletHandler$CachedChain(id=33075)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler:533) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler(id=33076)>
AC Debugger:   at org.ops4j.pax.web.pax-web-jetty(org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler:71) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler(id=33076)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:146) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler(id=33076)>
AC Debugger:   at org.eclipse.jetty.security(org.eclipse.jetty.security.SecurityHandler:513) <instance of org.eclipse.jetty.security.ConstraintSecurityHandler(id=33077)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.HandlerWrapper:132) <instance of org.eclipse.jetty.server.session.SessionHandler(id=33078)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:257) <instance of org.eclipse.jetty.server.session.SessionHandler(id=33078)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.session.SessionHandler:1595) <instance of org.eclipse.jetty.server.session.SessionHandler(id=33078)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:255) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ContextHandler:1317) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.ops4j.pax.web.pax-web-jetty(org.ops4j.pax.web.service.jetty.internal.HttpServiceContext:293) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:203) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler(id=33076)>
AC Debugger:   at org.eclipse.jetty.servlet(org.eclipse.jetty.servlet.ServletHandler:473) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler(id=33076)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.session.SessionHandler:1564) <instance of org.eclipse.jetty.server.session.SessionHandler(id=33078)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:201) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ContextHandler:1219) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.ScopedHandler:144) <instance of org.ops4j.pax.web.service.jetty.internal.HttpServiceContext(id=33079)>
AC Debugger:   at org.ops4j.pax.web.pax-web-jetty(org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection:80) <instance of org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection(id=33080)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.handler.HandlerWrapper:132) <instance of org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper(id=33081)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.Server:531) <instance of org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper(id=33081)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.HttpChannel:352) <instance of org.eclipse.jetty.server.HttpChannelOverHttp(id=33082)>
AC Debugger:   at org.eclipse.jetty.server(org.eclipse.jetty.server.HttpConnection:260) <instance of org.eclipse.jetty.server.HttpConnection(id=33083)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.AbstractConnection$ReadCallback:281) <instance of org.eclipse.jetty.io.AbstractConnection$ReadCallback(id=33084)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.FillInterest:102) <instance of org.eclipse.jetty.io.AbstractEndPoint$1(id=33085)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.ssl.SslConnection:291) <instance of org.eclipse.jetty.io.ssl.SslConnection(id=33086)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.ssl.SslConnection$3:151) <instance of org.eclipse.jetty.io.ssl.SslConnection$3(id=33087)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.FillInterest:102) <instance of org.eclipse.jetty.io.AbstractEndPoint$1(id=33088)>
AC Debugger:   at org.eclipse.jetty.io(org.eclipse.jetty.io.ChannelEndPoint$2:118) <instance of org.eclipse.jetty.io.ChannelEndPoint$2(id=33089)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.strategy.EatWhatYouKill:333) <instance of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill(id=33090)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.strategy.EatWhatYouKill:310) <instance of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill(id=33090)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.strategy.EatWhatYouKill:168) <instance of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill(id=33090)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.strategy.EatWhatYouKill:126) <instance of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill(id=33090)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread:366) <instance of org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread(id=33091)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.QueuedThreadPool:762) <instance of org.eclipse.jetty.util.thread.QueuedThreadPool(id=33092)>
AC Debugger:   at org.eclipse.jetty.util(org.eclipse.jetty.util.thread.QueuedThreadPool$2:680) <instance of org.eclipse.jetty.util.thread.QueuedThreadPool$2(id=33093)>
AC Debugger:   at bundle-0(java.lang.Thread:748) <instance of java.lang.Thread(name='qtp91134330-515', id=32544)>
AC Debugger: =======================================================================
Exception in thread "pool-2-thread-2" java.lang.InternalError: unable to correlate a domain in the access control context with those computed from the stack : security-core-api
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.getNextContextDomainIndexNotComputedFromStack(SecurityCheckInformation.java:445)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recomputeFromContext(SecurityCheckInformation.java:455)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recompute(SecurityCheckInformation.java:376)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.<init>(SecurityCheckInformation.java:136)
	at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:117)
	at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:72)
	at org.codice.acdebugger.impl.BreakpointInfo.process(BreakpointInfo.java:49)
	at org.codice.acdebugger.impl.Debugger$EventSetThread.run(Debugger.java:400)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Steps to Reproduce

https://codice.atlassian.net/browse/DDF-4416

Expected behavior:

An access control exception to be logged

Actual behavior:

AC Debugger throws a warning

Reproduces how often:

100% of the time

Version

1.8-SNAPSHOT

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

An error occurred while attempting to analyze a security exception

Description

AC Debugger: =======================================================================
AC Debugger: AN ERROR OCCURRED WHILE ATTEMPTING TO ANALYZE THE SECURITY EXCEPTION,
AC Debugger: A DOMAIN WE COMPUTED FROM THE STACK (INDEX: 1) CANNOT BE FOUND IN THE
AC Debugger: CURRENT ACCESS CONTROL CONTEXT (STARTING AT INDEX: 1)
AC Debugger: PLEASE REPORT AN ISSUE WITH THE FOLLOWING INFORMATION AND INSTRUCTIONS
AC Debugger: ON HOW TO REPRODUCE IT
AC Debugger: =======================================================================
AC Debugger: PERMISSION:
AC Debugger:     java.io.FilePermission "${ddf.home.perm}http:${/}schemas.opengis.net${/}waterml${/}2.0${/}waterml2.xsd", "read"
AC Debugger: LOCAL 'i' VARIABLE: 0
AC Debugger: CURRENT DOMAIN: spatial-wfs-v1_1_0-source >instance of org.apache.aries.blueprint.container.BlueprintProtectionDomain(id=1156)>
AC Debugger: ACCESS CONTROL CONTEXT:
AC Debugger:   *spatial-wfs-v1_1_0-source <instance of org.apache.aries.blueprint.container.BlueprintProtectionDomain(id=1156)>
AC Debugger: COMPUTED CONTEXT:
AC Debugger:   bundle-0
AC Debugger:   *org.apache.ws.xmlschema.core
AC Debugger:   *spatial-wfs-v1_1_0-source
AC Debugger:   *org.apache.cxf.cxf-rt-frontend-jaxrs
AC Debugger:   *org.apache.cxf.cxf-rt-rs-client
AC Debugger:   *org.apache.aries.blueprint.core
AC Debugger: STACK:
AC Debugger:   at bundle-0(java.security.AccessControlContext:472) <instance of java.security.AccessControlContext(id=1152)>
AC Debugger:   at bundle-0(java.security.AccessController:884) <class of java.security.AccessController>
AC Debugger:   at bundle-0(java.lang.SecurityManager:549) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=1475)>
AC Debugger:   at bundle-0(java.lang.SecurityManager:888) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=1475)>
AC Debugger:   at bundle-0(java.io.File:814) <instance of java.io.File(id=1478)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.resolver.DefaultURIResolver:58) <instance of org.codice.ddf.spatial.ogc.wfs.catalog.source.WfsUriResolver(id=1480)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.catalog.source.WfsUriResolver:50) <instance of org.codice.ddf.spatial.ogc.wfs.catalog.source.WfsUriResolver(id=1480)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:684) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1483)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:538) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1483)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:1516) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1483)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:659) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1483)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:157) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1483)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.XmlSchemaCollection:508) <instance of org.apache.ws.commons.schema.XmlSchemaCollection(id=1485)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.XmlSchemaCollection:715) <instance of org.apache.ws.commons.schema.XmlSchemaCollection(id=1485)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:706) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:732) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:541) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:1516) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:659) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.SchemaBuilder:157) <instance of org.apache.ws.commons.schema.SchemaBuilder(id=1486)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.XmlSchemaCollection:508) <instance of org.apache.ws.commons.schema.XmlSchemaCollection(id=1485)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.XmlSchemaCollection:715) <instance of org.apache.ws.commons.schema.XmlSchemaCollection(id=1485)>
AC Debugger:   at *org.apache.ws.xmlschema.core(org.apache.ws.commons.schema.XmlSchemaCollection:564) <instance of org.apache.ws.commons.schema.XmlSchemaCollection(id=1485)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.catalog.source.reader.XmlSchemaMessageBodyReader:79) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.reader.XmlSchemaMessageBodyReaderWfs11(id=1487)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.catalog.source.reader.XmlSchemaMessageBodyReader:36) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.reader.XmlSchemaMessageBodyReaderWfs11(id=1487)>
AC Debugger:   at *org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.utils.JAXRSUtils:1354) <class of org.apache.cxf.jaxrs.utils.JAXRSUtils>
AC Debugger:   at *org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.impl.ResponseImpl:370) <instance of org.apache.cxf.jaxrs.impl.ResponseImpl(id=1491)>
AC Debugger:   at *org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.AbstractClient:561) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=1493)>
AC Debugger:   at *org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:899) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=1493)>
AC Debugger:   at *org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:786) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=1493)>
AC Debugger:   at *org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:238) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=1493)>
AC Debugger:   at bundle-0(com.sun.proxy.$Proxy167.describeFeatureType(org.codice.ddf.spatial.ogc.wfs.v110.catalog.common.DescribeFeatureTypeRequest)+16) <instance of com.sun.proxy.$Proxy167(id=1496)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:549) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=1497)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:489) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=1497)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:114) <class of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource$WfsSourceAvailabilityCommand:1113) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource$WfsSourceAvailabilityCommand(id=1498)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.catalog.common.AvailabilityTask:65) <instance of org.codice.ddf.spatial.ogc.catalog.common.AvailabilityTask(id=1500)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:432) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=1497)>
AC Debugger:   at *spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:299) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=1497)>
AC Debugger:   at bundle-0(sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])+-1) <class of sun.reflect.NativeMethodAccessorImpl>
AC Debugger:   at bundle-0(sun.reflect.NativeMethodAccessorImpl:62) <instance of sun.reflect.NativeMethodAccessorImpl(id=1502)>
AC Debugger:   at bundle-0(sun.reflect.DelegatingMethodAccessorImpl:43) <instance of sun.reflect.DelegatingMethodAccessorImpl(id=1504)>
AC Debugger:   at bundle-0(java.lang.reflect.Method:498) <instance of java.lang.reflect.Method(id=1505)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.utils.ReflectionUtils$1:342) <instance of org.apache.aries.blueprint.utils.ReflectionUtils$1(id=1507)>
AC Debugger:   at bundle-0(java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction, java.security.AccessControlContext)+-1) <class of java.security.AccessController>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.utils.ReflectionUtils:340) <class of org.apache.aries.blueprint.utils.ReflectionUtils>
AC Debugger:     ----------------------------------------------------------
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BeanRecipe:835) <instance of org.apache.aries.blueprint.container.BeanRecipe(id=1511)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BeanRecipe:591) <instance of org.apache.aries.blueprint.container.BeanRecipe(id=1511)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BeanRecipe:703) <instance of org.apache.aries.blueprint.container.BeanRecipe(id=1511)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BeanRecipe:666) <instance of org.apache.aries.blueprint.container.BeanRecipe(id=1511)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.di.AbstractRecipe:108) <instance of org.apache.aries.blueprint.container.BeanRecipe(id=1511)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BlueprintRepository:360) <instance of org.apache.aries.blueprint.container.BlueprintRepository(id=1515)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BlueprintRepository:338) <instance of org.apache.aries.blueprint.container.BlueprintRepository(id=1515)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BlueprintRepository:152) <instance of org.apache.aries.blueprint.container.BlueprintRepository(id=1515)>
AC Debugger:   at *org.apache.aries.blueprint.core(org.apache.aries.blueprint.container.BlueprintContainerImpl:789) <instance of org.apache.aries.blueprint.container.BlueprintContainerImpl(id=1517)>
AC Debugger:   at *org.apache.aries.blueprint.cm(org.apache.aries.blueprint.compendium.cm.CmManagedServiceFactory:203) <instance of org.apache.aries.blueprint.compendium.cm.CmManagedServiceFactory(id=1519)>
AC Debugger:   at *org.apache.aries.blueprint.cm(org.apache.aries.blueprint.compendium.cm.BaseManagedServiceFactory:139) <instance of org.apache.aries.blueprint.compendium.cm.CmManagedServiceFactory(id=1519)>
AC Debugger:   at *org.apache.aries.blueprint.cm(org.apache.aries.blueprint.compendium.cm.BaseManagedServiceFactory:38) <class of org.apache.aries.blueprint.compendium.cm.BaseManagedServiceFactory>
AC Debugger:   at *org.apache.aries.blueprint.cm(org.apache.aries.blueprint.compendium.cm.BaseManagedServiceFactory$1:88) <instance of org.apache.aries.blueprint.compendium.cm.BaseManagedServiceFactory$1(id=1523)>
AC Debugger:   at bundle-0(java.util.concurrent.Executors$RunnableAdapter:511) <instance of java.util.concurrent.Executors$RunnableAdapter(id=1525)>
AC Debugger:   at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=1527)>
AC Debugger:   at bundle-0(java.util.concurrent.ThreadPoolExecutor:1149) <instance of java.util.concurrent.ThreadPoolExecutor(id=1529)>
AC Debugger:   at bundle-0(java.util.concurrent.ThreadPoolExecutor$Worker:624) <instance of java.util.concurrent.ThreadPoolExecutor$Worker(id=1531)>
AC Debugger:   at bundle-0(java.lang.Thread:748) <instance of java.lang.Thread(name='pool-37-thread-1', id=514)>
AC Debugger: =======================================================================
Exception in thread "pool-1-thread-1" java.lang.InternalError: unable to find a domain computed from the stack in the access control context: org.apache.ws.xmlschema.core
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.getNextContextDomainIndexNotComputedFromStack(SecurityCheckInformation.java:431)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recomputeFromContext(SecurityCheckInformation.java:455)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recompute(SecurityCheckInformation.java:376)
	at org.codice.acdebugger.breakpoints.SecurityCheckInformation.<init>(SecurityCheckInformation.java:136)
	at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:117)
	at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:72)
	at org.codice.acdebugger.impl.BreakpointInfo.process(BreakpointInfo.java:49)
	at org.codice.acdebugger.impl.Debugger$EventSetThread.run(Debugger.java:400)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Steps to Reproduce

  1. Download the standalone Wiremock JAR: http://wiremock.org/docs/download-and-installation/
  2. Run the JAR.
  3. In the directory containing the Wiremock JAR there should now be a __files directory. Drop https://github.com/jrnorth/ddf/blob/4e243c5ceb30d563e485802ccc49367add040f88/catalog/spatial/wfs/spatial-wfs-common/src/test/resources/WFS_Capabilities.xml and https://github.com/jrnorth/ddf/blob/4e243c5ceb30d563e485802ccc49367add040f88/catalog/spatial/wfs/spatial-wfs-common/src/test/resources/AZWellLogs.xsd in that directory.
  4. There should also be a mappings directory. Drop https://github.com/jrnorth/ddf/blob/4e243c5ceb30d563e485802ccc49367add040f88/catalog/spatial/wfs/spatial-wfs-common/src/test/resources/mappings.json in that directory.
  5. Stop Wiremock and start it again.
  6. Start and install DDF.
  7. Run AC Debugger.
  8. Create a WFS 1.1.0 source using the url http://localhost:8080 and enable it.
  9. Verify you see the text from the description in the AC Debugger console.

Expected behavior:

AC Debugger prints possible solutions to the security exception.

Actual behavior:

AC Debugger prints an error message.

Reproduces how often:

100%

Version

1.8-SNAPSHOT

Address CVE-2020-8908

[2021-02-03T18:02:04.765Z] [ERROR] Failed to execute goal org.owasp:dependency-check-maven:6.0.5:check (default) on project acdebugger-common: 
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '2.0': 
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] guava-27.0-jre.jar: CVE-2020-8908
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] See the dependency-check report for more details.
[2021-02-03T18:02:04.765Z] [ERROR] -> [Help 1]
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2021-02-03T18:02:04.765Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2021-02-03T18:02:04.765Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[2021-02-03T18:02:04.765Z] [ERROR] 
[2021-02-03T18:02:04.765Z] [ERROR] After correcting the problems, you can resume the build with the command
[2021-02-03T18:02:04.765Z] [ERROR]   mvn <args> -rf :acdebugger-common

Account for fasterxml.woodstox in third-party libraries

Description

Saw output come up suggesting to put a privileged block in a class in com.fasterxml.woodstox.woodstox-core.

Steps to Reproduce

N/A (Steps are specific to my current DDF branch.)

Expected behavior:

Should account for woodstox as being a third-party.

Actual behavior:

It's not accounting for it.

Reproduces how often:

Every time

Version

1.0

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

the reconnect option when not using the continuous option tries to re-attach to the same VM when already attached

Description

When using --reconnect without --continuous, the debugger loops back and tries to re-attach to the same VM after the first failure has been detected even though it has not already disconnect.

Also the readme lists 2 --help options.

Steps to Reproduce

Described above.

Expected behavior:

It should exit

Actual behavior:

It hangs trying to re-attach to the same VM since this one is already being attached to by the debugger.

Reproduces how often:

100%

Version

1.5

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

Add support for non-OSGi VM

Description

Add support for VM that are not OSGi containers where bundles don't exist. So protection domains would need to be reported via their code source location.

Expected behavior:

Be able to attach the AC debugger to a JVM that is not an OSGi container.

Actual behavior:

Currently fails.

Reproduces how often:

100%

Version

1.5

Unresolved package required by backdoor

Description

The latest version of the backdoor bundle is unable to start. Logs seen under data/cache shows Unresolved requirement: Import-Package: org.eclipse.osgi.internal.permadmin.

Steps to Reproduce

  1. Build DDF and start it
  2. bundle:list -t 0 | grep -i door

Expected behavior:

It should report as active

Actual behavior:

it reports as installed and a log file under data/cache shows the error above

Reproduces how often:

100%

Version

1.3

AC Debugger should identify acceptable security failures and ignore those

Description

Security exceptions are not necessarily an issue all the time. Sometimes the code is designed to handle those by falling back to a different behavior for example. One such case is at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:214 where the code catches an access control exception and continues without loading fonts. This would be an acceptable situation where no permissions actually need to be granted.

Steps to Reproduce

  1. Ingest a PDF document in DDF

Expected behavior:

The debugger should simply ignore this security exception and continue as it it had failed normally. It could report it when extra information is requested (--dump).

Actual behavior:

The debugger analyzes this particular security failures as any other and reports possible solutions which are actually not required.

Reproduces how often:

100%

Version

1.0.2

Exception when adding module in DDF

Description

It looks like adding registry-publication-action-provider in DDF into a createClassLoader block causes this exception.

[Description of the issue]

Steps to Reproduce

  1. Add registry-publication-action-provider to DDF security manager
  2. [Attach ACDebugger to DDF]
  3. [Install profile:development]
  4. [Configure WFS 1.1.0 https://github.com/codice/ddf/pull/4654]
  5. Issue a query

Expected behavior:

[What you expect to happen]

Actual behavior:

[What actually happens]

Reproduces how often:

[What percentage of the time does it reproduce?]

Version

[Application version]

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

AC Debugger: =======================================================================
AC Debugger: AN ERROR OCCURRED WHILE ATTEMPTING TO ANALYZE THE SECURITY EXCEPTION,
AC Debugger: A DOMAIN IN THE CURRENT ACCESS CONTROL CONTEXT (INDEX: 1) CANNOT
AC Debugger: BE CORRELATED TO ONE COMPUTED FROM THE STACK (INDEX: 1)
AC Debugger: PLEASE REPORT AN ISSUE WITH THE FOLLOWING INFORMATION AND INSTRUCTIONS
AC Debugger: ON HOW TO REPRODUCE IT
AC Debugger: =======================================================================
AC Debugger: PERMISSION:
AC Debugger: java.lang.RuntimePermission "createClassLoader"
AC Debugger: LOCAL 'i' VARIABLE: 8
AC Debugger: CURRENT DOMAIN: org.eclipse.jetty.websocket.common >instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=19)>
AC Debugger: ACCESS CONTROL CONTEXT:
AC Debugger: org.eclipse.jetty.util <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=11)>
AC Debugger: org.ops4j.pax.web.pax-web-jetty <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=12)>
AC Debugger: org.ops4j.pax.web.pax-web-runtime <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=13)>
AC Debugger: org.ops4j.pax.web.pax-web-extender-war <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=14)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=15)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=16)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=17)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=18)>
AC Debugger: *org.eclipse.jetty.websocket.common <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=19)>
AC Debugger: org.eclipse.jetty.io <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=20)>
AC Debugger: catalog-core-standardframework <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=21)>
AC Debugger: catalog-core-standardframework <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=22)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=23)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=24)>
AC Debugger: com.google.guava <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=25)>
AC Debugger: org.apache.shiro.core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=26)>
AC Debugger: org.apache.servicemix.bundles.xstream <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=27)>
AC Debugger: spatial-wfs-featuretransformer-xstream <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=28)>
AC Debugger: spatial-wfs-featuretransformer <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=29)>
AC Debugger: org.apache.camel.camel-core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=30)>
AC Debugger: spatial-wfs-v1_1_0-source <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=31)>
AC Debugger: org.apache.cxf.cxf-rt-frontend-jaxrs <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32)>
AC Debugger: org.apache.cxf.cxf-rt-rs-client <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=33)>
AC Debugger: COMPUTED CONTEXT:
AC Debugger: bundle-0
AC Debugger: org.apache.servicemix.bundles.xstream
AC Debugger: spatial-wfs-featuretransformer-xstream
AC Debugger: spatial-wfs-featuretransformer
AC Debugger: org.apache.camel.camel-core
AC Debugger: spatial-wfs-v1_1_0-source
AC Debugger: org.apache.cxf.cxf-rt-frontend-jaxrs
AC Debugger: org.apache.cxf.cxf-rt-rs-client
AC Debugger: catalog-core-standardframework
AC Debugger: STACK:
AC Debugger: at bundle-0(java.security.AccessControlContext:472) <instance of java.security.AccessControlContext(id=7)>
AC Debugger: at bundle-0(java.security.AccessController:884)
AC Debugger: at bundle-0(java.lang.SecurityManager:549) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=375)>
AC Debugger: at bundle-0(java.lang.SecurityManager:611) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=375)>
AC Debugger: at bundle-0(java.lang.ClassLoader:274)
AC Debugger: at bundle-0(java.lang.ClassLoader:335) <instance of com.thoughtworks.xstream.core.util.CompositeClassLoader(id=377)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.core.util.CompositeClassLoader:73) <instance of com.thoughtworks.xstream.core.util.CompositeClassLoader(id=377)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.XStream:411) <instance of com.thoughtworks.xstream.XStream(id=380)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.XStream:378) <instance of com.thoughtworks.xstream.XStream(id=380)>
AC Debugger: at spatial-wfs-featuretransformer-xstream(org.codice.ddf.spatial.ogc.wfs.transformer.xstream.XStreamWfs11FeatureTransformer:53) <instance of org.codice.ddf.spatial.ogc.wfs.transformer.xstream.XStreamWfs11FeatureTransformer(id=382)>
AC Debugger: at spatial-wfs-featuretransformer(org.codice.ddf.spatial.ogc.wfs.featuretransformer.impl.WfsTransformerProcessor:52) <instance of org.codice.ddf.spatial.ogc.wfs.featuretransformer.impl.WfsTransformerProcessor(id=384)>
AC Debugger: at bundle-0(sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])+-1)
AC Debugger: at bundle-0(sun.reflect.NativeMethodAccessorImpl:62) <instance of sun.reflect.NativeMethodAccessorImpl(id=386)>
AC Debugger: at bundle-0(sun.reflect.DelegatingMethodAccessorImpl:43) <instance of sun.reflect.DelegatingMethodAccessorImpl(id=388)>
AC Debugger: at bundle-0(java.lang.reflect.Method:498) <instance of java.lang.reflect.Method(id=389)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo:481) <instance of org.apache.camel.component.bean.MethodInfo(id=391)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo$1:300) <instance of org.apache.camel.component.bean.MethodInfo$1(id=393)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo$1:273) <instance of org.apache.camel.component.bean.MethodInfo$1(id=393)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractBeanProcessor:188) <instance of org.apache.camel.component.bean.BeanProcessor$DelegateBeanProcessor(id=395)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.BeanProcessor:53) <instance of org.apache.camel.component.bean.BeanProcessor(id=398)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=400)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=402)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=405)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=407)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.direct.DirectBlockingProducer:53) <instance of org.apache.camel.component.direct.DirectBlockingProducer(id=409)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.SendProcessor:148) <instance of org.apache.camel.processor.SendProcessor(id=411)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=412)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=413)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=414)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=415)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=416)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:715) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:638) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:248) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Splitter:130) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=420)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=421)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=422)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:138) <instance of org.apache.camel.processor.Pipeline(id=424)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:101) <instance of org.apache.camel.processor.Pipeline(id=424)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=425)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=426)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:715) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:638) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:248) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Splitter:130) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=428)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=429)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=430)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:138) <instance of org.apache.camel.processor.Pipeline(id=431)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:101) <instance of org.apache.camel.processor.Pipeline(id=431)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=432)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.DelegateAsyncProcessor:97) <instance of org.apache.camel.processor.CamelInternalProcessor(id=432)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.direct.DirectBlockingProducer:48) <instance of org.apache.camel.component.direct.DirectBlockingProducer(id=434)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler$1:192) <instance of org.apache.camel.component.bean.AbstractCamelInvocationHandler$1(id=436)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=438)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:210) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:172) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.CamelInvocationHandler:51) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:89) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at bundle-0(com.sun.proxy.$Proxy154.apply(java.io.InputStream, org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata)+20) <instance of com.sun.proxy.$Proxy154(id=443)>
AC Debugger: at bundle-0(Proxy2301f4cf_1633_48d9_bf4a_e5da023890d2.apply(java.io.InputStream, org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata)+65) <instance of Proxy2301f4cf_1633_48d9_bf4a_e5da023890d2(id=445)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader:67) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader(id=447)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader:32) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader(id=447)>
AC Debugger: at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.utils.JAXRSUtils:1354)
AC Debugger: at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.impl.ResponseImpl:370) <instance of org.apache.cxf.jaxrs.impl.ResponseImpl(id=450)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.AbstractClient:561) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=452)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:899) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=452)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:786) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=452)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:238) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=452)>
AC Debugger: at bundle-0(com.sun.proxy.$Proxy161.getFeature(net.opengis.wfs.v_1_1_0.GetFeatureType)+16) <instance of com.sun.proxy.$Proxy161(id=455)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:679) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=457)>
AC Debugger: at bundle-0(Proxya3da41bc_e589_4cb6_a710_d320c390de7b.query(ddf.catalog.operation.QueryRequest)+58) <instance of Proxya3da41bc_e589_4cb6_a710_d320c390de7b(id=459)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:513) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=461)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:507) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=461)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:493) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=461)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=462)>
AC Debugger: at bundle-0(java.util.concurrent.Executors$RunnableAdapter:511) <instance of java.util.concurrent.Executors$RunnableAdapter(id=464)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.ExecutorCompletionService$QueueingFuture(id=465)>
AC Debugger: at bundle-0(java.util.concurrent.ThreadPoolExecutor:1149) <instance of java.util.concurrent.ThreadPoolExecutor(id=468)>
AC Debugger: at bundle-0(java.util.concurrent.ThreadPoolExecutor$Worker:624) <instance of java.util.concurrent.ThreadPoolExecutor$Worker(id=470)>
AC Debugger: at bundle-0(java.lang.Thread:748) <instance of java.lang.Thread(name='federationStrategyThread 4', id=6)>
AC Debugger: =======================================================================
Exception in thread "pool-1-thread-1" java.lang.InternalError: unable to correlate a domain in the access control context with those computed from the stack : org.apache.servicemix.bundles.xstream
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.getNextContextDomainIndexNotComputedFromStack(SecurityCheckInformation.java:445)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recomputeFromContext(SecurityCheckInformation.java:455)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recompute(SecurityCheckInformation.java:376)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.(SecurityCheckInformation.java:136)
at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:117)
at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:72)
at org.codice.acdebugger.impl.BreakpointInfo.process(BreakpointInfo.java:49)
at org.codice.acdebugger.impl.Debugger$EventSetThread.run(Debugger.java:400)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
AC Debugger:
AC Debugger: =======================================================================
AC Debugger: AN ERROR OCCURRED WHILE ATTEMPTING TO ANALYZE THE SECURITY EXCEPTION,
AC Debugger: A DOMAIN IN THE CURRENT ACCESS CONTROL CONTEXT (INDEX: 1) CANNOT
AC Debugger: BE CORRELATED TO ONE COMPUTED FROM THE STACK (INDEX: 1)
AC Debugger: PLEASE REPORT AN ISSUE WITH THE FOLLOWING INFORMATION AND INSTRUCTIONS
AC Debugger: ON HOW TO REPRODUCE IT
AC Debugger: =======================================================================
AC Debugger: PERMISSION:
AC Debugger: java.lang.RuntimePermission "createClassLoader"
AC Debugger: LOCAL 'i' VARIABLE: 8
AC Debugger: CURRENT DOMAIN: org.eclipse.jetty.websocket.common >instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=19)>
AC Debugger: ACCESS CONTROL CONTEXT:
AC Debugger: org.eclipse.jetty.util <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=11)>
AC Debugger: org.ops4j.pax.web.pax-web-jetty <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=12)>
AC Debugger: org.ops4j.pax.web.pax-web-runtime <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=13)>
AC Debugger: org.ops4j.pax.web.pax-web-extender-war <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=14)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=15)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=16)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=17)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=18)>
AC Debugger: *org.eclipse.jetty.websocket.common <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=19)>
AC Debugger: org.eclipse.jetty.io <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=20)>
AC Debugger: catalog-core-standardframework <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=21)>
AC Debugger: catalog-core-standardframework <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=22)>
AC Debugger: bundle-0 <instance of java.security.ProtectionDomain(id=23)>
AC Debugger: catalog-ui-search <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=24)>
AC Debugger: com.google.guava <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=25)>
AC Debugger: org.apache.shiro.core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=26)>
AC Debugger: org.apache.servicemix.bundles.xstream <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=27)>
AC Debugger: spatial-wfs-featuretransformer-xstream <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=28)>
AC Debugger: spatial-wfs-featuretransformer <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=29)>
AC Debugger: org.apache.camel.camel-core <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=30)>
AC Debugger: spatial-wfs-v1_1_0-source <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=31)>
AC Debugger: org.apache.cxf.cxf-rt-frontend-jaxrs <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=32)>
AC Debugger: org.apache.cxf.cxf-rt-rs-client <instance of org.eclipse.osgi.internal.loader.ModuleClassLoader$GenerationProtectionDomain(id=33)>
AC Debugger: COMPUTED CONTEXT:
AC Debugger: bundle-0
AC Debugger: org.apache.servicemix.bundles.xstream
AC Debugger: spatial-wfs-featuretransformer-xstream
AC Debugger: spatial-wfs-featuretransformer
AC Debugger: org.apache.camel.camel-core
AC Debugger: spatial-wfs-v1_1_0-source
AC Debugger: org.apache.cxf.cxf-rt-frontend-jaxrs
AC Debugger: org.apache.cxf.cxf-rt-rs-client
AC Debugger: catalog-core-standardframework
AC Debugger: STACK:
AC Debugger: at bundle-0(java.security.AccessControlContext:472) <instance of java.security.AccessControlContext(id=515)>
AC Debugger: at bundle-0(java.security.AccessController:884)
AC Debugger: at bundle-0(java.lang.SecurityManager:549) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=375)>
AC Debugger: at bundle-0(java.lang.SecurityManager:611) <instance of net.sourceforge.prograde.sm.ProGradeJSM(id=375)>
AC Debugger: at bundle-0(java.lang.ClassLoader:274)
AC Debugger: at bundle-0(java.lang.ClassLoader:335) <instance of com.thoughtworks.xstream.core.util.CompositeClassLoader(id=518)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.core.util.CompositeClassLoader:73) <instance of com.thoughtworks.xstream.core.util.CompositeClassLoader(id=518)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.XStream:411) <instance of com.thoughtworks.xstream.XStream(id=519)>
AC Debugger: at org.apache.servicemix.bundles.xstream(com.thoughtworks.xstream.XStream:378) <instance of com.thoughtworks.xstream.XStream(id=519)>
AC Debugger: at spatial-wfs-featuretransformer-xstream(org.codice.ddf.spatial.ogc.wfs.transformer.xstream.XStreamWfs11FeatureTransformer:53) <instance of org.codice.ddf.spatial.ogc.wfs.transformer.xstream.XStreamWfs11FeatureTransformer(id=382)>
AC Debugger: at spatial-wfs-featuretransformer(org.codice.ddf.spatial.ogc.wfs.featuretransformer.impl.WfsTransformerProcessor:52) <instance of org.codice.ddf.spatial.ogc.wfs.featuretransformer.impl.WfsTransformerProcessor(id=384)>
AC Debugger: at bundle-0(sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])+-1)
AC Debugger: at bundle-0(sun.reflect.NativeMethodAccessorImpl:62) <instance of sun.reflect.NativeMethodAccessorImpl(id=386)>
AC Debugger: at bundle-0(sun.reflect.DelegatingMethodAccessorImpl:43) <instance of sun.reflect.DelegatingMethodAccessorImpl(id=388)>
AC Debugger: at bundle-0(java.lang.reflect.Method:498) <instance of java.lang.reflect.Method(id=389)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo:481) <instance of org.apache.camel.component.bean.MethodInfo(id=391)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo$1:300) <instance of org.apache.camel.component.bean.MethodInfo$1(id=520)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.MethodInfo$1:273) <instance of org.apache.camel.component.bean.MethodInfo$1(id=520)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractBeanProcessor:188) <instance of org.apache.camel.component.bean.BeanProcessor$DelegateBeanProcessor(id=395)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.BeanProcessor:53) <instance of org.apache.camel.component.bean.BeanProcessor(id=398)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=400)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=402)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=405)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=407)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.direct.DirectBlockingProducer:53) <instance of org.apache.camel.component.direct.DirectBlockingProducer(id=409)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.SendProcessor:148) <instance of org.apache.camel.processor.SendProcessor(id=411)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=412)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=413)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=414)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=415)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=416)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:715) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:638) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:248) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Splitter:130) <instance of org.apache.camel.processor.Splitter(id=418)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=420)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=421)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=422)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:138) <instance of org.apache.camel.processor.Pipeline(id=424)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:101) <instance of org.apache.camel.processor.Pipeline(id=424)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=425)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=426)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:715) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:638) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.MulticastProcessor:248) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Splitter:130) <instance of org.apache.camel.processor.Splitter(id=427)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.interceptor.TraceInterceptor:181) <instance of org.apache.camel.processor.interceptor.TraceInterceptor(id=428)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.RedeliveryErrorHandler:548) <instance of org.apache.camel.processor.DefaultErrorHandler(id=429)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.interceptor.DefaultChannel(id=430)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:138) <instance of org.apache.camel.processor.Pipeline(id=431)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.Pipeline:101) <instance of org.apache.camel.processor.Pipeline(id=431)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.CamelInternalProcessor:201) <instance of org.apache.camel.processor.CamelInternalProcessor(id=432)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.processor.DelegateAsyncProcessor:97) <instance of org.apache.camel.processor.CamelInternalProcessor(id=432)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.direct.DirectBlockingProducer:48) <instance of org.apache.camel.component.direct.DirectBlockingProducer(id=434)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler$1:192) <instance of org.apache.camel.component.bean.AbstractCamelInvocationHandler$1(id=521)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=522)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:210) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:172) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.CamelInvocationHandler:51) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at org.apache.camel.camel-core(org.apache.camel.component.bean.AbstractCamelInvocationHandler:89) <instance of org.apache.camel.component.bean.CamelInvocationHandler(id=440)>
AC Debugger: at bundle-0(com.sun.proxy.$Proxy154.apply(java.io.InputStream, org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata)+20) <instance of com.sun.proxy.$Proxy154(id=443)>
AC Debugger: at bundle-0(Proxy2301f4cf_1633_48d9_bf4a_e5da023890d2.apply(java.io.InputStream, org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata)+65) <instance of Proxy2301f4cf_1633_48d9_bf4a_e5da023890d2(id=445)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader:67) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader(id=447)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader:32) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader(id=447)>
AC Debugger: at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.utils.JAXRSUtils:1354)
AC Debugger: at org.apache.cxf.cxf-rt-frontend-jaxrs(org.apache.cxf.jaxrs.impl.ResponseImpl:370) <instance of org.apache.cxf.jaxrs.impl.ResponseImpl(id=523)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.AbstractClient:561) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=524)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:899) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=524)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:786) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=524)>
AC Debugger: at org.apache.cxf.cxf-rt-rs-client(org.apache.cxf.jaxrs.client.ClientProxyImpl:238) <instance of org.apache.cxf.jaxrs.client.ClientProxyImpl(id=524)>
AC Debugger: at bundle-0(com.sun.proxy.$Proxy161.getFeature(net.opengis.wfs.v_1_1_0.GetFeatureType)+16) <instance of com.sun.proxy.$Proxy161(id=525)>
AC Debugger: at spatial-wfs-v1_1_0-source(org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource:679) <instance of org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsSource(id=457)>
AC Debugger: at bundle-0(Proxya3da41bc_e589_4cb6_a710_d320c390de7b.query(ddf.catalog.operation.QueryRequest)+58) <instance of Proxya3da41bc_e589_4cb6_a710_d320c390de7b(id=459)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:513) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=526)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:507) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=526)>
AC Debugger: at catalog-core-standardframework(ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse:493) <instance of ddf.catalog.cache.solr.impl.CachingFederationStrategy$CallableSourceResponse(id=526)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.FutureTask(id=527)>
AC Debugger: at bundle-0(java.util.concurrent.Executors$RunnableAdapter:511) <instance of java.util.concurrent.Executors$RunnableAdapter(id=528)>
AC Debugger: at bundle-0(java.util.concurrent.FutureTask:266) <instance of java.util.concurrent.ExecutorCompletionService$QueueingFuture(id=529)>
AC Debugger: at bundle-0(java.util.concurrent.ThreadPoolExecutor:1149) <instance of java.util.concurrent.ThreadPoolExecutor(id=468)>
AC Debugger: at bundle-0(java.util.concurrent.ThreadPoolExecutor$Worker:624) <instance of java.util.concurrent.ThreadPoolExecutor$Worker(id=530)>
AC Debugger: at bundle-0(java.lang.Thread:748) <instance of java.lang.Thread(name='federationStrategyThread 6', id=513)>
AC Debugger: =======================================================================
Exception in thread "pool-1-thread-3" java.lang.InternalError: unable to correlate a domain in the access control context with those computed from the stack : org.apache.servicemix.bundles.xstream
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.getNextContextDomainIndexNotComputedFromStack(SecurityCheckInformation.java:445)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recomputeFromContext(SecurityCheckInformation.java:455)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.recompute(SecurityCheckInformation.java:376)
at org.codice.acdebugger.breakpoints.SecurityCheckInformation.(SecurityCheckInformation.java:136)
at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:117)
at org.codice.acdebugger.breakpoints.AccessControlContextCheckProcessor.process(AccessControlContextCheckProcessor.java:72)
at org.codice.acdebugger.impl.BreakpointInfo.process(BreakpointInfo.java:49)
at org.codice.acdebugger.impl.Debugger$EventSetThread.run(Debugger.java:400)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Add command line parameter parser

Command line params are currently being interpreted manually, which is fragile. Adding a command line parsing utility would take this complexity out of ACE itself and put it on a library designed to handle that.

Package as a zip/tar distribution

Description

Add a distribution zip/tar archive that contains distribution specific bin scripts. This way the acdebugger could be installed and run like a normal command instead of via java -jar

Create unit tests

Description

The current code is lacking unit tests.

Version

1.0.2

AC Debugger should provide troubleshooting info when it is unable to find a bundle name

Description

When the debugger is unable to find the name of a bundle where a failure occurred, it should provide troubleshooting information such that an issue may be created to remedy.

Expected behavior:

Provide information about the domain where the failure occur and the current stack and the domain index from the access controller check method.

Actual behavior:

It only fails with an exception.

Reproduces how often:

100%

Version

1.0.2

Add maven plugin

Description

Create a maven plugin that can start the ACDebugger during a maven build phase.

Version

[Application version]

Unable to find bundle name for a protection domain

Description

While attempting to ingest a PDF document in DDF, a security exception was detected and the debugger is unable to find the corresponding bundle name.

Steps to Reproduce

  1. Attempt to ingest a PDF document which contains fonts

Expected behavior:

The AC debugger should be able to find the bundle name for the protection domain corresponding to the class org.apache.pdfbox.pdmodel.font.FileSystemFontProvider which is *org.codice.thirdparty.tika-bundle.

Actual behavior:

The AC debugger fails with an error.

Reproduces how often:

100%

Version

1.0.2

Replace Boon with another library supported on Java 11

Description

As a pre-requisite to upgrading to Java 11, we need to remove boon from our software. It does some dodgy and unsupported things and the project is no longer active. The current replacement is gson which is already used in the DDF codebase.

Expected behavior:

Boon library should no longer be required and embedded in the backdoor bundle.

Actual behavior:

It is currently embedded.

Version

1.5

Additional Information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

Make PR Builds Comment Driven

Description

Currently pull requests are built when created and when updated. Migrate to using a comment driven approach instead to match other Codice projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.