Mule: Deployment Error reading plugins - mule

While deploying simple hello world application on Mule, i am getting following error. Any way to resolve the same?
Reading plugins from: D:/MULE/MuleStudio/plugins/org.mule.tooling.server.3.5.0_3.5.0.201405141856/mule/plugins
Exception in thread "main" java.lang.NullPointerException
Version: Mule Studio 3.5,
Java: JDK 1.6
Flow include a HTTP adapter|Request-Response and logger only.

I am able to resolve this issue.
Actually, I was creating project with Mule Cloud Runtime; but I need to create it with Mule Server 3.4.1 EE. After creating project correctly, i am able to deploy it successfully.

Related

version mismatch in mule application dependencies

I am trying to deploy this application to the Mule server.
It works on Anypoint Studio without a problem.
When I go to deploy it on the standalone server, it fails and in the logs, I find this error
java.lang.IllegalStateException: Incompatible version of plugin 'APIKit' (org.mule.modules:mule-apikit-module) found. Artifact requires version '1.6.0' but context provides version '1.5.5'
What's weird is that the version of APIKit I used on the app is 1.6.0 which I upgraded from 1.5.5.
The app is using a domain, and the dependencies' versions between the domain and the app are the same.
What can be the solution to this problem?
It looks like the domain is really using the dependency for APIKit 1.5.5. Another reason could be some incompatible version of the REST Validator Extension as mentioned in the documentation. Also if the domain or the application is using a jar library to import common Mule configurations it may be referring to a different version of the APIKit module. You can take a look at the logs to see what versions are being deployed.

Mulesoft JIRA connector Projects - Get all

Unable to fire this query against the Jira Cloud using Mulesoft Jira connector. Error received is.
jiraFlow.CPU_LITE #7d809c06] [event: 0-356c64c0-85d0-11eb-b94a-3800251e5a83] org.mule.runtime.core.internal.exception.OnErrorPropagateHandler: Initialising exception listener: org.mule.runtime.core.internal.exception.OnErrorPropagateHandler#63d07a91
Anytime Studio version: 7.8.0
Mule rutime version: 4.1.1 EE
The error details provided don't allow much insight, however using Mule 4.1.1 is completely not recommended. It is the first Mule 4 release from about 3 years ago, and doesn't include any of the many bug fixes and improvements from later releases. Try with Mule 4.3.0 that is the recommended last version.

Unable to deploy custom Mule Connector to Anypoint Exchange

I built a custom mule connector using Mule SDK and tested with Anypoint Studio. When I tried to deploy the Mulesoft Exchange using mvn deploy after updating the pom.xml file with Organization details, I'm running into the following Unauthorized error. Could someone point out what's causing this issue or a way to fix this?
Here is my POM.xml file:
Here is the error when running mvn deploy:
There is something wrong in your pom. Maven is trying to deploy to one of MuleSoft repositories, not to Exchange. Note the URL in the error doesn't match the one in the distributionManagement section.
Did you set the groupId to the org id? It doesn't look like it in the error.
Be sure to follow all the steps in the instructions: https://docs.mulesoft.com/exchange/to-publish-assets-maven#publish-an-asset-to-exchange-using-maven

Mule 4.1.2 custom connector error

I have created custom connector project using below command, "mvn org.mule.extensions:mule-extensions-archetype-maven-plugin:generate" in Mule 4. But when i open this project in anypoint studio 7.1.2 it gives below error ('The import org.mule.runtime cannot be resolved') in all of defaultly created java.class files. I have updated the pom file dependencies also, but still issue persists.
Help me to resolve this error, thanks in advance
Thanks,
Videesh.
Studio 7 (including the at this time last release 7.2.2) doesn't support Mule SDK projects. You can use any other IDE that supports generic Maven projects.

NoClassDefFoundError: com/ibm/wsspi/uow/UOWException

We are migrating from WebSphere 8.0 to WildFly 10.0.0. after compiling the project in eclipse and removing all the reference of IBM WebSphere jars, on deploying the application, I am getting an error that NoClassDefFoundError: com/ibm/wsspi/uow/UOWException
I have tried to search this exception class in my project, i did not find any.
Can you please help me in fixing this error.
Along with the migration , we are also upgrading Java version to 8 and Spring version to 4.3.0
While working on this, I figured that we were referring to WebSphereUowTransactionManager which is specific for WebSphere in the Springs Transaction Manager. We have to replace it with JtaTransactionManager for removing the exception.