• Manuel S.
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies

Hi,

 

I have a problem with my HTTPS callout from SFDC to my Web Service.

It works fine for months, but last Saturday I got mails from my exception handling system in my APEX code.

 

After debugging my code, I´ve seen this line in the debug log:

 

System.CalloutException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

 

In other systems or my browser the certificate works fine. Is there a cache in SFDC for SSL certificates, which I can refresh ?

 

 

Thanks in advance.

 

Manuel

Hi,

 

I try to create a custom setting.

The creation works, the creation of an custom field in it too.

But if i try to set a Default Organization Level Value, then I get the error message: "Data Storage Limits Exceeded, Additional Data Creation Not Allowed! ".

 

If I look on the startscreen of the custom settings it says:

"Percentage of custom settings data used: 0%
You are currently using 0 MB of custom settings data in your organization, out of an allowed limit of 2 MB."

 

I work in a developer org.

 

What is wrong ?

 

Thanks for help.

 

 

Hello,

 

I have a problem while testing my classes.

I need an average of 75%, but here is the problem.

 

Following structure is given:

 

Class 1 with TestMethod and entrypoint (Batch)

Class 2 for generate a XML (parser)

Class 3 for sending a webserive callout.

 

Class 1 call Class 2 to get an XML

Class 1 call Class 3 with the generate XML from Class 2

 

All this work fine in my normal tests, but with the TestMethods ;(

In individual tests (all have a TestMethod) all this classes get over 75%.

 

So I start the TestMethod from Class 1. It reads data and generate new data.

Then it calls a method of Class 2 to get an XML.

The XML comes returns and Class 1 calls Class 3 to callout it.

 

At the results of the test Class 1 gets 78%, Class 2 gets 14% and Class 3 gets 100% ==> average 39% and fail.

 

The reason why Class 2 gets 14% is, that I call one of 15 method in the class. So the test read 70 of 500 lines of code (the method), but why ? I call one method (plus constructor) not all 15.

 

Can I get the 75% without copying all methods from the central parser class (Class 2) into my seven batch-classes, that use it ?

(Class 1 is one of seven batch-classes and all useing this parser).

 

The testing is not a good friend of modular programming, isn´t it ? ;)

 

 

Thanks

 

Manuel

 

Hi,

 

I have a problem with my HTTPS callout from SFDC to my Web Service.

It works fine for months, but last Saturday I got mails from my exception handling system in my APEX code.

 

After debugging my code, I´ve seen this line in the debug log:

 

System.CalloutException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

 

In other systems or my browser the certificate works fine. Is there a cache in SFDC for SSL certificates, which I can refresh ?

 

 

Thanks in advance.

 

Manuel

Hi,

 

I try to create a custom setting.

The creation works, the creation of an custom field in it too.

But if i try to set a Default Organization Level Value, then I get the error message: "Data Storage Limits Exceeded, Additional Data Creation Not Allowed! ".

 

If I look on the startscreen of the custom settings it says:

"Percentage of custom settings data used: 0%
You are currently using 0 MB of custom settings data in your organization, out of an allowed limit of 2 MB."

 

I work in a developer org.

 

What is wrong ?

 

Thanks for help.