Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 60 Next »

If you encounter issues while working with the IntelliJ IDEA plugin, please report them. Internal people can report to JIRA in PFAUT project. Partners or customers can raise a ticket to the Support portal. If possible, add a screenshot or attach the IntelliJ IDEA log file to the message. The log file is located at Help > Show Log in Files/Explorer/Finder; idea.log is the current log file.

Why Auto-completion Is Not Working?

Make sure Groovy API Library Is Added to Project

The Groovy API library must be part of the project, since that contains pricefx interfaces/classes which are used by IDEA for the auto-completion.

  1. Open the project in IntelliJ IDEA.

  2. Open Maven tool window and click the Reload button. If you don’t see Maven tool window, right click the root folder and select Pricefx > Generate pom.xml. Click Local Maven Project in the popup that appears.

  3. This will add Studio: net.pricefx:groovy-api library in External libraries and auto completion should work from now.

  4. File > Invalidate Caches > select Clear file system cache and Local history and Clear VCS Log caches and indexes > confirm Invalidate and Restart.

Logic 'elements' Folders Must Be Marked as a 'Source' Folder

Did you mark the logic elements directories as source? To do that, open Maven tool window and click the Reload button. If you don’t see Maven tool window, right click the root folder and select Pricefx > Generate pom.xml. Click Local Maven Project in the popup that appears.


Auto-Completion Works in General, but Not for Some Classes

Does the auto-completion not work when for Filter? Do you have element called "Filter" in one of your logics? Try to give it another name as described in Naming Conventions. Alternatively explicitely add import com.googlecode.genericdao.search.Filter.

How to ensure Studio is using the latest Groovy API?

Each Studio version is bundled with certain version the Groovy API. Make sure you are using the latest Studio to have the latest Groovy API. FollowUpgrade Studio Project Libraries

Cannot Upgrade Studio

If you have not switched to JetBrains MarketPlace yet, follow these steps: https://pricefx.atlassian.net/wiki/spaces/KB/pages/1679196175/Install+Studio#Remove/Reinstall-Plugin

PKIX Path Building Failed: SunCertPathBuilderException

If you get a following exception:

“net.pricefx.restapiclient.PfxClientException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”

your computer cannot connect to Pricefx backend via SSL.

Troubleshooting steps:

  1. Make sure you are using the latest supported IDEA version (as listed in the release notes). This will ensure that the latest certificate store database is used.

  2. Go to the Pricefx partition using the web browser. If the browser displays a problem with the certificate, check the error message. If the certificate expired, contact Pricefx Support via helpdesk.

  3. If your company requires that a proxy server is used, set up the proxy server also in IDEA. See https://pricefx.atlassian.net/wiki/spaces/KB/pages/1679196175/Install+Studio#Install-Plugin.

  4. If you still cannot connect, your certificate store may be outdated (for older computers). In that case visit the Pricefx partition using the web browser. Export the certificate using the browser and import it to the IDEA certificate store in Preferences > search “Server Certificates”.

IntelliJ IDEA General Troubleshooting

If IntelliJ IDEA is behaving strangely, the last chance is to remove the project related config files:

  1. Invalidate caches: File > Invalidate Cache / Restart > Clear file system cache and Local History and Clear VCS Log caches and indexes > confirm Invalidate and Restart.

  2. Close IDEA.

  3. In the MacOS, delete IDEA config files of the project:

    • Browse to the project folder.

    • Find the .iml file in the project root and delete it.

    • Find the .idea folder in the project root and delete it.

  4. Reopen the project in IDEA.

Code Reference Info: 
https://www.jetbrains.com/help/idea/viewing-reference-information.html

Install Older Version of IntelliJ IDEA

Verify in the Pricefx Studio Release Notes that you use a supported IntelliJ IDEA version.

Note that Pricefx Studio has been known to have some issues with IntelliJ 2021.3, so try installing 2021.2 or another version and see if that fixes the issue.

Older versions of IntelliJ: https://www.jetbrains.com/idea/download/other.html

  • No labels