Error while importing owasp project


#1

Hi, All

I got the following error while trying to import zip with owasp project
https://dradisframework.com/academy/industry/compliance/owasp/

Can anyone please help?

Dradis-ce v3.8

[14:18:18] Small attachment detected. Processing in line.
[14:18:18] Uncompressing the file…
[14:18:18] 3448/OWASPv4-blank-project-template.xml
[14:18:18] dradis-repository.xml
[14:18:18] Done.
[14:18:18] Loading XML template file…
[14:18:18] Loading template file from: /opt/dradis-ce/tmp/zip/dradis-repository.xml
[14:18:18] Done.
[14:18:18] Parsing Dradis template version 1
[14:18:18] Processing Categories…
[14:18:18] Looking for category: Issue description
[14:18:18] Looking for category: Default category
[14:18:18] Looking for category: AdvancedWordExport ready
[14:18:18] Done.
[14:18:18] Processing Nodes…
[14:18:18] New node detected: Uploaded files, parent_id: , type_id: 0
[14:18:18] New node detected: Scope, parent_id: , type_id: 0
[14:18:18] Note category rewrite, used to be 6, now is 40
[14:18:18] New note added.
[14:18:18] New node detected: Conclusions, parent_id: , type_id: 0
[14:18:18] Note category rewrite, used to be 1, now is 41
[14:18:18] New note added.
[14:18:18] New node detected: Information Gathering, parent_id: , type_id: 0
[14:18:18] New node detected: OTG-INFO-001, parent_id: 3451, type_id: 0
[14:18:18] Validation failed: Parent is missing/invalid.
[14:18:18] ["/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/validations.rb:78:in raise_validation_error'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/validations.rb:50:insave!’", “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/attribute_methods/dirty.rb:43:in save!'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/transactions.rb:313:inblock in save!’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/transactions.rb:384:in block in with_transaction_returning_status'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:235:inblock in transaction’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in block in within_new_transaction'", "/home/dradis/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:inmon_synchronize’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/abstract/transaction.rb:191:in within_new_transaction'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:235:intransaction’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/transactions.rb:210:in transaction'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/transactions.rb:381:inwith_transaction_returning_status’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/transactions.rb:313:in save!'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/suppressor.rb:46:insave!’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/persistence.rb:51:in create!'", "/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/v1/template.rb:227:inparse_node’”, “/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/v1/template.rb:257:in block in parse_nodes'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:187:inblock in each’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:in upto'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:ineach’”, “/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/v1/template.rb:255:in parse_nodes'", "/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/template.rb:63:inparse’”, “/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/template.rb:55:in import'", "/opt/dradis-ce/PATH/ruby/2.4.0/bundler/gems/dradis-projects-b2287cbab8ee/lib/dradis/plugins/projects/upload/package.rb:42:inimport’”, “/opt/dradis-ce/app/controllers/upload_controller.rb:92:in process_upload_inline'", "/opt/dradis-ce/app/controllers/upload_controller.rb:50:inparse’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/basic_implicit_render.rb:4:in send_action'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/abstract_controller/base.rb:186:inprocess_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/rendering.rb:30:in process_action'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/abstract_controller/callbacks.rb:20:inblock in process_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:131:in run_callbacks'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/abstract_controller/callbacks.rb:19:inprocess_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/rescue.rb:20:in process_action'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:32:inblock in process_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in block in instrument'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:ininstrument’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in instrument'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:30:inprocess_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal/params_wrapper.rb:252:in process_action'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/railties/controller_runtime.rb:22:inprocess_action’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/abstract_controller/base.rb:124:in process'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionview-5.1.3/lib/action_view/rendering.rb:30:inprocess’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal.rb:189:in dispatch'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_controller/metal.rb:253:indispatch’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:49:in dispatch'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:31:inserve’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:46:in block in serve'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:ineach’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:in serve'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:834:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in block in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:35:incatch’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in call'", "/opt/dradis-ce/engines/dradis-api/lib/dradis/ce/api/catch_json_parse_errors.rb:10:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/bullet-5.6.1/lib/bullet/rack.rb:10:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/etag.rb:25:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/conditional_get.rb:38:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/head.rb:12:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in context'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/cookies.rb:613:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activerecord-5.1.3/lib/active_record/migration.rb:556:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/callbacks.rb:26:in block in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:97:inrun_callbacks’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/callbacks.rb:24:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:59:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:135:incall_app’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:28:in block in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:18:incatch’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:18:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in call_app'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:inblock in call’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in block in tagged'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:intagged’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in tagged'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/quiet_assets.rb:13:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/request_store-1.3.2/lib/request_store/middleware.rb:9:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in call'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/urlmap.rb:68:inblock in call’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in each'", "/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/urlmap.rb:53:incall’”, “/opt/dradis-ce/PATH/ruby/2.4.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb:86:in service'", "/home/dradis/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:inservice’”, “/home/dradis/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in run'", "/home/dradis/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:inblock in start_thread’”]

[14:18:18] Done.
[14:18:18] Moving attachments to their final destinations…
[14:18:18] undefined method `[]’ for false:FalseClass
[14:18:18] Worker process completed.


#2

@Viser, Rachael with the Dradis support team here. Thanks for letting us know about this! I was able to replicate the error on my end and have passed this on to the technical team for further investigation. We’ll keep you posted with updates just as soon as they’re available!