심플팩 CMD 창 오류 메세지 수정 방법 문의 드립니다.
컨텐츠 정보
- 375 조회
- 8 댓글
- 0 추천
- 0 비추천
-
목록
본문
안녕하세요.
5줄중에서 1줄은 소스 수정으로 해결했는데 아래 4개줄은 아무리 해봐도 답이 보이지 않아서 문의 드려 봅니다.
고수님들 도와 주십시오. 꾸벅
l1j.server.server.model.L1UltimateBattle$UbThread run
심각: L1UltimateBattle[]Error java.lang.NullPointerException
at l1j.server.server.model.L1UltimateBattle$UbThread.run(L1UltimateBattle.java:419) <---- L1UltimateBattle 419번줄에서 어떻게 해야 될지 모르겠습니다.
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
관련자료
댓글 8

카나리아님의 댓글
public void run() {
try {
setActive(true);
countDown();
setNowUb(true);
L1UbPattern pattern = null;
ArrayList<L1UbSpawn> spawnList = null;
for (int round = 1; round <= ubcount; round++) {
sendRoundMessage(round);
pattern = UBSpawnTable.getInstance().getPattern(_ubId, _pattern);
spawnList = pattern.getSpawnList(round);
for (L1UbSpawn spawn : spawnList) { <----------- L1UltimateBattle 419번 줄
if (getMembersCount() > 0) {
spawn.spawnAll();
}
Thread.sleep(spawn.getSpawnDelay() * 1000);
}
if (getMembersCount() > 0) {
spawnSupplies(round);
}
for (L1PcInstance pc : getMembersArray()) {
UBTable.getInstance().writeUbScore(getUbId(), pc);
}
waitForNextRound(round);
}
for (L1PcInstance pc : getMembersArray()) {
int[] loc = Getback.GetBack_Location(pc, true);
// L1Teleport.teleport(pc, loc[0], loc[1], (short) loc[2], 5,
// true);
pc.start_teleport(loc[0], loc[1], loc[2], 5, 169, true, false);
removeMember(pc);
}
clearColosseum();
setActive(false);
setNowUb(false);
} catch (Exception e) {
_log.log(Level.SEVERE, "L1UltimateBattle[]Error", e);
}
}
}
try {
setActive(true);
countDown();
setNowUb(true);
L1UbPattern pattern = null;
ArrayList<L1UbSpawn> spawnList = null;
for (int round = 1; round <= ubcount; round++) {
sendRoundMessage(round);
pattern = UBSpawnTable.getInstance().getPattern(_ubId, _pattern);
spawnList = pattern.getSpawnList(round);
for (L1UbSpawn spawn : spawnList) { <----------- L1UltimateBattle 419번 줄
if (getMembersCount() > 0) {
spawn.spawnAll();
}
Thread.sleep(spawn.getSpawnDelay() * 1000);
}
if (getMembersCount() > 0) {
spawnSupplies(round);
}
for (L1PcInstance pc : getMembersArray()) {
UBTable.getInstance().writeUbScore(getUbId(), pc);
}
waitForNextRound(round);
}
for (L1PcInstance pc : getMembersArray()) {
int[] loc = Getback.GetBack_Location(pc, true);
// L1Teleport.teleport(pc, loc[0], loc[1], (short) loc[2], 5,
// true);
pc.start_teleport(loc[0], loc[1], loc[2], 5, 169, true, false);
removeMember(pc);
}
clearColosseum();
setActive(false);
setNowUb(false);
} catch (Exception e) {
_log.log(Level.SEVERE, "L1UltimateBattle[]Error", e);
}
}
}

카나리아님의 댓글의 댓글
먼저 답변 주셔서 감사합니다.
널 포인트가 들어오는 걸 어떻게 확인하는지 몰라서 일단 먼저 아래와 같이 진행을 해보았습니다.
나비켓에서 다른 4.0팩 버전이랑 비교하여 한번 확인을 해봤는데 제가 잘 못 찾아서 그런지 다른 부분을 찾지를
못하였습니다. 혹시 제가 찾은 테이블 외 다른 테이블에서 수정해야 될 부분이 있는지 확인 부탁 드립니다.
spawnlist_ub / ub_managers / ub_rank / ub_settings / ub_times / 혹시나 싶어서 인던도 spawnlist_hadin 확인해보았습니다. ^.^;
널 포인트가 들어오는 걸 어떻게 확인하는지 몰라서 일단 먼저 아래와 같이 진행을 해보았습니다.
나비켓에서 다른 4.0팩 버전이랑 비교하여 한번 확인을 해봤는데 제가 잘 못 찾아서 그런지 다른 부분을 찾지를
못하였습니다. 혹시 제가 찾은 테이블 외 다른 테이블에서 수정해야 될 부분이 있는지 확인 부탁 드립니다.
spawnlist_ub / ub_managers / ub_rank / ub_settings / ub_times / 혹시나 싶어서 인던도 spawnlist_hadin 확인해보았습니다. ^.^;