• adrien
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

We have an application that runs in a web tab and for this one specific user we are getting this error when they click on the tab.

INVALID_FIELD: SELECT ProfileId FROM User WHERE Id = '123456ABCDEFG' ^ ERROR at Row:1:Column:8 No such column 'ProfileId' on entity 'User'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

Note: I have masked the Id, we are using a real Id not 123456ABCDEFG

I believe but cannot confirm that it is because the user does not have permission to "View Setup and Configuration"... any ideas?

Cheers!

  • September 22, 2005
  • Like
  • 0

This is the error:

{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
        at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:130)
        at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:382)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
        at org.apache.axis.client.Call.invoke(Call.java:2720)
        at org.apache.axis.client.Call.invoke(Call.java:2396)
        at org.apache.axis.client.Call.invoke(Call.java:2319)
        at org.apache.axis.client.Call.invoke(Call.java:1776)
        at com.sforce.soap.partner.SoapBindingStub.getUserInfo(SoapBindingStub.java:1608)
        at com.gotcompany.salesforce.SalesforceConnection.login(SalesforceConnection.java:118)

This is what I have done to try and solve this error:

when I run java -version it tells me that I am running 1.4.2 and my environment variables all say the same thing.

I am running resin and from their documentation it should use the jdk set by the environment.

I have updated our certificates using the keytool and imported the cert from na1.salesforce.com

I am running out of options and really need to get this deployed asap.

Suggestions?

This is the error:

{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
        at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:130)
        at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:382)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
        at org.apache.axis.client.Call.invoke(Call.java:2720)
        at org.apache.axis.client.Call.invoke(Call.java:2396)
        at org.apache.axis.client.Call.invoke(Call.java:2319)
        at org.apache.axis.client.Call.invoke(Call.java:1776)
        at com.sforce.soap.partner.SoapBindingStub.getUserInfo(SoapBindingStub.java:1608)
        at com.gotcompany.salesforce.SalesforceConnection.login(SalesforceConnection.java:118)

This is what I have done to try and solve this error:

when I run java -version it tells me that I am running 1.4.2 and my environment variables all say the same thing.

I am running resin and from their documentation it should use the jdk set by the environment.

I have updated our certificates using the keytool and imported the cert from na1.salesforce.com

I am running out of options and really need to get this deployed asap.

Suggestions?