I am trying to run a jee batch application. It works fine in my local machine but when I am trying to run the same jee application in a docker container, I am getting the below exception in joblogs
com.ibm.jbatch.container.exception.BatchContainerRuntimeException: Failure in Read-Process-Write Loop
89 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:704)
90 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:795)
91 at com.ibm.jbatch.container.controller.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:295)
92 at com.ibm.jbatch.container.controller.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:118)
93 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeCoreTransitionLoop(WorkUnitThreadControllerImpl.java:96)
94 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeWorkUnit(WorkUnitThreadControllerImpl.java:178)
95 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl$AbstractControllerHelper.runExecutionOnThread(WorkUnitThreadControllerImpl.java:503)
96 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.runExecutionOnThread(WorkUnitThreadControllerImpl.java:92)
97 at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:117)
98 at com.ibm.ws.context.service.serializable.ContextualRunnable.run(ContextualRunnable.java:79)
99 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
100 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
101 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
102 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
103 at java.lang.Thread.run(Thread.java:748)
104 Caused by: com.ibm.jbatch.container.exception.TransactionManagementException: javax.transaction.RollbackException
105 at com.ibm.jbatch.container.transaction.impl.JTAUserTransactionAdapter.commit(JTAUserTransactionAdapter.java:108)
106 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:656)
107 ... 14 more
108 Caused by: javax.transaction.RollbackException
109 at com.ibm.tx.jta.impl.TransactionImpl.stage3CommitProcessing(TransactionImpl.java:980)
110 at com.ibm.tx.jta.impl.TransactionImpl.processCommit(TransactionImpl.java:778)
111 at com.ibm.tx.jta.impl.TransactionImpl.commit(TransactionImpl.java:711)
112 at com.ibm.tx.jta.impl.TranManagerImpl.commit(TranManagerImpl.java:165)
113 at com.ibm.tx.jta.impl.TranManagerSet.commit(TranManagerSet.java:113)
114 at com.ibm.tx.jta.impl.UserTransactionImpl.commit(UserTransactionImpl.java:162)
115 at com.ibm.tx.jta.embeddable.impl.EmbeddableUserTransactionImpl.commit(EmbeddableUserTransactionImpl.java:101)
116 at com.ibm.ws.transaction.services.UserTransactionService.commit(UserTransactionService.java:72)
117 at com.ibm.jbatch.container.transaction.impl.JTAUserTransactionAdapter.commit(JTAUserTransactionAdapter.java:101)
118 ... 15 more
119 Caused by: oracle.jdbc.xa.OracleXAException: XAErr (-7): Resource manager is unavailable. ORA-17008 SQLErr (0)
120 at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1112)
121 at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:466)
122 at com.ibm.ws.rsadapter.impl.WSRdbXaResourceImpl.end(WSRdbXaResourceImpl.java:417)
123 at com.ibm.ejs.j2c.XATransactionWrapper.end(XATransactionWrapper.java:384)
124 at com.ibm.ws.Transaction.JTA.JTAResourceBase.end(JTAResourceBase.java:218)
125 at com.ibm.tx.jta.impl.RegisteredResources.sendEnd(RegisteredResources.java:941)
126 at com.ibm.tx.jta.impl.RegisteredResources.distributeEnd(RegisteredResources.java:920)
127 at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1624)
128 at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1594)
129 at com.ibm.tx.jta.impl.TransactionImpl.coreStage2CommitProcessing(TransactionImpl.java:865)
130 at com.ibm.tx.jta.impl.TransactionImpl.stage2CommitProcessing(TransactionImpl.java:891)
131 at com.ibm.tx.jta.impl.TransactionImpl.processCommit(TransactionImpl.java:771)
132 ... 22 more
133 Caused by: java.sql.SQLRecoverableException: Closed Connection
134 at oracle.jdbc.driver.PhysicalConnection.needLine(PhysicalConnection.java:3247)
135 at oracle.jdbc.driver.T4CXAResource.doEnd(T4CXAResource.java:384)
136 at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:461)
137 ... 32 more
used <transaction totalTranLifetimeTimeout="1200s" propogatedOrBMTTranLifetimeTimeout="1300s"/> for transaction timeout
Related
Analyzing dependencies
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36: [BUG] Illegal instruction at 0x0000000102818000
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Don't forget to include the above Crash Report log file in bug reports.
-- Control frame information -----------------------------------------------
c:0054 p:---- s:0314 e:000313 CFUNC :getdtablesize
c:0053 p:0050 s:0310 e:000309 CLASS /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36
.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:3:in `<module:Ethon>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:27:in `<module:Curl>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36:in `<class:FDSet>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36:in `getdtablesize'
-- Other runtime information -----------------------------------------------
* Loaded script: /usr/local/bin/pod
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4
337 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/alias.rb
338 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes.rb
339 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/streaming.rb
340 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/visitor.rb
341 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/to_ruby.rb
342 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/emitter.rb
343 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handler.rb
344 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/tree_builder.rb
345 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/yaml_tree.rb
346 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/ruby_events.rb
347 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/json_tree.rb
348 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/depth_first.rb
349 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors.rb
350 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/parser.rb
351 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/coder.rb
352 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/core_ext.rb
353 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/stream.rb
354 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/yaml_events.rb
355 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/tree_builder.rb
356 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/stream.rb
357 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handlers/document_stream.rb
358 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb
359 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb
360 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/executable.rb
361 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb
362 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb
363 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb
364 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb
365 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb
366 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/logger.rb
367 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb
368 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb
369 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb
370 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb
371 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb
372 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb
373 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb
374 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb
375 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb
376 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb
377 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb
378 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb
379 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb
380 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb
381 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb
382 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb
383 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb
384 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb
385 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb
386 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb
387 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb
388 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb
389 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb
390 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb
391 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb
392 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb
393 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb
394 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb
395 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb
396 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb
397 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb
398 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb
399 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb
400 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb
401 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb
402 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb
403 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb
404 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb
405 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb
406 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb
407 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb
408 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb
409 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
410 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb
411 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb
412 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb
413 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb
414 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb
415 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb
416 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb
417 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb
418 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb
419 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb
420 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb
421 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb
422 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb
423 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb
424 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb
425 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb
426 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb
427 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb
428 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb
429 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb
430 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb
431 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb
432 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb
433 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb
434 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb
435 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb
436 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb
437 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb
438 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb
439 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb
440 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb
441 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb
442 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb
443 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb
444 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb
445 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb
446 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb
447 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb
448 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb
449 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb
450 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/trunk_source.rb
451 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sources_manager.rb
452 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/core_overrides.rb
453 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods.rb
454 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb
455 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/errors.rb
456 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/options/repo_update.rb
457 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/options/project_directory.rb
458 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache/list.rb
459 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache/clean.rb
460 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache.rb
461 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/env.rb
462 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/init.rb
463 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb
464 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/list.rb
465 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/podfile.rb
466 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/podfile_json.rb
467 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/repl.rb
468 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/spec.rb
469 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/update_search_index.rb
470 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc.rb
471 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib/create.rb
472 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib/lint.rb
473 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib.rb
474 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/list.rb
475 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/outdated.rb
476 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/add.rb
477 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/add_cdn.rb
478 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/lint.rb
479 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/list.rb
480 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb
481 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/push.rb
482 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/remove.rb
483 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/update.rb
484 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo.rb
485 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/setup.rb
486 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/create.rb
487 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/lint.rb
488 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/which.rb
489 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/cat.rb
490 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/edit.rb
491 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec.rb
492 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/update.rb
493 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb
494 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb
495 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/deintegrate/gem_version.rb
496 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/deintegrator.rb
497 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods_deintegrate.rb
498 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/command/deintegrate.rb
499 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods_plugin.rb
500 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_index_cache.rb
501 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_helper.rb
502 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins_helper.rb
503 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/list.rb
504 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/search.rb
505 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/create.rb
506 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/publish.rb
507 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/installed.rb
508 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins.rb
509 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/cocoapods_plugin.rb
510 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods-search/command/search.rb
511 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods-search/command.rb
512 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods_plugin.rb
513 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/add_owner.rb
514 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/delete.rb
515 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/deprecate.rb
516 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/info.rb
517 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/me.rb
518 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/push.rb
519 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/register.rb
520 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/remove_owner.rb
521 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk.rb
522 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/cocoapods_plugin.rb
523 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/pod/try_settings.rb
524 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/pod/command/try.rb
525 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/cocoapods_plugin.rb
526 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/tables.rb
527 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/normalize.rb
528 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile/dsl.rb
529 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile/target_definition.rb
530 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile.rb
531 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/build_type.rb
532 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/podfile.rb
533 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb
534 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sandbox.rb
535 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sandbox/headers_store.rb
536 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/lockfile.rb
537 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/yaml_helper.rb
538 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/enc/utf_16le.bundle
539 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/enc/utf_16be.bundle
540 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/version.rb
541 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/pre_install_hooks_context.rb
542 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/hooks_manager.rb
543 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/source_provider_hooks_context.rb
544 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer.rb
545 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/installation_options.rb
546 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer/podfile_dependency_cache.rb
547 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/dependency.rb
548 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/requirement.rb
549 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/podfile_validator.rb
550 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer/target_inspector.rb
551 /Library/Ruby/Gems/2.6.0/gems/atomos-0.1.3/lib/atomos/version.rb
552 /Library/Ruby/Gems/2.6.0/gems/atomos-0.1.3/lib/atomos.rb
553 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/securerandom.rb
554 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/case_converter.rb
555 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_attributes.rb
556 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_dictionary.rb
557 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_list.rb
558 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/constants.rb
559 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/swift_package_remote_reference.rb
560 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/swift_package_product_dependency.rb
561 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/build_settings_array_settings_by_object_version.rb
562 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_configuration.rb
563 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_file.rb
564 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_phase.rb
565 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_rule.rb
566 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/configuration_list.rb
567 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/container_item_proxy.rb
568 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/groupable_helper.rb
569 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/file_reference.rb
570 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/file_references_factory.rb
571 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/group.rb
572 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/native_target.rb
573 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/root_object.rb
574 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/target_dependency.rb
575 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/reference_proxy.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
zsh: abort pod install
Xcode 13, Swift 5, and MACOS Monterey
If you faced this issue
you should do these steps
1- Install Homebrew from here
2- Open terminal and type brew install cocoapods
3- Open your Xcode project's directory in terminal and type
sudo arch -x86_64 gem install ffi
Then
arch -x86_64 pod install
as this
after it Open you Xcode project.
Just do,
sudo arch -x86_64 gem install ffi
Then
arch -x86_64 pod install
Seems it's related to Ruby ffi, works as a gen for programmatically loading dynamically-linked native libraries. To solve the issue just run the following commands:
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
I'm trying to read a file of multiple lines with two digit numbers on each line representing a binary tree structure. I'm using dart and the standard io library. This is the code I'm using:
String contents = new File('./assets/triangle.txt').readAsStringSync();
Problem is I get the following error:
max_path_sum/assets/triangle.txt:1:1: Error: Expected a declaration, but got '75'.
75
^^
max_path_sum/assets/triangle.txt:2:1: Error: Expected a declaration, but got '95'.
95 64
^^
max_path_sum/assets/triangle.txt:2:4: Error: Expected a declaration, but got '64'.
95 64
^^
max_path_sum/assets/triangle.txt:3:1: Error: Expected a declaration, but got '17'.
17 47 82
^^
max_path_sum/assets/triangle.txt:3:4: Error: Expected a declaration, but got '47'.
17 47 82
^^
max_path_sum/assets/triangle.txt:3:7: Error: Expected a declaration, but got '82'.
17 47 82
^^
max_path_sum/assets/triangle.txt:4:1: Error: Expected a declaration, but got '18'.
18 35 87 10
^^
max_path_sum/assets/triangle.txt:4:4: Error: Expected a declaration, but got '35'.
18 35 87 10
^^
max_path_sum/assets/triangle.txt:4:7: Error: Expected a declaration, but got '87'.
18 35 87 10
^^
max_path_sum/assets/triangle.txt:4:10: Error: Expected a declaration, but got '10'.
18 35 87 10
^^
This is the file I'm trying to read:
75
95 64
17 47 82
18 35 87 10
20 04 82 47 65
19 01 23 75 03 34
88 02 77 73 07 63 67
99 65 04 28 06 16 70 92
41 41 26 56 83 40 80 70 33
41 48 72 33 47 32 37 16 94 29
53 71 44 65 25 43 91 52 97 51 14
70 11 33 28 77 73 17 78 39 68 17 57
91 71 52 38 17 14 91 43 58 50 27 29 48
63 66 04 68 89 53 67 30 73 16 69 87 40 31
04 62 98 27 23 09 70 98 73 93 38 53 60 04 23
I've tried different variations of reading the file. Asynchronously, synchronously, line by line, the whole file in one string but keep getting the same error. It obviously reads the lines but seem to expect some other form of input and is not happy with just giving me the data it reads... All examples I find on the web indicate that the code is correct and it should work. So my guess is that I might have to do something with the input file in order for it to be accepted as a valid input but it would seem unpractical since it is able to read the data just fine as it is.
I found the issue. The following formatting of the file works for the first line:
var a = "75";
95 64
17 47 82
18 35 87 10
20 04 82 47 65
19 01 23 75 03 34
88 02 77 73 07 63 67
99 65 04 28 06 16 70 92
41 41 26 56 83 40 80 70 33
41 48 72 33 47 32 37 16 94 29
53 71 44 65 25 43 91 52 97 51 14
70 11 33 28 77 73 17 78 39 68 17 57
91 71 52 38 17 14 91 43 58 50 27 29 48
63 66 04 68 89 53 67 30 73 16 69 87 40 31
04 62 98 27 23 09 70 98 73 93 38 53 60 04 23
So I guess if I make the contents of the file into a string variable it will be fine. But why is this? Isn't it possible to read an ordinary text file in dart without having to change the contents first?
Problem was that I imported the text file using import statement which is probably why dart expected it to be code.
I am trying to export summary statistics that are saved as variables in the main dataset from Stata to LaTeX using the community-contributed command esttab. Here is the code:
sysuse auto, clear
collapse (sum) price mpg, by(make)
estpost tabstat price mpg, by(make)
esttab
The estpost tabstat command generates exactly the table I want to create in LaTeX but esttab only generates an empty table.
I also posted this question on Statalist.
The following works for me:
sysuse auto, clear
collapse (sum) price mpg, by(make)
estpost tabstat price mpg, by(make)
matrix A = e(price)', e(mpg)'
esttab matrix(A), title("Summary statistics: mean") nomtitle
Summary statistics: mean
--------------------------------------
price mpg
--------------------------------------
1 4099 22
2 4749 17
3 3799 22
4 9690 17
5 6295 23
6 9735 25
7 4816 20
8 7827 15
9 5788 18
10 4453 26
11 5189 20
12 10372 16
13 4082 19
14 11385 14
15 14500 14
16 15906 21
17 3299 29
18 5705 16
19 4504 22
20 5104 22
21 3667 24
22 3955 19
23 6229 23
24 4589 35
25 5079 24
26 8129 21
27 3984 30
28 4010 18
29 5886 16
30 6342 17
31 4296 21
32 4389 28
33 4187 21
34 5799 25
35 4499 28
36 11497 12
37 13594 12
38 13466 14
39 3995 30
40 3829 22
41 5379 14
42 6165 15
43 4516 18
44 6303 14
45 3291 20
46 8814 21
47 5172 19
48 4733 19
49 4890 18
50 4181 19
51 4195 24
52 10371 16
53 12990 14
54 4647 28
55 4425 34
56 4482 25
57 6486 26
58 4060 18
59 5798 18
60 4934 18
61 5222 19
62 4723 19
63 4424 19
64 4172 24
65 3895 26
66 3798 35
67 5899 18
68 3748 31
69 5719 18
70 7140 23
71 5397 41
72 4697 25
73 6850 25
74 11995 17
Total 6165.257 21.2973
--------------------------------------
i follow the tutorial from matt on:
http://jhipster.github.io/video-tutorial/
when i do cloc . i see i have much and much more files i would expect:
$ cloc .
66717 text files.
20401 unique files.
24466 files ignored.
http://cloc.sourceforge.net v 1.60 T=128.46 s (115.7 files/s, 15523.0 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
Javascript 13322 222956 357190 1266221
HTML 676 6984 1047 44885
CSS 76 1883 932 22029
Java 262 3548 1854 15641
XML 53 3383 1395 11307
LESS 79 1388 1546 7269
C/C++ Header 18 1032 300 5109
YAML 190 221 346 3466
CoffeeScript 47 783 699 2467
make 58 417 523 1271
Bourne Shell 31 234 202 1097
Maven 1 12 34 824
Perl 2 87 170 584
DTD 1 179 177 514
SASS 5 42 25 273
C++ 4 43 26 260
IDL 6 38 0 167
Bourne Again Shell 3 28 36 140
D 6 0 0 118
Scala 1 16 7 118
JavaServer Faces 3 3 0 109
Smarty 6 17 30 91
DOS Batch 1 24 2 64
Python 1 7 7 36
XSLT 1 5 0 32
C# 2 3 1 27
ASP.Net 2 5 0 23
C 1 7 4 23
OCaml 1 5 15 6
Lisp 1 0 0 6
PowerShell 1 2 2 4
Lua 1 0 0 2
--------------------------------------------------------------------------------
SUM: 14862 243352 366570 1384183
--------------------------------------------------------------------------------
why is that?
in total it is 610 mb large!
it seems there are a lot of node modules:
$ du -h -d1
584M ./node_modules
24K ./gulp
26M ./src
64K ./.mvn
610M .
is this correct?
and what do i need to add to source control?
thanks
This is normal. Most of those files are NPM dependencies, as you mentioned.
The generated .gitignore should already be configured properly and will ignore node_modules.
We are running Jenkins ver (1.614) on SUSE Linux Enterprise Server 11 (x86_64) and am trying to diagnose a failure on one of our slave nodes.
The exception that I am seeing is the following;
My question is how to diagnose what JAR file it was trying to process upon failure?
272 slave setup done.
273 Slave successfully connected and online
274 log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
275 log4j:WARN Please initialize the log4j system properly.
276 Sep 25, 2015 12:22:07 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
277 SEVERE: Unexpected error in channel channel
278 java.lang.NoClassDefFoundError: hudson/remoting/Channel$OrderlyShutdown
279 at java.lang.Class.getDeclaredFields0(Native Method)
280 at java.lang.Class.privateGetDeclaredFields(Class.java:2308)
281 at java.lang.Class.getDeclaredField(Class.java:1897)
282 at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1639)
283 at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:69)
284 at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:467)
285 at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:455)
286 at java.security.AccessController.doPrivileged(Native Method)
287 at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:455)
288 at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:352)
289 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:589)
290 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
291 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
292 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
293 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
294 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
295 at hudson.remoting.Command.readFrom(Command.java:92)
296 at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
297 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
298 Caused by: java.lang.ClassNotFoundException: hudson.remoting.Channel$OrderlyShutdown
299 at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
300 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
301 at java.security.AccessController.doPrivileged(Native Method)
302 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
303 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
304 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
305 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
306 ... 19 more
307 Caused by: java.util.zip.ZipException: error reading zip file
308 at java.util.zip.ZipFile.read(Native Method)
309 at java.util.zip.ZipFile.access$1400(ZipFile.java:56)
310 at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:677)
311 at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:413)
312 at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
313 at java.io.DataInputStream.readFully(DataInputStream.java:195)
314 at java.util.jar.JarFile.getBytes(JarFile.java:380)
315 at java.util.jar.JarFile.getManifestFromReference(JarFile.java:178)
316 at java.util.jar.JarFile.getManifest(JarFile.java:165)
317 at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:756)
318 at java.net.URLClassLoader.defineClass(URLClassLoader.java:416)
319 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
320 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
321 ... 25 more
322
323 channel stopped
324 Exception in thread "Channel reader thread: channel" java.lang.NoClassDefFoundError: hudson/remoting/Channel$OrderlyShutdown
325 at hudson.remoting.Channel.terminate(Channel.java:831)
326 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:76)
327 Caused by: java.lang.ClassNotFoundException: hudson.remoting.Channel$OrderlyShutdown
328 at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
329 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
330 at java.security.AccessController.doPrivileged(Native Method)
331 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
332 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
333 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
334 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
335 ... 2 more
336 Caused by: java.util.zip.ZipException: error reading zip file
337 at java.util.zip.ZipFile.read(Native Method)
338 at java.util.zip.ZipFile.access$1400(ZipFile.java:56)
339 at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:677)
340 at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:413)
341 at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
342 at java.io.DataInputStream.readFully(DataInputStream.java:195)
343 at java.util.jar.JarFile.getBytes(JarFile.java:380)
344 at java.util.jar.JarFile.getManifestFromReference(JarFile.java:178)
345 at java.util.jar.JarFile.getManifest(JarFile.java:165)
346 at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:756)
347 at java.net.URLClassLoader.defineClass(URLClassLoader.java:416)
348 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
349 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
350 ... 8 more
351 Slave JVM has terminated. Exit code=0
352 ERROR: Connection terminated
353 ^[[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=^[[0mjava.io.IOException: Unexpected termination of the channel
354 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
355 Caused by: java.io.EOFException
356 at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325)
357 at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2794)
358 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)
359 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
360 at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
361 at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
362 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
363 [09/25/15 12:42:32] [SSH] Connection closed.