Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

型変数のインスタンスをメソッド内で生成したいケースの考察

Language: Layout:
+ ] Show input
Compilation time: 0.62 sec, absolute running time: 0.24 sec, cpu time: 0.16 sec, memory peak: 25 Mb, absolute service time: 0,86 sec 
edit mode |  history
Error(s), warning(s):
Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
	at Rextester$Factory.sample5(source.java:118)
	at Rextester.main(source.java:58)
Caused by: java.lang.NullPointerException
	at Rextester.getGenericType(source.java:142)
	at Rextester$Factory.sample5(source.java:112)
	... 1 more

        

    
                
λ
.NET NoSQL database for rapid development