eclipse Ldap Apache Directory Studio无法在osx big sur中打开根DSE

gorkyyrv  于 2023-03-29  发布在  Eclipse
关注(0)|答案(2)|浏览(174)

在升级我的macOsx版本到Big Sur(11.1)后,我面临着奇怪的问题。当我连接LDAP服务器时,我看到除了DSE根树之外的所有信息都没有扩展,并且无法执行任何操作,例如搜索/过滤。这里看起来像

我收到如下错误信息

java.lang.NullPointerException (Hexdump: 30 7E 02 01 06 65 07 0A 01 00 04 00 04 00 A0 70 30 6E 04 17 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 32 36 30 32 37 2E 31 2E 35 2E 34 01 01 FF 04 50 30 4E 04 4C 64 63 3D 70 6F 72 73 63 68 65 2C 64 63 3D 63 6F 6D 3A 30 30 30 30 30 31 37 37 30 61 38 33 62 33 63 37 37 64 32 62 30 30 61 38 30 31 61 61 20 30 30 30 30 30 31 37 37 30 61 38 33 65 33 65 61 37 62 65 30 30 30 61 30 61 36 62 31 3B)

例外情况如下堆栈跟踪

org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.NullPointerException (Hexdump: 30 7E 02 01 06 65 07 0A 01 00 04 00 04 00 A0 70 30 6E 04 17 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 32 36 30 32 37 2E 31 2E 35 2E 34 01 01 FF 04 50 30 4E 04 4C 64 63 3D 70 6F 72 73 63 68 65 2C 64 63 3D 63 6F 6D 3A 30 30 30 30 30 31 37 37 30 61 38 33 62 33 63 37 37 64 32 62 30 30 61 38 30 31 61 61 20 30 30 30 30 30 31 37 37 30 61 38 33 65 33 65 61 37 62 65 30 30 30 61 30 61 36 62 31 3B)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:263)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128)
    at org.apache.mina.filter.ssl.SslHandler.flushMessageReceived(SslHandler.java:330)
    at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:552)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128)
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:643)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:539)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1222)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1211)
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    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)
Caused by: java.lang.NullPointerException
    at org.apache.directory.api.ldap.codec.actions.controls.StoreControlValue.action(StoreControlValue.java:81)
    at org.apache.directory.api.ldap.codec.actions.controls.StoreControlValue.action(StoreControlValue.java:49)
    at org.apache.directory.api.asn1.ber.grammar.AbstractGrammar.executeAction(AbstractGrammar.java:136)
    at org.apache.directory.api.asn1.ber.Asn1Decoder.treatTLVDoneState(Asn1Decoder.java:604)
    at org.apache.directory.api.asn1.ber.Asn1Decoder.decode(Asn1Decoder.java:740)
    at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolDecoder.decode(LdapProtocolDecoder.java:137)
    at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolDecoder.decode(LdapProtocolDecoder.java:86)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:254)
    ... 20 more

这里是我的会话数据,如果您的Maven认为它可能会有所帮助

eclipse.buildId=unknown
java.version=1.8.0_271
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments:  /studio-rcp/resources/icons/linux/studio.xpm -keyring /Users/naimrajiv/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 /studio-rcp/resources/icons/linux/studio.xpm -keyring /Users/naimrajiv/.eclipse_keyring

我被困了一天多,不知道该怎么办!任何帮助都非常感谢!

ffx8fchx

ffx8fchx1#

我已经将Apache Studio升级到版本:版本:2.0.0.v20210213-M16,运行良好

xhv8bpkk

xhv8bpkk2#

也许你和我一样犯了这个错误,我复制了一个旧的连接属性来创建一个新的,而“浏览选项〉〉基本DN”部分仍然是旧的。将“基本DN”修复为正确的将解决这个问题

相关问题