Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013865
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-07-01 21:552024-05-10 11:54
ReporterzosrothkoView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionduplicateFixed in Version2.50MP20
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSWindowsDatabasePostgreSQLJava version1.6
OS VersionPro SP2Database version8.4.4Ant version1.7
Product VersionpiSCM revision7793:f9da16b458d1 
Merge Request Statusopen
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013865: NPE when setting OBContext.ADMIN_TRACE_SIZE = 5 and running import.sample.data

DescriptionHi

when setting the constant OBContext.ADMIN_TRACE_SIZE to a value higher than 0, one gets a NullPointerException with no way to trace what the problem is. See the following log:

Z:\ERP\OpenBRAVO\erp\devel\openbravo>hg heads
changeset: 7793:f9da16b458d1
tag: tip
user: Eduardo Argal Guibert <eduardo.argal@openbravo.com>
date: Thu Jul 01 16:33:12 2010 +0200
summary: Merge

build.war:
   [delete] Deleting: Z:\ERP\OpenBRAVO\erp\devel\openbravo\lib\openbravo.war
      [war] Building war: Z:\ERP\OpenBRAVO\erp\devel\openbravo\lib\openbravo.war
      [sql] Executing commands
      [sql] 2 of 2 SQL statements executed successfully

compile.complete.deploy:

install.source:
     [echo] applying modules
Trying to override old definition of task axis-wsdl2java
Trying to override old definition of task axis-admin
Trying to override old definition of task axis-java2wsdl

set.code.rev:

code.rev:

init:

compile.apply.module:
      [sql] Executing commands
      [sql] 2 of 2 SQL statements executed successfully

init:

compile.apply.module:
    [mkdir] Created dir: Z:\ERP\OpenBRAVO\erp\devel\openbravo\build.apply\classes
     [java] 0 [main] INFO org.openbravo.data.Sqlc - strFileProperties: Z:\ERP\OpenBRAVO\erp\devel\openbravo\config/O
penbravo.properties
     [java] 1438 [main] INFO org.openbravo.data.Sqlc - javaDateFormat: yyyy-MM-dd
     [java] 1485 [main] INFO org.openbravo.data.Sqlc - directory source: .
     [java] 1516 [main] INFO org.openbravo.data.Sqlc - directory destiny: Z:\ERP\OpenBRAVO\erp\devel\openbravo\build\ja
vasqlc/src
     [java] 1547 [main] INFO org.openbravo.data.Sqlc - file termination: .xsql
     [java] 1563 [main] INFO org.openbravo.data.Sqlc - file connection: Z:\ERP\OpenBRAVO\erp\devel\openbravo\config/Ope
nbravo.properties
     [java] 1594 [main] INFO org.openbravo.data.Sqlc - Write TXT Files: false
     [java] 1610 [main] INFO org.openbravo.data.Sqlc - QueryExecutionStrategy: optimized
     [java] 1641 [main] INFO org.openbravo.data.Sqlc - Loading driver: org.postgresql.Driver
     [java] 1657 [main] INFO org.openbravo.data.Sqlc - Driver loaded
     [java] 1735 [main] INFO org.openbravo.data.Sqlc - connect made
    [javac] Compiling 1 source file to Z:\ERP\OpenBRAVO\erp\devel\openbravo\build.apply\classes

apply.module:
     [java] 0 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Looking for translation modules
     [java] 93 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Looking for reference data modules
     [java] 296 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - 1 reference data modules have data files
     [java] 343 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from core module. Dataset: Ma
sterdata.xml
   [delete] Deleting directory Z:\ERP\OpenBRAVO\erp\devel\openbravo\build.apply\classes
Trying to override old definition of task axis-wsdl2java
Trying to override old definition of task axis-admin
Trying to override old definition of task axis-java2wsdl

set.code.rev:

code.rev:

import.sample.data:

init:

compile.src.gen:

clean.src.gen:

generate.entities:
 [workflow] Adding param: Z:\ERP\OpenBRAVO\erp\devel\openbravo\src/org/openbravo/base/gen/gen_entity.oaw
 [workflow] Adding param: -pob.properties.location=Z:\ERP\OpenBRAVO\erp\devel\openbravo\config/Openbravo.properties
 [workflow] Adding param: -pbase.src.gen=Z:\ERP\OpenBRAVO\erp\devel\openbravo\src-gen
 [workflow] Adding param: --ant
    [javac] Compiling 473 source files to Z:\ERP\OpenBRAVO\erp\devel\openbravo\build\classes

import.sample.data:
     [echo] Importing sample reference data

BUILD FAILED
Z:\ERP\OpenBRAVO\erp\devel\openbravo\build.xml:629: The following error occurred while executing this line:
Z:\ERP\OpenBRAVO\erp\devel\openbravo\build.xml:542: The following error occurred while executing this line:
Z:\ERP\OpenBRAVO\erp\devel\openbravo\src\build.xml:237: java.lang.NullPointerException

Total time: 34 minutes 27 seconds
Z:\ERP\OpenBRAVO\erp\devel\openbravo>ant import.sample.data
Steps To Reproduceself describing
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0013572pi closedmtaal Maintain and print stacktraces when calls to setAdminMode and restoreAdminMode are unbalanced 

-  Notes
(0029040)
zosrothko (viewer)
2010-07-03 17:56

Confere issue 13572
(0164429)
hgbot (developer)
2024-05-10 10:32

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1233 [^]
(0164438)
hgbot (developer)
2024-05-10 11:03

Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1233 [^]
(0164443)
hgbot (developer)
2024-05-10 11:53

Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1233 [^]
(0164444)
hgbot (developer)
2024-05-10 11:54

Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1233 [^]

- Issue History
Date Modified Username Field Change
2010-07-01 21:55 zosrothko New Issue
2010-07-01 21:55 zosrothko Assigned To => alostale
2010-07-03 17:56 zosrothko Note Added: 0029040
2010-07-05 08:22 alostale Status new => scheduled
2010-07-05 08:22 alostale Assigned To alostale => mtaal
2010-07-05 08:22 alostale fix_in_branch => pi
2010-07-23 14:06 mtaal Relationship added duplicate of 0013572
2010-07-23 14:06 mtaal Status scheduled => closed
2010-07-23 14:06 mtaal Resolution open => duplicate
2010-07-23 14:06 mtaal Fixed in Version => 2.50MP20
2010-07-24 00:00 anonymous sf_bug_id 0 => 3033808
2024-05-10 10:32 hgbot Merge Request Status => open
2024-05-10 10:32 hgbot Note Added: 0164429
2024-05-10 11:03 hgbot Note Added: 0164438
2024-05-10 11:53 hgbot Note Added: 0164443
2024-05-10 11:54 hgbot Note Added: 0164444


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker