티스토리 뷰
According to log, NPE happen when getDeploymentTimeStamp method is called, so I would like to know what value is null and what is going on there.
ErrorMsg :
java.lang.NullPointerException
18:04:54,160 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015016: Initial deployment scan failed: java.lang.NullPointerException (FileSystemDeploymentService.java:723) [jboss-as-deployment-scanner-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1] |
Test Source :
- org.jboss.as.server.deployment.scanner.FileSystemDeploymentService
private long getDeploymentTimestamp(File deploymentFile) { if (deploymentFile.isDirectory()) { long latest = deploymentFile.lastModified(); long childTimestamp = getDeploymentTimestamp(child); return deploymentFile.lastModified(); |
Byteman script :
RULE Test autodeployment checking all files under the exploded folder |
Result :
INFO [stdout] (DeploymentScanner-threads - 1) Rule.execute called for Test autodeployment_2 |
Compared between source and by teman script, you can easily map each value that related with each other.
If you have any questions, please leave comment.
'이제 관심밖의 IT 기술 > ETC' 카테고리의 다른 글
Mockito Tutorial 1 (0) | 2011.10.27 |
---|---|
Mockito Framework 이란? (0) | 2011.10.27 |
Junit 4 Assertion 사용을 위한 기본세팅 (0) | 2011.10.26 |
JUnit4 특징설명 (0) | 2011.10.26 |
JUnit3 example (0) | 2011.10.26 |
- Total
- Today
- Yesterday
- git proGit
- 온타리오
- 밀튼
- RHCE
- 정착서비스
- Jay
- 부모님초청이민
- ansible
- 옥빌
- 부동산분석
- docker
- 벌링턴
- 우드워킹
- redhat
- BTBS
- 토론토
- 인터넷
- 캐나다부동산
- basement
- Canada
- TORONTO
- RHEL
- 캐나다
- 토론토정착서비스
- BC주
- 미시사가
- cert
- Red Hat
- Certificate
- certification
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |