Background Image

FORUM

조회 수 15167 추천 수 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 Views132
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4476
    read more
  3. 4.0 정식판은 언제쯤 나올까요?

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

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

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

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

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

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

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

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

    Date2011.06.19 By미스터투 Views9112
    Read More
  12. Code::Blocks - CCI 개발 환경 문의

    Date2011.06.17 Byreerror Views12806
    Read More
  13. 리눅스 민트(우분투)에서 cci 개발 환경 구축 방법

    Date2011.06.16 Byreerror Views15637
    Read More
  14. 외부에서 메니져 접속이 안됩니다.

    Date2011.06.14 Byplatanus Views12815
    Read More
  15. 백업시 lgar 파일이 지워지지 않는 문제

    Date2011.06.11 By동현 Views20360
    Read More
  16. ResulstSet이 닫혔는데... 닫히는 이유가 먼가요?

    Date2011.06.10 By안지민 Views15607
    Read More
  17. ODBC, OLEDB 접속후, ADO 프로그래밍을 했을 때..

    Date2011.06.09 Bylkim Views13582
    Read More
  18. cubird-php 연동이 안됩니다. (php-4.4.9)

    Date2011.06.09 Bysihal7 Views13732
    Read More
  19. 큐브리드 64비트 에서 32비트로 DB이전이 안됩니다. 도와주세요!~

    Date2011.06.07 By린설 Views13098
    Read More
  20. php - cubird 연결 부분 오류 문제 다시 문의 드립니다.

    Date2011.06.04 By김우람 Views14334
    Read More
  21. Cubrid 2008 R2.2 버전 한글 깨짐 관련 문의

    Date2011.06.04 Byezzone Views18468
    Read More
  22. "DBMS, 0, Unknown DBMS error" 요건 무슨 애러인가요?;;

    Date2011.06.02 Byeitetu Views14296
    Read More
Board Pagination Prev 1 ... 145 146 147 148 149 150 151 152 153 154 ... 201 Next
/ 201

Contact Cubrid

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