java.lang.IllegalArgumentException: port out of range:-1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
port out of range:-1
via Stack Overflow by Javacadabra
, 2 years ago
port out of range:-1
via Oracle Community by 807578, 1 year ago
via Oracle Community by 807578, 1 year ago
java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.(InetSocketAddress.java:118)
at java.net.Socket.(Socket.java:178)
at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:499)
at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:435)
at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:274)
at netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnSetupMgr.java:199)
at netscape.ldap.LDAPConnThread.connect(LDAPConnThread.java:109)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1083)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:954)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:781)
at weblogic.ldap.EmbeddedLDAPConnection.getAndInitDelegate(EmbeddedLDAPConnection.java:2015)
at weblogic.ldap.EmbeddedLDAPConnection.add(EmbeddedLDAPConnection.java:1065)
at com.bea.security.xacml.policy.store.ldap.BaseLDAPPolicyStore.addEntry(BaseLDAPPolicyStore.java:291)
at com.bea.security.xacml.policy.store.ldap.BaseLDAPPolicyStore.addStructuralEntry(BaseLDAPPolicyStore.java:300)
at com.bea.security.xacml.policy.store.ldap.BaseLDAPPolicyStore.init(BaseLDAPPolicyStore.java:196)
at com.bea.security.xacml.policy.store.ldap.LDAPRoleAssignmentPolicyStore.init(LDAPRoleAssignmentPolicyStore.java:102)
at weblogic.security.providers.xacml.PolicyStoreHelper.getStore(PolicyStoreHelper.java:90)
at weblogic.security.providers.xacml.authorization.PolicyDecisionPointFactory.getRoleAssignment(PolicyDecisionPointFactory.java:151)
at weblogic.security.providers.xacml.authorization.XACMLRoleMapperProviderImpl.initialize(XACMLRoleMapperProviderImpl.java:107)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:281)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1000)
at weblogic.security.service.RoleManager.initialize(RoleManager.java:150)
at weblogic.security.service.RoleManager.(RoleManager.java:98)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:527)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:431)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:695)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:724)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:876)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:775)
at weblogic.security.SecurityService.start(SecurityService.java:133)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
12 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.