找回密码
 立即注册

QQ登录

只需一步,快速开始

liushuhao126

注册会员

1

主题

2

帖子

11

积分

注册会员

积分
11
  • 37

    金币

  • 1

    主题

  • 2

    帖子

最新发帖
liushuhao126
注册会员   /  发表于:2023-11-6 16:15  /   查看:1901  /  回复:3
  
活字格教程 https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=151216&extra=page%3D1  demo在点击开始运行后就发生这种情况

demo 版本为 8.0.103

ps: 附上 报错 log


## Overview
- Version: 9.0.102.0
- Exception: `System.InvalidOperationException`
- DateTime: 2023/11/6 16:05:57
- Email: liushuhao126@126.com
- Tags: #CN

## Exception
```json
{
  "ClassName": "System.InvalidOperationException",
  "Message": "DoRegisterBpmEngine",
  "Data": {
    "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
    "System.Object": null
  },
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at Forguncy.Common.BpmServerManager.a(Dictionary`2 A_0)
   at Forguncy.Common.BpmServerManager.TryRegisterBpmEngineAsync()
   at Forguncy.GeneratePage.GeneratePages.a(PublishType A_0, TaskInfo A_1)
   at Forguncy.GeneratePage.GeneratePages.a(PublishType A_0, TaskInfo A_1, PublishSettingsViewModel A_2)
   at Forguncy.GeneratePage.GeneratePages.GenerateAllPagesAsync(PublishType publishType, TaskInfo taskInfo, PublishSettingsViewModel settings)
   at Forguncy.Views.RibbonView.a(RoutedEventArgs A_0, TaskInfo A_1)
   at Forguncy.Views.RibbonView.<>c__DisplayClass393_0.<<BrowserHomeExecutedWithProgressbarAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at WPFBase.Common.TaskInfoHelper.CreateAThreadCrossedAutoClosedWindowAsync(TaskInfo taskInfo, Window owner, Func`1 action)
   at Forguncy.Views.RibbonView.a(RoutedEventArgs A_0, TaskInfo A_1)
   at Forguncy.Views.RibbonView.Forguncy.Views.IRibbonService.ExecuteCommandAsync(DesignerCommand command, Object[] parameters)
   at Forguncy.Views.ObjectViews.PageItemViewModel.ViewInBrowser()
   at Forguncy.Views.ObjectViews.PageItemContextMenu.ViewInBrowser_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2146233079,
  "Source": "Forguncy",
  "WatsonBuckets": null
}
```

## EventLog
- 16:05:51 `MouseL`:ObjectViewMenuItem:在浏览器中查看->在浏览器中查看
- 16:05:49 `MouseR`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面->MyTreeViewItem:FGC_登录
- 16:05:47 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面->MyTreeViewItem:FGC_登录
- 16:05:46 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面->MyTreeViewItem:FGC_登录
- 16:05:44 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面
- 16:05:43 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程页面文件夹
- 16:05:43 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程页面文件夹
- 16:05:18 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:采购单流程-采购部填写
- 16:05:18 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:采购单流程-采购部填写
- 16:05:17 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程KPI
- 16:05:17 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程KPI
- 16:05:16 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:创建采购单
- 16:05:16 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:创建采购单
- 16:05:15 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:查看采购单
- 16:05:15 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:查看采购单
- 16:05:14 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程页面文件夹->MyTreeViewItem:FGC_流程列表
- 16:05:13 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程页面文件夹->MyTreeViewItem:FGC_流程列表
- 16:05:11 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面
- 16:05:10 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面
- 16:05:09 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:内建页面
- 16:05:03 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->PagesObjectView->MyTreeViewItem:流程页面文件夹->MyTreeViewItem:FGC_任务详情
- 16:04:59 `KeyDown`:Alt+System
- 16:04:33 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格
- 16:04:20 `MouseL`:Window:错误报告->不发送
- 16:04:13 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->RibbonView->RibbonGroupBox:调试->ToggleButton:开始->Image:/Start_32.png
- 16:04:05 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->RibbonView->RibbonGroupBox:调试->Button:手机调试
- 16:04:04 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->RibbonView->RibbonTabItem->ContentControl:开始->开始
- 16:04:02 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格->RibbonView->RibbonTabItem
- 16:04:00 `MouseL`:Window:lowcode-workflow-course-demo-dev - 活字格
- 16:03:17 `MouseL`:Window:发布设置->Button:发布
- 16:03:15 `MouseL`:Window:发布设置->Button:下一步->下一步

## ActionList







本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

3 个回复

倒序浏览
Shawn.Liu活字格认证
超级版主   /  发表于:2023-11-6 17:38:15
沙发
感谢您的反馈,从帖子的截图来看,您这边已经执行了workflow_demo.sql文件并在设计器设置了外联库了对吗,这边测试了下并没有复现该问题;



从报错信息来看,属于工作流引擎注册问题,一般是后台会启一个java进程,请教下这边在不发送报告后重新运行是否还会报该问题,方便的话可以重装设计器或者收集下设计器日志,这边找开发同事调查下原因。


一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城开发者社区)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
liushuhao126
注册会员   /  发表于:2023-11-6 19:44:02
板凳
本帖最后由 liushuhao126 于 2023-11-6 19:50 编辑
Shawn.Liu 发表于 2023-11-6 17:38
感谢您的反馈,从帖子的截图来看,您这边已经执行了workflow_demo.sql文件并在设计器设置了外联库了对吗, ...

你好,感谢你的回复,我这边发送报告和不发送都试过,都是不行的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Shawn.Liu活字格认证
超级版主   /  发表于:2023-11-7 17:57:06
地板
收到,这边解压后查看工作流相关的日志,怀疑是下面的问题,"在尝试连接到 MySQL 数据库时,用户名或密码不正确,或者用户没有从 localhost 连接到数据库的权限",大佬可以根据这个异常信息入手排查下;建议也可以创建空白工程,从零搭建工作流学习;


如果还有其他问题,可能需要远程您看一下,您可以先填一下我们这边的1V1申请:https://www.grapecity.com.cn/applyonline
通过申请后会有专门的人联系您,给您提供一个月免费的快速支持通道

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部