WHERE (welfare_no = ? AND status = ?) ::: [WEL00013, 2]"} {"date": "2023-06-05 16:00:14.681", "traceId": "306f5ac5d18fb478", "level": "INFO", "logger": "com.generalichina.ewmp.sdk.gcl.util.FileTxtHandleUtil", "msg": "临时文件路径:/home/app01/data/services/test_ewmp_backend/ewmp-contract-service/lib/template/excel/"} {"date": "2023-06-05 16:00:14.683", "traceId": "306f5ac5d18fb478", "level": "ERROR", "logger": "org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/contract].[dispatcherServlet]", "msg": "Servlet.service() for servlet [dispatcherServlet] in context with path [/contract] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause"} java.lang.NullPointerException: null at java.base/java.util.Objects.
时间: 2023-08-24 21:09:16 浏览: 106
It seems like you have provided an error message related to a Java web application. Can you provide more context or information about the issue you are facing?
相关问题
import jieba from openpyxl import load_workbook from pyecharts.charts import WordCloud wb= load_workbook("D:\\行业信息.xlsx") ws=wb["行业信息"] def info_analysis( ws, col): ''' 返回xlsx工作表中某一列分词后的统计结果 :param ws:工作表 :param col:工作表中的某列 :return:分词字典,键值分别表示分词及其出现的次数 ''' col_list=[ item.value for item in ws[ col][1:]]#表示工作表 ws 第 col 列的数据,并去掉表头 col_str=",". join( col_list) #将列表合并成字符串 words= jieba.lcut( col_str) #对字符串进行分词 lcut_dict={} #用于统计分词的字典 for word in words: if Len(word) ==1: #分词长度为1时不予统计 continue else: lcut_dict[word]= lcut_dict.get(word,0)+1 require_dict= info_analysis( ws,"E") #对招聘要求进行分词统计 welfare_dict= info_analysis( ws,"F") #对企业福利进行分词统计 require_wc=(WordCloud( ) #绘制词云图存储在require. html中 .add("招聘要求",require_dict.items( )) .render("D:\\require.html") ) welfare_wc=(WordCloud( ) #绘制词云图存储在welfare. html中 .add("企业福利",welfare_dict.items( )) .render("D:\\welfare.html") ) print("词云图绘制成功") return lcut_dict 报错
在这段代码中,有两个函数调用 info_analysis() 是在函数体内部,这会导致递归调用,从而导致函数无限调用自己,最终导致栈溢出报错。您需要将这两个函数调用放到函数外部,或者将 info_analysis() 函数定义在外部。此外,代码中还有一些语法错误,例如缺少冒号、大小写拼写错误等,请您检查一下代码。
job = Job(job_name = job_name, job_salary = job_salary, company = company, area = area, num = num, education = education, work_experience = work_experience, welfare = welfare ) jobList.append(job)
这段代码看起来像是在定义一个类 Job,然后创建了一个实例 job,并将其属性赋值为 job_name、job_salary、company、area、num、education、work_experience 和 welfare。接着将这个实例添加到 jobList 列表中。具体实现可能需要看完整的代码才能确定。
阅读全文