Background Image

FORUM

조회 수 15165 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

Java Procedure 를 작성하여 데이터베이스/java 하위에 class 파일 등록 후 Manager에서 procedure 생성을 완료 하였습니다.

이후 해당 procedure를 실행하면 NullpointException 이 발생합니다.

Debug가 힘들어 procedure 내용을 아래와 같이 수정하여 실행해보았습니다.


public class SpTestReg {
    public static void sp_test_reg(int cnt) throws Exception {
        System.out.println(cnt);
    }

}


그래도

실행 오류 :-889
1번째 라인 실행 오류

오류 설명:
Stored procedure execute error: java.lang.NullPointerException


오류가 발생합니다.


그래서 로그 파일을 살펴보니 아래와 같은 내용으로 로그가 생성되어 있습니다.

2011. 6. 2 오전 12:47:55 com.cubrid.jsp.Server log
심각:
java.lang.NullPointerException
    at com.cubrid.jsp.StoredProcedureClassLoader.init(StoredProcedureClassLoader.java:62)
    at com.cubrid.jsp.StoredProcedureClassLoader.<init>(StoredProcedureClassLoader.java:49)
    at com.cubrid.jsp.StoredProcedureClassLoader.getInstance(StoredProcedureClassLoader.java:130)
    at com.cubrid.jsp.TargetMethod.getClass(TargetMethod.java:85)
    at com.cubrid.jsp.TargetMethod.classFor(TargetMethod.java:136)
    at com.cubrid.jsp.TargetMethod.classesFor(TargetMethod.java:111)
    at com.cubrid.jsp.TargetMethod.<init>(TargetMethod.java:81)
    at com.cubrid.jsp.TargetMethodCache.get(TargetMethodCache.java:49)
    at com.cubrid.jsp.StoredProcedure.<init>(StoredProcedure.java:71)
    at com.cubrid.jsp.ExecuteThread.makeStoredProcedure(ExecuteThread.java:368)
    at com.cubrid.jsp.ExecuteThread.run(ExecuteThread.java:151)


원인을 알수가 없군요. 답변 부탁드립니다.



  • ?
    손승일 2011.06.04 02:47

    class파일 및 함수 명과 등록된 프로시저 정보가 일치한지 확인해보시기 바랍니다.

    이상이 없다면 재현 가능하도록 샘플을 올려주시면 확인해보도록 하겠습니다.


  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views49
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. 4.0 HA ha_db_list 설정 관련 질문드립니다.

    Date2011.07.08 By반짝이 Views24401
    Read More
  4. php driver interface...x64

    Date2011.07.08 Byplatanus Views7661
    Read More
  5. 참조를 이용해서 찾을때 인덱스를 태울려면 어떻게 하나요?

    Date2011.07.08 By안지민 Views7538
    Read More
  6. 큐브리드 서비스 시작시 오류메시지 해결 방법

    Date2011.07.05 By종이 Views13596
    Read More
  7. Sulinux 64Bit 와 CUBRID 4.0 정식 버젼 체크좀 부탁드립니다...

    Date2011.07.05 By반짝이 Views8446
    Read More
  8. CUBRID 4.0 64bit & SULinux 2.0 64Bit service start 시 manager fail 발생합니다..

    Date2011.07.02 By반짝이 Views10058
    Read More
  9. cci_connect 의 에러코드에 관하여 질문드립니다

    Date2011.06.29 By엥꼬 Views9886
    Read More
  10. csql 로 demodb 접속 시 오류 입니다~!

    Date2011.06.29 By하하보이 Views12110
    Read More
  11. R3.1 64비트 서브쿼리 관련 문의 드립니다

    Date2011.06.28 Byhj Views7938
    Read More
  12. php 모듈 로드 문제 입니다.

    Date2011.06.28 By하하보이 Views9267
    Read More
  13. Table primary key잡는 중 중단 시키고, 서버 재시작하니 에러나고 시작이 안되네요.

    Date2011.06.28 By미스터투 Views7762
    Read More
  14. 4.0 정식판은 언제쯤 나올까요?

    Date2011.06.28 By유니콘 Views7945
    Read More
  15. Connect Error

    Date2011.06.24 By제이씨씨 Views14381
    Read More
  16. ERROR(196623) 무슨에러인가요?

    Date2011.06.24 By닉넴 Views9306
    Read More
  17. IIS 7.5 x64 / PHP 5.3 x64 / Cubrid R4.0 x64...

    Date2011.06.23 Byplatanus Views12008
    Read More
  18. 큐브리드매니저에서 dba암호를 걸어버리면 연결할수 없다.브로커와 구동상태를 점검하라. 이렇게 오류가 나오네요

    Date2011.06.23 By블루토토 Views10035
    Read More
  19. 연결(Connection)을 얻을 수 없습니다. 브로커와 서버의 구동 상태를 점검하십시오. 이 에러가 납니다

    Date2011.06.22 By블루토토 Views13869
    Read More
  20. PHP에서 CUBRID 4.0 모듈이 로드 되지 않습니다.

    Date2011.06.22 By유리심장 Views11277
    Read More
  21. DB MS949를 UTF로 변환 하는 방법이 궁굼합니다.

    Date2011.06.21 Bydktk Views13429
    Read More
  22. 큐브리드매니저에서 질의결과가 나타나지 않습니다.

    Date2011.06.19 By미스터투 Views9112
    Read More
Board Pagination Prev 1 ... 144 145 146 147 148 149 150 151 152 153 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales