Skip to main content

#MuleSoft Anypoint Studio0 discussing

Questions and answers about MuleSoft Anypoint Studio, best practices, and use cases.

I am not able to install anypoint studio, I am getting below error when clicking on the download link. It's not a network or device specific issue because I have tried with different network and devices. 

 

Not able to download Anypoint Studio

 

 

 

#MuleSoft Anypoint Studio

3 answers
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Mar 17, 9:38 PM

    @Aditya Chasta

    it seems ok for me. Maybe try to upload your Chrome web browser first 

    And tray again in a normal Chrome window.

    it seems ok for me. Maybe try to upload your Chrome web browser first And tray again in a normal Chrome window.

    Good luck 

    Eric 

0/9000

I don't have the encryption key with me. In the runtime, its protected and is just having an option to replace the values. The developer is no longer working with us so would not be able to get the data from him. All the credentials are encrypted and I'm not aware of few of the credentials. How to decrypt the values now.  And while trying to run in my local, I'm getting an error  "You need to increment your key size. The minimum allowed key size is: 16, but your key size is: 10 ". Upon checking the jar file has a key of size 10 and not 16.   

3 answers
0/9000

Hi,

 

I am new to this forum getting my skills updated with the training material.I tried to download any point studio zip folder and when i tried to unzip it it is giving an error .However i changed the zip folder name to short name but when unzipping it is giving error for few files when copying which is the same error path too long.could you please let us know how to set environment variables for JDk

15 answers
0/9000

getting following error while running as Mule Application

 

[INFO] Scanning for projects...

Downloading: https://repository.mulesoft.org/nexus/content/repositories/releases/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom

 

Downloading: https://repository.mulesoft.org/nexus/content/groups/public/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom

 

Downloading: https://repository.mulesoft.org/nexus-ee/content/repositories/releases-ee/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom

 

Downloading: https://repository.mulesoft.org/releases/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom

 

Downloading: https://repo.maven.apache.org/maven2/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom

 

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:3.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-maven-plugin:jar:3.1.1 @

[ERROR] Unknown packaging: mule-application @ line 9, column 13

@

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR] The project com.mycompany:velo-system-api:1.0.0-SNAPSHOT (C:\MuleSoft\AnyPointStudio\studio-workspace\doc-addr-check-accnt\pom.xml) has 2 errors

[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:3.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-maven-plugin:jar:3.1.1: Could not transfer artifact org.mule.tools.maven:mule-maven-plugin:pom:3.1.1 from/to mule-public (https://repository.mulesoft.org/nexus/content/repositories/releases): Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target from https://repository.mulesoft.org/nexus/content/repositories/releases/org/mule/tools/maven/mule-maven-plugin/3.1.1/mule-maven-plugin-3.1.1.pom -> [Help 2]

[ERROR] Unknown packaging: mule-application @ line 9, column 13

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

 

Here is my pom.xml( see attachment)

 

pomtxt.txt

 

3 answers
  1. Feb 22, 3:43 PM

    SOLUTION

    1. Use the latest MUnit version and patch in pom.xml update in both <app.runtime> and <runtimeVersion>, as given below (Example):

    <app.runtime>4.3.0-20210609</app.runtime>

    <mule.maven.plugin.version>3.3.5</mule.maven.plugin.version>

    ......................

    ......................

    <groupId>com.mulesoft.munit.tools</groupId>

    <artifactId>munit-maven-plugin</artifactId>

    <version>${munit.version}</version>

    <runtimeVersion>4.4.0-20211227</runtimeVersion>

    ......................

    ......................

     

     

    For more details about MUnit Plugin, Refer

    MUnit Maven Plugin

     

     

    For the latest MUnit plugin, Refer

    MUnit Release Notes

     

     

    2. Clean the Project and re-run the scenario - Project -> Clean 

0/9000

this was the thing i am facing and could not get rid of it

even for a simple connection it is raising the same issueThere was an error running build on projectScreenshot (2)

2 answers
  1. Feb 22, 3:43 PM

    SOLUTION

    1. Use the latest MUnit version and patch in pom.xml update in both <app.runtime> and <runtimeVersion>, as given below (Example):

    <app.runtime>4.3.0-20210609</app.runtime>

    <mule.maven.plugin.version>3.3.5</mule.maven.plugin.version>

    ......................

    ......................

    <groupId>com.mulesoft.munit.tools</groupId>

    <artifactId>munit-maven-plugin</artifactId>

    <version>${munit.version}</version>

    <runtimeVersion>4.4.0-20211227</runtimeVersion>

    ......................

    ......................

     

     

    For more details about MUnit Plugin, Refer

    MUnit Maven Plugin

     

     

    For the latest MUnit plugin, Refer

    MUnit Release Notes

     

     

    2. Clean the Project and re-run the scenario - Project -> Clean 

0/9000

Hi Team,

I can below Vulnerable Dependencies issues while generating SonarQube Scan Report. In this we are using only three jars which is activemq-broker-5.16.2.jar, activemq-client-5.16.0.jar, groovy-all-2.4.16-indy.jar, remaining and all we are not using in our application.

 

Please let us know how to resolve this issue. so that we can get Vulnerable Dependencies issues as null.

Please suggest us the version , if it required to update the version.

 

How to resolve this Vulnerable Dependencies issues which I am getting while generating report for sonarqube Scan?SonarqubeissuesPage1 

Regards,

Md Aamir Hassan

1 answer
  1. Feb 18, 8:54 PM

    Did you get any resolution for the above query 

0/9000

Using Anypoint Studio 7.23 (Mule 4.10) on Windows 11, hot redeploy fails every time I save XML while the app is running. 

 

Studio shows: 

 

Project redeployment has been aborted due to an error 

 

Root error: 

 

java.nio.file.FileSystemException: ...jar: The process cannot access the file because it is being used by another process 

 

This happens while copying files into: 

 

<Studio>/plugins/org.mule.tooling.server.../mule/apps/<app>/repository/ 

 

 

What I tried: 

 

Workspace and Studio moved outside user folder 

 

Clean project, delete target + deployed app folder 

 

Restarted Studio and PC 

 

Result: 

App runs, but any save → redeploy fails → must stop/run manually. 

 

Has anyone faced this file-lock issue on Windows or found a fix? 

 

 

Anypoint Studio hot redeploy fails on save due to file lock on Windows

 

 

 

#MuleSoft Anypoint Studio

2 answers
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    Feb 3, 10:22 PM

    Hello, 

     

    One option to disable auto Build from Anypoint from Workspace , just search workspace and uncheck it 

     

    Hello, One option to disable auto Build from Anypoint from Workspace , just search workspace and uncheck it Another: - Try to run Studio with Admin Mode - Disable Antivirus - Add Exclusion for folder

     

     

    Another: 

    - Try to run Studio with Admin Mode 

    - Disable Antivirus 

    - Add Exclusion for folder location for Anypoint Installation and Workspace directory or Runtime Path in Windows defender 

     

    Thanks, 

    Manish Kumar Yadav 

    Trailblazer Community Forum Ambassadors 

     

0/9000

Hi  We are using JWT in some of our project and we are getting information from the JWT by using  authentication.properties.claims.preferred_username  After upgrading to J17 this is always returning null when running project locally.  But the same code is on Staging on Cloudhub and is working normal there.  For us it's really bad not to be able to test our code locally before pushing to staging and production.  I've tried several options  - All policies up2date  - Use Runtime 4.6, 4.9, 4.10  - Update all modules  But no luck the authentication object is always null (locally)    So the problem is  authentication object is ok on CloudHub  authentication object is null running locally   

2 answers
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    Jan 16, 10:41 PM

    Hello @Khyati Mehta

     

    First of all, I will never agree the answer you have provided , trust me. Please delete it or edit it.  

     

    @Sveinbjörn Geir Hlöðversson

    To give 100% working answer, First please check the below connection and let me know.:Based on your control Plane , your URLs for Anypoint Paltform for control would get change .  

     

    Hello , First of all, I will never agree the answer you have provided , trust me. Please delete it or edit it. , To give 100% working answer, First please check the below connection and let me know.

     

    Thanks, 

    Manish Kumar Yadav 

    Trailblazer Community Forum Ambassadors 

     

     

     

0/9000

I'm able to run debugger and send request from postman. I get valid response but debugger never stops at my breakpoints.

A while after I run debug, I get below pop-up window. It doesn't stop me from sending requests but it just won't stop at my breakpoints.

NOTE: I have work computer that uses VPN

Studio is not able to connect to Debugger server and Debugger not stopping at breakpoint.Tried below from similar forum topics:

Opened Firewall port 6666

Tried other ports (9999, 6667, etc)

Reinstalled anypoint studio (including previous version)

Tried earlier version of Mule 4 runtime.

Moved anypoint studio to a different directory.

Deleted workspace and retried with a new workspace

Also deleted .mule folder and Project > Clean

telnet localhost 6666 returns: connect failed

opened 6666 to allow inbound connection

ss2

6 answers
  1. Dec 22, 2025, 9:42 PM

    Was facing the same issue after upgrading to Version: 7.23.0 

     

    Right clicking the Project -> Properties -> On Mule Project changed Server Runtime from 4.9.11 to 4.10.1, accepted the dialogs (Anypoint crashed the first time, so I repeated the steps, second time worked).  

     

    After that right click the Project again -> Debug As... -> Debug Configurations on Target Server Runtime, select the same version 4.10.1. 

     

    Restarted Anypoint studio and debugger worked now.  

    They really need to up their support docs with better instructions, hope this helps.

0/9000

Here are the specification:

 

runtime: 4.3.0

studio: 7.5.1

Munit: 2.5.1

 

I was not able to run basic Munit on the latest studio

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commercial-businessapp-sys-implementation-test-suite-sendLeadStatusToBusinessAppFlowTest': Cannot create inner bean '(inner bean)#3519b0c9' of type [org.mule.munit.runner.component.factory.TestProcessorChainFactory$$EnhancerByCGLIB$$7a5c86fd] while setting bean property 'processorChains' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3519b0c9': Cannot create inner bean '(inner bean)#3d83bfca' of type [org.mule.runtime.module.extension.internal.config.dsl.operation.OperationMessageProcessorObjectFactory$$EnhancerByCGLIB$$7938fabb] while setting bean property 'messageProcessors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3d83bfca': Cannot create inner bean '(inner bean)#553cd3c' of type [org.mule.runtime.module.extension.internal.config.dsl.parameter.TopLevelParameterObjectFactory$$EnhancerByCGLIB$$56b31a01] while setting bean property 'parameters' with key [<<thenReturn>>]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#553cd3c': Cannot create inner bean '(inner bean)#79c2233a' of type [org.mule.runtime.module.extension.internal.config.dsl.parameter.TopLevelParameterObjectFactory$$EnhancerByCGLIB$$56b31a01] while setting bean property 'parameters' with key [<<payload>>]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#79c2233a': FactoryBean threw exception on object creation; nested exception is org.mule.runtime.core.api.config.ConfigurationException: Element 'test' is not defined in the Mule Registry

7 answers
  1. Jul 24, 2020, 3:14 PM

    in truth I have already tested updating the versions, but it did not work, I have the same error

0/9000