Exception in thread "main" java.lang.IllegalArgumentException: Source must not be null
at org.springframework.util.Assert.notNull(Assert.java:115)
at Test.getaVoid(Test.java:11)
at Test.main(Test.java:6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
import org.springframework.util.Assert;

public class Test {

    public static void main(String[] args) {
getaVoid();
System.out.println("hello");
} private static void getaVoid() {
Assert.notNull(null, "Source must not be null");
} }

最新文章

  1. 20145337 GDB调试汇编堆栈过程分析
  2. C#中时间的比较
  3. django 模版语法及使用
  4. 20145304 第五周Java学习报告
  5. Linux Mint 17 + 小米WIFI创建手机热点
  6. Tiny4412汇编流水灯代码,Tiny4412裸机LED操作[1]
  7. Codeforces 114A-Cifera(暴力)
  8. 【elasticsearch】(4)centos7 超简单安装elasticsearch 的 jdbc
  9. JavaScript中的一些细节
  10. iOS Swift--UIImageView UIImage
  11. loadrunner使用过程遇到的问题(一)
  12. python3之platform模块
  13. 偏差(Bias)和方差(Variance)——机器学习中的模型选择zz
  14. xhr.withCredentials发送跨域请求凭证
  15. Hibernate的继承映射
  16. 2 jmeter常用功能介绍-测试计划、线程组
  17. JDBC中的SPI实现
  18. js判断是否为空
  19. sql server2008系统表详细说明sys.开头的表
  20. 跟我学Makefile(五)

热门文章

  1. js课程 2-8 js内置对象有哪些
  2. VC和MATLAB混合开发经验总结
  3. Android隐藏输入法
  4. POJ 1287 Networking (ZOJ 1372) MST
  5. Mariadb配置文件优化参数(仅供参考)
  6. [JS Compose] 1. Refactor imperative code to a single composed expression using Box
  7. solaris 11 stdio.h: No such file or directory
  8. Home界面的启动
  9. 微信开发学习日记(六):weiphp框架
  10. [tmux] Enable mouse mode in tmux