| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1438 人关注过本帖
标题:错误,错误,来看看吧
只看楼主 加入收藏
daizhiyuan
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2006-7-14
收藏
 问题点数:0 回复次数:6 
错误,错误,来看看吧
HTTP Status 500 - [bold]type[/bold] Exception report
[bold]message[/bold]
[bold]description[/bold] [underline]The server encountered an internal error () that prevented it from fulfilling this request.[/underline]
[bold]exception[/bold]
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
    org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
[bold]root cause[/bold]
java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    framework.BaseAction.executeRule(BaseAction.java:95)
    framework.BaseAction.execute(BaseAction.java:52)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
[bold]root cause[/bold]
org.hibernate.PropertyValueException: not-null property references a null or transient value: test.po.UserInf.username
    org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
    org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:265)
    org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167)
    org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
    org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
    org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
    org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
    org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
    org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
    org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:530)
    org.hibernate.impl.SessionImpl.save(SessionImpl.java:518)
    org.hibernate.impl.SessionImpl.save(SessionImpl.java:514)
    test.mode.rule.RegisterAction.register(RegisterAction.java:43)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    framework.BaseAction.executeRule(BaseAction.java:95)
    framework.BaseAction.execute(BaseAction.java:52)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
[bold]note[/bold] [underline]The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.[/underline]
Apache Tomcat/6.0.14
搜索更多相关主题的帖子: report 
2007-11-28 10:35
gongbing
Rank: 1
等 级:新手上路
帖 子:77
专家分:0
注 册:2007-11-15
收藏
得分:0 
哥们,说详细点,行不

把手放上来,这段时间不容易,这里只有我们没有我,和你们的兄弟一起,1,2,3!无兄弟,不篮球!
2007-11-28 10:39
eakcon
Rank: 1
等 级:新手上路
帖 子:754
专家分:0
注 册:2007-11-7
收藏
得分:0 
把路径设置到项目文件夹下就行了
把路径设置到项目文件夹下就行了
2007-11-28 12:05
无缘今生
Rank: 2
等 级:新手上路
威 望:3
帖 子:523
专家分:7
注 册:2007-6-25
收藏
得分:0 
tag标签的使用有问题.仔细检查一下;
把代码帖出来可能会好看些.

时不再来!!!
2007-11-28 13:40
mycxsky110
Rank: 1
来 自:屠宰场
等 级:新手上路
帖 子:42
专家分:0
注 册:2007-11-19
收藏
得分:0 
est.po.UserInf.username这东西引用一个空值?

上善若水,水善利万物而不争,处众人之所恶,故几于道。
2007-11-28 20:22
Lilly
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2007-11-1
收藏
得分:0 
回复 1# 的帖子
都没遇到过这号错误!
2007-11-29 11:58
Lilly
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2007-11-1
收藏
得分:0 
回复 1# 的帖子
都没遇到过这号错误!
2007-11-29 11:59
快速回复:错误,错误,来看看吧
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.030103 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved