Skip to content

Instantly share code, notes, and snippets.

2022-06-02 08:27:17.943 ERROR [main][CETConfigurationFactory:47] bundle com.liferay.client.extension.type.impl:1.0.0 (1018)[com.liferay.client.extension.type.internal.configuration.CETConfigurationFactory(21671)] : The activate method has thrown an exception
com.liferay.portal.kernel.exception.NoSuchCompanyException: No Company exists with the key {webId=liferay.com}
at com.liferay.portal.service.persistence.impl.CompanyPersistenceImpl.findByWebId(CompanyPersistenceImpl.java:120) ~[portal-impl.jar:?]
at com.liferay.portal.service.impl.CompanyLocalServiceImpl.getCompanyByWebId(CompanyLocalServiceImpl.java:666) ~[portal-impl.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?
{
"active":true,
"objectActions":[
],
"label":{
"en_US":"Coupon"
},
"panelCategoryKey":"applications_menu.applications.content",
"pluralLabel":{
{
"active":true,
"objectActions":[
],
"label":{
"en_US":"Coupon Code"
},
"panelCategoryKey":"applications_menu.applications.content",
"pluralLabel":{
: granted_authority: SCOPE_Liferay.Headless.Admin.User.everything
: credentials: org.springframework.security.oauth2.core.OAuth2AccessToken@b8eb5cd7
: details: WebAuthenticationDetails [RemoteIpAddress=192.168.205.1, SessionId=null]
: name: 20127
: principal key: active, val: true
: principal key: client_id, val: id-1c7bb905-4dcf-f49d-b686-187ece212f
: principal key: exp, val: 2022-04-28T17:35:07Z
: principal key: iat, val: 2022-04-28T00:55:07Z
: principal key: scope, val: [Liferay.Headless.Admin.User.everything]
: principal key: sub, val: 20127
@gamerson
gamerson / taskStateUI.json
Created July 23, 2021 16:31
Lugbot `/taskStateUi` Example Response
{
"completedFailure": {
"displayType": "danger",
"label": "Completed with errors",
"state": "COMPLETED_FAILURE"
},
"completedSuccess": {
"displayType": "success",
"label": "Completed successfully",
"state": "COMPLETED_SUCCESS"
@gamerson
gamerson / proposals.json
Created July 23, 2021 16:29
Lugbot `/tasks/{taskId}/proposals` Example Response
[
{
"action": "Set workspace product key and release api jar",
"baseBranchName": "lugbotTest",
"body": "<p>Use release api jar. TBD…</p> ",
"branchName": "lugbot_use-release-api_UseReleaseApi",
"commitComments": {},
"diffContent": "diff --git a/liferay-workspace/gradle.properties b/liferay-workspace/gradle.properties\nindex 3eb369b..933c138 100644\n--- a/liferay-workspace/gradle.properties\n+++ b/liferay-workspace/gradle.properties\n@@ -1,3 +1,3 @@\n liferay.workspace.modules.dir=modules\n microsoft.translator.subscription.key=\n-liferay.workspace.product = dxp-7.3-sp1\n+liferay.workspace.product = dxp-7.3-sp2\ndiff --git a/liferay-workspace/modules/evp/evp-portlet/build.gradle b/liferay-workspace/modules/evp/evp-portlet/build.gradle\nindex 0771580..2c95cf6 100644\n--- a/liferay-workspace/modules/evp/evp-portlet/build.gradle\n+++ b/liferay-workspace/modules/evp/evp-portlet/build.gradle\n@@ -21,9 +21,6 @@\n \tcompile group: \"org.apache.xmlbeans\", name: \"xmlbeans\", version: \"2.6.0
@gamerson
gamerson / proposal.json
Last active July 23, 2021 16:30
Lugbot `/tasks/{taskId}/proposals/{proposalId}` Proposal Response
{
"action": "Set workspace product key and release api jar",
"baseBranchName": "lugbotTest",
"body": "<p>Use release api jar. TBD…</p> ",
"branchName": "lugbot_use-release-api_UseReleaseApi",
"commitComments": {},
"diffContent": "diff --git a/liferay-workspace/gradle.properties b/liferay-workspace/gradle.properties\nindex 3eb369b..933c138 100644\n--- a/liferay-workspace/gradle.properties\n+++ b/liferay-workspace/gradle.properties\n@@ -1,3 +1,3 @@\n liferay.workspace.modules.dir=modules\n microsoft.translator.subscription.key=\n-liferay.workspace.product = dxp-7.3-sp1\n+liferay.workspace.product = dxp-7.3-sp2\ndiff --git a/liferay-workspace/modules/evp/evp-portlet/build.gradle b/liferay-workspace/modules/evp/evp-portlet/build.gradle\nindex 0771580..2c95cf6 100644\n--- a/liferay-workspace/modules/evp/evp-portlet/build.gradle\n+++ b/liferay-workspace/modules/evp/evp-portlet/build.gradle\n@@ -21,9 +21,6 @@\n \tcompile group: \"org.apache.xmlbeans\", name: \"xmlbeans\", version: \"2.6.0\"\n \tcompile g
@gamerson
gamerson / project.json
Created July 23, 2021 15:56
Lugbot `/projects/1/` Single Project API Example
{
"cloneUrl": "git@github.com:gamerson/evp-portlet-upgrade-webhook.git",
"description": "Unnamed repository; edit this file 'description' to name the repository.",
"htmlUrl": "/repo/.git",
"id": 1,
"name": "LOCAL_REPO"
}
@gamerson
gamerson / projects.json
Created July 23, 2021 15:53
Lugbot `/projects` Projects API Example #1
[
{
"cloneUrl": "git@github.com:gamerson/evp-portlet-upgrade-webhook.git",
"description": "Unnamed repository; edit this file 'description' to name the repository.",
"htmlUrl": "/repo/.git",
"id": 1,
"name": "LOCAL_REPO"
}
]
@gamerson
gamerson / log.json
Created July 23, 2021 14:55
Lugbot `/tasks/11/log` Task Log Example
{
"taskLog": [
" Starting code upgrade proposal",
" Preparing repository branch lugbot_find-breaking-changes_FindBreakingChanges",
" Preparing repository branch lugbot_find-breaking-changes_FindBreakingChanges",
" Providing proposal: ",
" 14:47:26.187 INFO c.l.c.u.a.CodeUpgradeApplicationComponent:263 - Registered 19 upgrade providers: configure-workspace-path,create-workspace,configure-plugins,maven-create-modules,plugins-create-modules,maven-convert-build,plugins-convert-build,maven-migrate-code,plugins-migrate-code,remove-legacy-files,update-service-builder-modules,upgrade-workspace-version,use-target-platform,use-release-api,auto-correct-breaking-changes,find-breaking-changes,upgrade-portal-properties,cfg-to-config-file",
" 14:47:26.187 INFO c.l.c.u.a.CodeUpgradeApplicationComponent:491 - provide find-breaking-changes_FindBreakingChanges /repo",
" 14:48:05.792 INFO c.l.c.u.p.FindBreakingChangesProvider:461 - \tcom.liferay.ide.upgrade.problems.core.internal.liferay72.Lifera