This topic contains 2 replies, has 0 voices, and was last updated by jerry_d 11 years, 9 months ago.

  • Author
    Posts
  • #4837 Score: 0

    jerry_d
    • Contributions: 0
    • Level 1

    I just installed the one page Reference Checkout into my sandbox.

    I then downloaded this into the SuiteCloud IDE

    At the end of the process I get the following:

    Internal validation error

    java.lang.NullPointerException

    site.js

    This also happens to the Custom Checkout I set up.

    Is this harmless, or is this an issue?

    thx

    Jerry
    This is a cached copy. Click here to see the original post.

  • #4838 Score: 0

    Lorne
    • Contributions: 0
    • Level 1

    RE: Validation error with a SSP project

    Hello,

    I was receiving this error too. It seemed to pop up an error upon every save of any file in the project. (with site.js in it)

    The only way I could prevent the error was by navigating to:

    Project > Properties > Builders > UnCheck ‘Javascript Validator’

    I have found some posts online indicating this may be an eclipse bug with larger javascript files.

    Thank you,

  • #4839 Score: 0

    jerry_d
    • Contributions: 0
    • Level 1

    RE: Validation error with a SSP project

    thx — I had tried that, but it still wasn’t OK.

    I then googled this and came across this on Stack Overflow

    1. Right click your project

    2. Select Properties -> JavaScript -> Include

    3. Select Source tab (It looks similar to the Java Build Path Source tab)

    4. Expand source folder

    5. Highlight Excluded pattern

    6. Click Edit button

    7. Click Add button next to Exclusion patterns box.

    8. Click Browse button and select the JavaScript source by name.

    I had to do this to :

    1)site.js

    2) the other site.js (that is minimized)

    3) validation.js

    then it works.

    thx

    Jerry

You must be logged in to reply to this topic.