Hi! 这看起来像是一个自定义 connector 或者 udf。可能需要将完整的代码贴出来以便大家帮助定位问题。
yanyunpeng <yanyunp...@rockontrol.com> 于2021年8月13日周五 下午5:17写道: > Flink 中使用 drools client 执行规则 本地启动没问题 部署到集群的时候报错空指针 > > > KieCommands kieCommands = KieServices.Factory.get().getCommands(); > > List<Command<?>> commands = new LinkedList<>(); > > commands.add(kieCommands.newInsert(event, "event")); > > commands.add(kieCommands.newFireAllRules()); > KieCommands kieCommands = KieServices.Factory.get().getCommands(); 这行报错空指针 > > > flink版本 13.1 > Drools-client > <dependency> > <groupId>org.kie.server</groupId> > <artifactId>kie-server-client</artifactId> > <version>7.17.0.Final</version> > </dependency> > > > 请求这种应用了外部包的有啥问题吗?